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-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
