Context7
Official
⚙️ Developer Tools
Up-to-date documentation for any library. Stop LLM hallucinations by fetching current, version-specific docs and code examples straight from the source. Works with React, Next.js, Node.js, Python libs, and thousands more.
Tags
Tools (2)
Client configuration
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp@4.0.5"
],
"env": {
"CONTEXT7_API_KEY": "your-context7-api-key-here"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp@4.0.5"
],
"env": {
"CONTEXT7_API_KEY": "your-context7-api-key-here"
},
"type": "stdio"
}
}
}Replace the placeholders before connecting. Authorize in your client when prompted.
The Cursor JSON also works in Claude Desktop's local MCP configuration. Install the required runtime and local software first.