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 Artificial Intelligence, Context, Documentation, LLM, and MCP.

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

33.5/100 thin ▬ flat Agent 20/100 agent aware open core · MIT Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
7 APIs
Artificial IntelligenceContextDocumentationLLMMCP

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
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 80 points between them, because the conditional facet above carries the other 20. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 80% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
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 github.com/api-evangelist/context7: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

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 7

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

API Collection

OPEN COLLECTION

Context7 REST Add API

OPEN COLLECTION

Context7 REST API

OPEN COLLECTION

Scroll for all 7

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 4

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 2

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
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
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-09-03'
  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-05-19'
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: 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

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"

Discovery needs no key. Ratings and market analysis are Pro.

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.