Context7 MCP server
online · 100% uptimeUp-to-date docs for AI agents
not scanned yet
63k stars450k downloads/wk
Reviews
Write oneNobody has reviewed Context7 yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Context7 tools
Tool list not cached yet. `describe` through the gateway fetches it live.
How Context7 compares
Against every graded Productivity MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 90/100
- higher than 83% of 1,299 Productivity servers
- Uptime
- 100%
- of our recent checks; the typical remote Productivity server answers 100%
- Response time
- 291 ms
- faster than 49% of 655 Productivity servers
- GitHub stars
- 62,629
- more than 100% of 854 Productivity servers
- Downloads a week
- 449,599
- more than 100% of 427 Productivity servers with a package
Release history: 6 versions in the registry since 2026-09-14, latest 2026-11-03, typically one every 4 days.
Install Context7 in Claude Code, Cursor or VS Code
claude mcp add --transport http context7 https://mcp.context7.com/mcp
What the publisher says
From the Context7 repository's README, as published. We do not edit it. Read it on GitHub
Context7 Platform - Up-to-date Code Docs For Any Prompt
-purple>)
❌ Without Context7
LLMs rely on outdated or generic information about the libraries you use. You get:
- ❌ Code examples are outdated and based on year-old training data
- ❌ Hallucinated APIs that don't even exist
- ❌ Generic answers for old package versions
✅ With Context7
Context7 pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.
Create a Next.js middleware that checks for a valid JWT in cookies
and redirects unauthenticated users to `/login`. use context7Configure a Cloudflare Worker script to cache
JSON API responses for five minutes. use context7Show me the Supabase auth API for email/password sign-up.Context7 fetches up-to-date code examples and documentation right into your LLM's context. No tab-switching, no hallucinated APIs that don't exist, no outdated code generation.
Works in two modes:
- CLI + Skills — installs a skill that guides your agent to fetch docs using ctx7 CLI commands (no MCP required)
- MCP — registers a Context7 MCP server so your agent can call documentation tools natively
Installation
[!NOTE]
API Key Recommended: Get a free API key at context7.com/dashboard for higher rate limits.
Set up Context7 for your coding agents with a single command. The ctx7 CLI requires Node.js 18 or newer.
npx ctx7 setupAuthenticates via OAuth, generates an API key, and installs the appropriate skill. You can choose between CLI + Skills or MCP mode. Use --cursor, --claude, or --opencode to target a specific agent.
To remove the generated setup later, run npx ctx7 remove. If you globally installed the CLI with npm install -g ctx7, remove that package separately with npm uninstall -g ctx7.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Context7: common questions
- Is Context7 MCP server safe?
- Yes, by our scan: it is graded A (90/100). Read the Context7 safety report
- How do I install Context7?
- It runs remotely at mcp.context7.com. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does Context7 need an API key?
- Yes. The registry entry asks for
CONTEXT7_API_KEY,Authorization. - Is Context7 maintained?
- The last commit was 32 days ago (2026-10-03). The latest release is v4.5.0.
- Is Context7 up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- What can I use instead of Context7?
- Servers from other publishers that do the same job: Docfork MCP server, Svelte MCP server and SvGrid MCP server.
- How does Context7 compare with other Productivity MCP servers?
- safety score 90/100 (higher than 83% of 1,299 Productivity servers); uptime 100% (of our recent checks; the typical remote Productivity server answers 100%); response time 291 ms (faster than 49% of 655 Productivity servers). Full comparison.
Alternatives to Context7
Same job from other publishers: the closest match first, then the best rated.
- DocforkUp-to-date Docs for AI Agents.not reviewedGrowingB
- Svelte MCPThe official Svelte MCP server providing docs and autofixing tools for Svelte developmentnot reviewedEstablishedA
SvGridChecks AI-written SvGrid code against the real API, plus version-pinned Svelte 5 grid docs.not reviewedEstablishedA- Coolify46 optimized tools for managing Coolify infrastructure, diagnostics, and docs searchnot reviewedEstablishedB
- Agent-Native ContentOpen-source Obsidian for MDX - edit local docs with agent assistancenot reviewedEstablishedA