Context7 Up-to-Date Library Docs MCP Server MCP Configuration
Eliminate hallucinated SDK APIs by injecting version-accurate documentation and code examples for Next.js, Cloudflare Workers, Stripe, React, and 15,000+ libraries.
Select Blueprint
Protocol Latency Profile
stdio (Local Node/NPX)1.4ms IPC
SSE (HTTP EventStream)28ms Edge
Streamable HTTP (/mcp)19ms Stateless
Transport:
stdio · 55ms Upstash edge vector + markdown retrieval
Context7 Up-to-Date Library Docs MCP Server
@upstash/context7-mcp
Compiling MCP client configuration…
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp@latest"
],
"env": {
"CONTEXT7_API_KEY": "ctx7sk_optional_higher_rate_limit_key"
}
}
}
}
Inspect Sandbox & Env Secret Policy
All synthesized MCP definitions isolate secret keys via interactive prompt inputs and wrap Win11 child processes safely.
"inputs": [{ "type": "promptString", "id": "api_key", "password": true }]
Environment Variables for Context7 Up-to-Date Library Docs MCP Server
| Variable Key | Requirement | Example Format | Guidance |
|---|---|---|---|
CONTEXT7_API_KEY |
Optional | ctx7sk_optional_higher_rate_limit_key |
Optional Context7 API key for elevated team rate limits (works out of the box without a key). |
Agency & Team Registry Lifetime Buyout
$49 one-time payment
- Unlimited seats & shared .cursor/mcp.json lockfiles
- Windows 11 cmd /c wrapper & secret-leak CI validation
- Private internal MCP server blueprint hosting
Recurring & Sponsor Tiers
Team Registry Pro
$19/mo · 25 developer seats
Weekly Ecosystem Sponsor
$99/wk · Header & llms.txt slot