Official server by Upstash
Context7 MCP server
Pulls current, version-specific library docs and code examples into the prompt.
Install
Pick your agent and copy one line. Remote servers ask you to sign in on first use.
claude mcp add --transport http context7 https://mcp.context7.com/mcp
codex mcp add context7 --url https://mcp.context7.com/mcp
gemini mcp add --transport http context7 https://mcp.context7.com/mcp
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
}code --add-mcp '{"name":"context7","type":"http","url":"https://mcp.context7.com/mcp"}'What it can do
From Upstash's own MCP documentation.
Sign in
Optional API key sent as Authorization: Bearer <key>. Free keys come from the context7.com dashboard and give higher rate limits.
Tools (2)
resolve-library-idquery-docs
Options
- Local npm package: @upstash/context7-mcp.
- ctx7 CLI offers ctx7 library and ctx7 docs commands without MCP. Needs Node.js 18 or newer.
- Use slash syntax such as /supabase/supabase to skip library matching.
Good to know
- Library docs are community contributed, so accuracy is not guaranteed.
- The repo holds only the MCP server. The API backend, parser and crawler are private.
- Exact rate limits without a key are not published in the README.
Details
- Registry name
- io.github.upstash/context7
- Latest version
- 4.5.1 (updated 2026-11-06)
- Endpoints
https://mcp.context7.com/mcp (streamable-http)
- Packages
@upstash/context7-mcp (npm)
- Links
- Upstash docsSource
More in Documentation
Reviewed Oct 21, 2026. Official means published under Upstash's namespace in the MCP registry. It is not a security audit.
Built an MCP server? Get it listed everywhere →
Shipping an Android app? Google Play needs 12 testers for 14 days first. Get them with Tester Exchange →