#44th of 6 in MCP servers for developers
context7
Fetches current, version-specific library docs into coding agent prompts
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 62.9k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- TypeScript
Overview
Context7 looks up documentation and code examples for a named library and version, then returns them to the coding agent as context. It runs as an MCP server with two tools (resolve-library-id, query-docs) or as a ctx7 CLI plus skill. Setup is one command, npx ctx7 setup, which handles OAuth and API key generation. The hosted service at mcp.context7.com does the retrieval.
Who it is for: Developers using AI coding agents who need current library docs
Strengths
- Two modes: MCP server, or ctx7 CLI with an installed skill
- Library IDs like /vercel/next.js skip matching; version can be named in the prompt
- npx ctx7 setup configures Cursor, Claude Code or opencode
- Also ships a TypeScript SDK and Vercel AI SDK tools
Weaknesses
- API backend, parsing and crawling engines are private; repo has only the MCP server
- Relies on the hosted service at mcp.context7.com; local run is a separate guide
- Free API key recommended for higher rate limits; exact limits unknown
- Docs are community-contributed; accuracy and security are not guaranteed
What it needs
- no GPU
- Needs Node.js 18+, Context7 hosted API
Also in MCP servers for developers
See all 6| Rank | Project | Score |
|---|---|---|
| 1 | codegraphLocal code knowledge graph served to coding agents over MCP | 80 out of 100 |
| 2 | chrome-devtools-mcpMCP server that lets coding agents drive and debug a live Chrome | 64 out of 100 |
| 3 | codebase-memory-mcpMCP server that indexes codebases into a queryable knowledge graph | 62 out of 100 |
| #5 | github-mcp-serverMCP server exposing GitHub repos, issues, PRs and Actions to AI tools | 54 out of 100 |
| #6 | cli-anythingGenerates command-line wrappers so AI agents can drive desktop and backend software | 43 out of 100 |