GitHub
github.com › upstash › context7
GitHub - upstash/context7: Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
Starred by 40K users
Forked by 2K users
Languages TypeScript 76.3% | JavaScript 22.7% | Dockerfile 1.0%
Context7
context7.com › docs › dashboard › api-keys
API Keys - Context7 MCP
Keys are shown only once for security · Format: ctx7sk-********************** Use in your requests or add to your MCP configuration: Copy · Ask AI · curl "https://context7.com/api/v2/docs/code/vercel/next.js" \ -H "Authorization: Bearer YOUR_API_KEY" Store your API key securely.
Videos
00:58
How to Set Up the Context7 MCP Server in Codex CLI - YouTube
04:21
Context 7 MCP: Get Documentation Instantly + VS Code Setup - YouTube
12:41
Context7 MCP Tutorial | Upstash AI Agent for Accurate Docs & Code ...
06:43
Context7 MCP Tutorial: Get Instant RAG for Your AI Coders - YouTube
Apidog
apidog.com › blog › context7-mcp-server
How to Install and Use Context7 MCP Server
July 17, 2025 - Why Traditional Code Suggestions Often FailWhat is Context7?Key BenefitsHow Context7 MCP Server WorksHow to Install Context7 MCP ServerPrerequisitesInstallation via Smithery CLI (Recommended for Claude Users)Manual Installation by ClientAlternative RuntimesUsing Context7 in Your WorkflowExample Prompts:Advanced Featuresresolve-library-idget-library-docsLocal Development and Customization for Context7 MCP Server1. Clone the Repository2. Install Dependencies3. Build the Project4. Update Your MCP Config5. Test with MCP InspectorTroubleshooting Common IssuesMCP Client ErrorsStill Stuck?Final Thoughts · Apidog: A Real Design-first API Development Platform
Smithery
smithery.ai › server › @upstash › context7-mcp
Context7 | MCP Server | Smithery
Fetches up-to-date documentation for a library. You must call 'resolve-library-id' first to obtain the exact Context7-compatible library ID required to use this tool, UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/project/version' in their query.
GitHub
github.com › NimbleBrainInc › mcp-context7
GitHub - NimbleBrainInc/mcp-context7: Context7 MCP Server
{ "mcpServers": { "context7": { "command": "fastmcp", "args": ["run", "server.py"], "env": { "CONTEXT7_API_KEY": "your_api_key_here" } } } }
Author NimbleBrainInc
GitHub
github.com › upstash › context7 › issues › 716
“Unauthorized. Please check your API key.” regardless of API key validity · Issue #716 · upstash/context7
September 25, 2025 - Configure a newly generated Context7 API key for the code block. Connect the MCP client (Cursor/Claude Code) to the Context7 server.
Published Sep 25, 2025
Postman
postman.com › getmcp › public-mcp-servers › collection › 6864142d08c274d898ef9b91
Context7 | Public MCP Servers
We cannot provide a description for this page right now
MCP Curator
mcpcurator.com › mcp › context7-mcp
Context7 MCP - Utilities MCP Server | MCP Curator
{ "mcpServers": { "context7-mcp": { "command": "node", "args": ["path/to/context7-mcp/dist/index.js"], "env": { "API_KEY": "your-api-key-here", "DEBUG": "false" } } } } Set these environment variables based on your needs: • API_KEY - Your API key (if required) • DEBUG_MODE - Enable debug logging ·
Reddit
reddit.com › r/mcp › how to keep secrets / api keys outside of mcp config.json - .env file?
r/mcp on Reddit: How to keep secrets / API keys outside of MCP config.json - .env file?
June 24, 2025 -
I want to keep my mcp config.json in version control - so I don't want to keep API keys in there.
Is there a way that I can use a .env file or similar to keep the secrets out of the config?
Currently I'm using MCP SuperAssistant, and want to move to VSCode/Copilot, but I hope this issue is maybe more generic than the choice of tool.
Top answer 1 of 7
2
This format worked without exposing it. Sucks that there is no documentation. { "mcpServers": { "github.com/upstash/context7-mcp": { "command": "bun", "args": [ "x", "@upstash/context7-mcp" ], "env": { "API_KEY": "${CONTEXT7_API_KEY}" }, "disabled": false, "autoApprove": [ "resolve-library-id", "get-library-docs" ] } } }
2 of 7
1
https://support.anthropic.com/en/articles/9767949-api-key-best-practices-keeping-your-keys-safe-and-secure