Logo of Context7: MCP server and CLI that feed up-to-date, version-specific library docs and code examples to coding agents

Context7

MCP server and CLI that feed up-to-date, version-specific library docs and code examples to coding agents

Visit context7.com

Context7 feeds up-to-date, version-specific documentation and code examples into AI coding agents. Instead of relying on stale training data, agents such as Claude Code, Codex and Cursor pull the current docs for the libraries in use, which cuts outdated answers and invented APIs.

Key features:

  • Pull docs and snippets for more than 150,000 indexed libraries into the agent's context.
  • Keep libraries synced with their sources, showing update recency, snippet counts, benchmark and trust scores.
  • Query through an MCP server, the Search API or the Context API.
  • Set up in one command with npx ctx7 setup.
  • Parse private repositories and share them with a team.

Context7 works with Claude, Codex, Cursor and other MCP clients, and the MCP server is on GitHub. The free plan covers public repositories and 1,000 API calls a month; Pro is $10 per seat a month with 2,000 calls per seat, then $5 per 1,000, and Enterprise adds SOC 2, SSO and self-hosting.

Press the keys to navigate to the next or previous product.