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 7 API contracts indexed on the APIs.io network, including Add API, Context API, Libs API, and 4 more. Tagged areas include Artificial Intelligence, Context, Documentation, LLM, and MCP.

The Context7 catalog on APIs.io includes 1 Spectral governance ruleset.

Context7’s developer surface includes engineering blog, authentication, documentation, pricing, and 15 more developer resources.

33.2/100 thin ▬ flat Agent 31/100 agent ready Front door AI 4/6 moderate open core · MIT Full breakdown ↓
scored 2026-11-06 · rubric v0.27.0 · Show this score on your site →
AccessFreemiumSelf serve⚡ Free to try
1 published contract 1 MCP Servers
Artificial IntelligenceContextDocumentationLLMMCP

What this lets a business do 1

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

AI Model Services
AE-110
AddAdd LibraryContextSearch
GET /v2/context

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-06 · rubric v0.27.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Open Source Surface applies to this provider. This product is open source and we read its repository directly, so Open Source Surface carries 10 points of the composite. It is scored from what the repository actually publishes — a security policy, a contribution guide, a release history, a code of conduct — read live from the provider rather than inferred from our own catalog pointers. This facet adds; nothing was taken away to make room for it. An open-source project is not excused from the commercial facets, because exemption would strip it of the points it does earn. If we have the wrong repository, or this product is not open source, say so on your provider repo and we will drop the facet rather than have you publish against it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 65 points between them, because both conditional facets apply and carry 35 points together. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 65% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for Context7 It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/context7/"><img src="https://apis.io/badge/context7/card.svg" alt="Context7 on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • Idempotency +9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented)
  • Stable Error Semantics +8 pts — OpenAPI $refs a shared error schema across 4xx/5xx responses (verified), else common[].type includes ErrorCatalog / ErrorCodes / DeclineCodes
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0
  • Request/Response Examples +7 pts — share of operations carrying request/response examples; else an Examples / Code Samples link
  • Registration Without a Human +6 pts — a `registration_endpoint` in the served RFC 8414 / OIDC discovery document
  • Delegated User Identity +6 pts — a served discovery document listing authorization_code in grant_types_supported (served), else an oauth2 authorizationCode flow or openIdConnect declared in an OpenAPI (documented)
8 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/context7/apis.yml: open an issue on github.com/api-evangelist/context7 to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Markets this provider is in provisional

The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.

MarketPositionDepthRegistered MCP serverDeclares compatibility
Raycast Store Extensions (first-party publishers + community-wrapped products) covered 9.6 (thin) 1 -

Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.

Standards implemented 2

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

measured — observed by APIs.io (verified)
measured — observed by APIs.io (published)

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 6

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

Context7 REST Add API

OPEN COLLECTION

Context7 REST API

OPEN COLLECTION

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

Context7 MCP Server

Remote MCP server at mcp.context7.com over HTTP; 2 tools listed.

MCP SERVER

Context7 API pricing

Not yet checked against Context7's own pricing page. Compiled by API Evangelist on 2026-05-04; confirm before you rely on a figure. A free plan or tier is listed.

PlanPrice
Free freemium Free
Professional paid Free
Enterprise enterprise —

Plan details, limits and sources →

Rate limits

Compiled by API Evangelist, not yet checked against Context7's documentation. All 5 limits →

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

Service Levels 1

Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.

FinOps 1

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

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Context7 API Rules

57 rules · 54 errors 2 warnings 1 info

SPECTRAL

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

no policy recorded

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 4

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 4

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 2

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
deliveryModel:
  model: open-core
  license: MIT
  open_source: true
  commercial: true
  callable_host: true
  label: Open core · an OSS project plus a commercial hosted product
  confidence: high
  source:
  - license
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  gated: none
  gated_source:
  - onboarding
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-11-06'
  method: derived
position: Consuming
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/context7.png
tags:
- Artificial Intelligence
- Context
- Documentation
- LLM
- MCP
tags_raw:
- AI
- Context
- Documentation
- LLM
- MCP
created: '2026-03-16'
modified: '2026-10-06'
specificationVersion: '0.23'
apis:
- aid: context7:mcp-server
  name: Context7 MCP Server
  tags:
  - Artificial Intelligence
  - Context
  - LLM
  - MCP
  tags_raw:
  - 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: []
  tags_raw:
  - 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: CapabilityMap
  url: capabilities/context7-capability-edges.yml
  name: Context7 Business Capability Map
- type: Plans
  url: plans/context7-plans-pricing.yml
- type: RateLimits
  url: rate-limits/context7-rate-limits.yml
- type: FinOps
  url: finops/context7-finops.yml
- url: https://context7.com/blog
  type: Blog
- type: IssueTracker
  url: https://github.com/upstash/context7/issues
- type: Releases
  url: https://github.com/upstash/context7/releases
- type: SecurityPolicy
  url: https://github.com/upstash/context7/blob/master/SECURITY.md
- type: License
  name: MIT
  url: https://github.com/upstash/context7/blob/master/LICENSE
- 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

Context7 API — frequently asked questions

Does Context7 have an API?

Yes. APIs.io lists 7 APIs from Context7, including Context7 MCP Server, Context7 CLI and Context7 Add API, and 4 more.

Is there an OpenAPI specification for the Context7 API?

Yes. APIs.io indexes 5 OpenAPI specifications for Context7, each linked for download from this page.

How do I authenticate with the Context7 API?

Context7 uses bearer-token authentication (http · 1 scheme). The details are profiled on APIs.io as Context7 Authentication.

How much does the Context7 API cost?

APIs.io lists 3 pricing plans for Context7, with each plan's price, limits and inclusions under Pricing on this page.

Does Context7 have an MCP server?

Yes. APIs.io lists 1 MCP server for Context7: Remote MCP server at mcp.context7.com over HTTP; 2 tools listed.

Is the Context7 API ready for AI agents?

Context7 has a Kin Score of 33.2 out of 100 (thin) and an Agent Readiness score of 31.0 (agent-ready), scored by API Evangelist on 2026-11-06.

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/context7"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/context7/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/context7/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.