context7
Context7 pulls version-specific library documentation and code examples into the prompt. Needs an API key in the environment.
- Kind
- MCP server
- Works with
- Claude Code
- Source
- Claude Code Templates @ 72e5f237f64d
- Path
- cli-tool/components/mcps/devtools/context7.json
- License
- MIT
- Jobs
- Documentation, Context management
InstallAdd it as an MCP server.
{
"mcpServers": {
"context7": {
"description": "Context7 by Upstash pulls up-to-date, version-specific documentation and code examples straight from the source and injects them into your prompt. Add 'use context7' to any prompt to activate.",
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"],
"env": {
"CONTEXT7_API_KEY": "<your-context7-api-key>"
}
}
}
}