Context7
Up-to-date library documentation for coding agents
What it does
Context7 fetches current, version-specific documentation and code examples for libraries so a coding agent does not rely on stale training data.
Tools
Listed by starting the server ourselves on Nov 26, 2026. The grouping uses the server's own annotations.
Read-only · 2
resolve-library-idquery-docs
Install
Launch command (any stdio client)
Tested Nov 26, 2026 on Linux arm64 container, stdio test clientWe started the server with this command in a clean Linux container and confirmed it completes the MCP handshake and answers tools/list:
npx -y @upstash/context7-mcp@latest
Use the same command and arguments in any client that launches local servers. We have not yet tested it inside a specific client.
Before you adopt it
4 of 6 key facts checked- Tools and what they can changeExactly what an agent can read, write or delete
- 2 tools: 2 read-only, 0 that write or act, 0 marked destructive by the server.Checked Nov 25, 2026 · source
- Required credentials and scopesLeast-privilege setup with no first-run failure
- Started and listed its tools with no API key.Checked Nov 25, 2026 · source
- Tool-definition token costContext used on every request
- About 1,380 tokens for the tool definitions (size of the tools/list reply divided by four; an estimate, not a tokeniser count).Checked Nov 25, 2026 · source
- Package and versionThe exact package or image you will run, and who publishes it
- @upstash/context7-mcp 4.8.0 on npmChecked Nov 25, 2026 · source
- Where your data goesLocal only, or through the vendor's cloud; any telemetry
- Not yet checked
- Last releaseThe spec and upstream APIs change fast
- Not yet checked
- Resources and promptsWhat it exposes beyond tools
- 1 resources and 0 prompts listed.Checked Nov 25, 2026 · source
