Context7 website screenshot

Context7

Context7 is an Upstash service providing up-to-date, version-specific documentation and code examples for libraries and frameworks, exposed as both a REST API and a Model Context Protocol (MCP) server so AI coding assistants can fetch authoritative reference material at prompt time.

Context7 publishes 5 APIs on the APIs.io network, including Add API, Context API, Libs API, and 2 more. Tagged areas include AI, Context, Documentation, LLM, and MCP.

Context7’s developer surface includes authentication, documentation, pricing, and 7 more developer resources.

37.7/100 thin ▬ flat Agent 31/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
7 APIs
AIContextDocumentationLLMMCP

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 37.7/100 · thin
Contract Quality 12.5 / 25
Developer Ergonomics 3.9 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 4.8 / 13
Governance 0.0 / 12
Discoverability 6.5 / 10
Agent readiness — 31/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/context7: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 7

Individual APIs this provider publishes, each with its own machine-readable definition.

Context7 MCP Server

The Context7 MCP Server implements the Model Context Protocol so AI coding assistants such as Cursor, Claude, and Windsurf can call Context7 tools directly from a developer's ed...

Context7 CLI

The Context7 CLI (ctx7) is a command-line tool for querying the Context7 index from the terminal. It provides ctx7 library for searching the catalog by library name and ctx7 doc...

Context7 Add API

The Add API from Context7 — 6 operation(s) for add.

Context7 Context API

The Context API from Context7 — 1 operation(s) for context.

Context7 Libs API

The Libs API from Context7 — 1 operation(s) for libs.

Context7 Policies API

The Policies API from Context7 — 1 operation(s) for policies.

Context7 Refresh API

The Refresh API from Context7 — 1 operation(s) for refresh.

Scroll for all 7

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Context7 REST API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Context7 Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Context7 Authentication

http · 1 scheme

SECURITY

Context7 Domain Security

TLSv1.3 · HSTS

SECURITY

Context7 Vulnerability Disclosure

disclosure policy published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Context7 Agentic Access

11 operations · 8 acting

11 operations · 8 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 3

Authentication, authorization, and security posture

Commercial 1

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: context7
url: https://raw.githubusercontent.com/api-evangelist/context7/refs/heads/main/apis.yml
name: Context7
description: Context7 is an Upstash service providing up-to-date, version-specific documentation and code examples for libraries
  and frameworks, exposed as both a REST API and a Model Context Protocol (MCP) server so AI coding assistants can fetch authoritative
  reference material at prompt time.
kind: contract
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
position: Consuming
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/context7.png
tags:
- AI
- Context
- Documentation
- LLM
- MCP
created: '2026-03-16'
modified: '2026-05-19'
specificationVersion: '0.19'
apis:
- aid: context7:mcp-server
  name: Context7 MCP Server
  tags:
  - AI
  - Context
  - LLM
  - MCP
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  baseURL: https://mcp.context7.com/mcp
  humanURL: https://github.com/upstash/context7
  properties:
  - url: https://github.com/upstash/context7
    type: Documentation
  - url: https://github.com/upstash/context7
    type: GitHubRepository
  description: The Context7 MCP Server implements the Model Context Protocol so AI coding assistants such as Cursor, Claude,
    and Windsurf can call Context7 tools directly from a developer's editor. It exposes resolve-library-id (mapping a library
    name to a Context7-compatible identifier) and query-docs (returning documentation snippets for a given library and query)
    and is hosted at https://mcp.context7.com/mcp with API key authentication.
- aid: context7:cli
  name: Context7 CLI
  tags:
  - CLI
  - Documentation
  - Tooling
  image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
  humanURL: https://github.com/upstash/context7
  properties:
  - url: https://github.com/upstash/context7
    type: Documentation
  - url: https://github.com/upstash/context7
    type: GitHubRepository
  description: The Context7 CLI (ctx7) is a command-line tool for querying the Context7 index from the terminal. It provides
    ctx7 library for searching the catalog by library name and ctx7 docs for retrieving documentation using a Context7-compatible
    library ID, useful for scripting and local developer workflows.
- aid: context7:context7-add-api
  name: Context7 Add API
  description: The Add API from Context7 — 6 operation(s) for add.
  humanURL: https://context7.com/docs/api-guide
  baseURL: https://context7.com/api
  tags:
  - Add
  properties:
  - type: OpenAPI
    url: openapi/context7-add-api-openapi.yml
  - type: Documentation
    url: https://context7.com/docs/api-guide
  - type: LlmsText
    url: https://context7.com/docs/llms.txt
- aid: context7:context7-context-api
  name: Context7 Context API
  description: The Context API from Context7 — 1 operation(s) for context.
  humanURL: https://context7.com/docs/api-guide
  baseURL: https://context7.com/api
  tags:
  - Context
  properties:
  - type: OpenAPI
    url: openapi/context7-context-api-openapi.yml
  - type: Documentation
    url: https://context7.com/docs/api-guide
  - type: LlmsText
    url: https://context7.com/docs/llms.txt
- aid: context7:context7-libs-api
  name: Context7 Libs API
  description: The Libs API from Context7 — 1 operation(s) for libs.
  humanURL: https://context7.com/docs/api-guide
  baseURL: https://context7.com/api
  tags:
  - Libs
  properties:
  - type: OpenAPI
    url: openapi/context7-libs-api-openapi.yml
  - type: Documentation
    url: https://context7.com/docs/api-guide
  - type: LlmsText
    url: https://context7.com/docs/llms.txt
- aid: context7:context7-policies-api
  name: Context7 Policies API
  description: The Policies API from Context7 — 1 operation(s) for policies.
  humanURL: https://context7.com/docs/api-guide
  baseURL: https://context7.com/api
  tags:
  - Policies
  properties:
  - type: OpenAPI
    url: openapi/context7-policies-api-openapi.yml
  - type: Documentation
    url: https://context7.com/docs/api-guide
  - type: LlmsText
    url: https://context7.com/docs/llms.txt
- aid: context7:context7-refresh-api
  name: Context7 Refresh API
  description: The Refresh API from Context7 — 1 operation(s) for refresh.
  humanURL: https://context7.com/docs/api-guide
  baseURL: https://context7.com/api
  tags:
  - Refresh
  properties:
  - type: OpenAPI
    url: openapi/context7-refresh-api-openapi.yml
  - type: Documentation
    url: https://context7.com/docs/api-guide
  - type: LlmsText
    url: https://context7.com/docs/llms.txt
common:
- type: AgenticAccess
  url: agentic-access/context7-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/context7-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/context7-domain-security.yml
- type: Authentication
  url: authentication/context7-authentication.yml
- type: Website
  url: https://context7.com/
- type: Documentation
  url: https://context7.com/docs
- type: Dashboard
  url: https://context7.com/dashboard
- type: GitHubOrganization
  url: https://github.com/upstash
- type: GitHubRepository
  url: https://github.com/upstash/context7
- type: Pricing
  url: https://context7.com/pricing
- type: Integrations
  url: https://context7.com/integrations
integrations:
- name: Context7
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com