Context7
Up-to-date library documentation and code examples for LLMs, straight from the source.
#8 by GitHub starsDocumentation Codebase understandingstdio transportNo authFreeChecked 2026-11-01
What it connects
Fetches current docs and working code examples for the libraries your agent is using, so answers stop coming from stale training data. Widely used inside coding agents.
Capabilities
- Fetch library documentation by name and version
- Return code examples in the agent's context
Compatibility
| Agent | Status |
|---|---|
| Claude Code | Reported (not hands-on tested) |
| Cursor | Reported (not hands-on tested) |
Configuration
Claude Code
claude mcp add context7 -- npx -y @upstash/context7-mcp{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Requirements
- None listed.
Source: https://github.com/upstash/context7 · Publisher: Upstash · ★ 64.1k on the source repo
Setup instructions and compatibility are compiled from publisher docs and community reports, not hands-on testing, unless a step is marked Tested. Check the source before relying on a setup.