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.
context7
- Runs:
npx -y @upstash/[email protected] - Environment variables:
CONTEXT7_API_KEY
Configuration
Add this to your project's .mcp.json:
{
"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/[email protected]"],
"env": {
"CONTEXT7_API_KEY": "<your-context7-api-key>"
}
}
}
}
