Context7
CommunityMCP server by upstash · updated · ★ 63k · 483k downloads a week
Up-to-date docs for AI agents Context7 is a community project by upstash, not verified by a company domain.
Last commit in the past day
MIT: permissive, fine for commercial use
Published package or server URL, 63,321 stars, original repository
Not checked yet. What we check
Install Context7
Built from the published package, never by AIclaude mcp add context7 -- npx -y @upstash/context7-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add context7 -- npx -y @upstash/context7-mcp{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add context7 npx -y @upstash/context7-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the context7 block.
Alternatives to Context7
All alternatives →Start Claude Code and Codex agents the person can watch, wait for them and read their answers.
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Give your AI agents trusted access to the full Postman platform.
Agent-Native design tool - create and edit visual designs with agent assistance
Context7: common questions
How do I install Context7?
In Claude Code run claude mcp add context7 -- npx -y @upstash/context7-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Context7 the official server?
Context7 is a community project by upstash, not verified by a company domain.
Is Context7 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Context7 safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality B. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Context7?
Similar MCP servers: Harness, MCP Registry Server, ref-tools-ref-tools-mcp, Microsoft Learn MCP.
Does Context7 work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
