@upstash/context7-mcp
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
The Context7 MCP Server solves a very specific pain: AI often writes code with outdated APIs, or invents methods that don't exist. Context7 pulls the latest official docs for the library you're using and feeds them to the AI before it answers.
Usage is simple — add "use context7" to your prompt, and the AI checks the latest docs before writing code. It's especially useful for fast-moving libraries (Next.js, various SDKs).
What it does for you
Feeds your AI up-to-date, accurate library docs — no more outdated APIs; it pulls the latest official docs while coding.
Capabilities
- Pull latest official docs by library
- Get version-specific API usage
Once installed, try asking your AI
Say this directly in Claude / Cursor or any client with this server connected
- ›“Set up a middleware using the latest Next.js 15 API”
- ›“Look up this library's currently recommended setup”
Why use it
Good for: developers writing code in Cursor / Claude Code who keep getting burned by outdated APIs.
It's one of the highest-TrustScore servers on this site — actively maintained and widely adopted. Full health data is shown below.
Works with these clients
- Claude Desktopnpx
- Claude Codenpx
- Cursornpx
- VS Codenpx
- Windsurfnpx
Derived from the registry manifest (package type and transport) — we have not installed it ourselves. Check the official README before relying on it.
Install / Connect
claude mcp add context7-mcp -- npx -y @upstash/context7-mcpFollow the official README; env and args vary per server.
🛠️ Maintenance weight 30% · 99 pts
📊 Adoption weight 25% · 93 pts
✅ Usability weight 20% · 55 pts
❤️ Health & community weight 25% · 83 pts
Sources: GitHub API · npm registry · updated 2026-08-19
90-day trend
⭐ stars +0%
📦 weekly downloads +0%
Frequently Asked Questions
Which libraries does Context7 support?
It covers official docs for a large set of popular open-source libraries and frameworks, continuously updated. Check a specific library's site to confirm support.
Does it cost money?
The MCP server itself is open-source and free to use.
Similar / alternative servers
ai.smithery/docfork-mcp
@latest documentation and code examples to 9000+ libraries for LLMs and AI code
io.github.uarlouski/testrail-mcp-server
Model Context Protocol (MCP) server for TestRail platform, enabling LLMs to mana
io.github.Lykhoyda/ask-ollama
Bridge Claude with local Ollama LLMs for private AI-to-AI collaboration — no API
io.github.Lykhoyda/ask-claude
Bridge Codex and other MCP clients with Anthropic Claude Code CLI for read-only
One email a week, 5 minutes to see what happened in the MCP ecosystem
New servers, breakout trends, abandonment alerts — tracked automatically, curated by hand, sent to your inbox.
One email a week · unsubscribe anytime · no data selling