upstash/context7
Pull the latest docs by library name and version and drop them straight into the context, so the model avoids outdated API usage.
Real-machine probe ok
tools 2
≈ tokens 1.6k schema 5KB · 单工具 778
warm start 6568ms first run includes download
Real tool names (2)
resolve-library-idquery-docs
Probed 2026-12-06 · spawn → initialize → tools/list → bytes / 3.6
What it solves
Model training data stops at a certain point in time, so when writing code for newer library versions it often calls functions that no longer exist.
- Fetch docs by version
- Automatically inject into context
- Supports mainstream libraries
Works with
- cursor
- claude-desktop
- vscode
- cli
Install
npx -y @upstash/context7-mcp Copy-ready config
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}
}
} Security flags
- Needs API key: No
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-05(1d) |
|---|---|
| Stars | 38,000 |
| Open issues | 140 |
| License | MIT |
| Archived | No |
| Data fetched | 2026-12-05 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
Up-to-date code documentation for LLMs and AI code editors, injected straight into the prompt.