Context7 MCP Server
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”
Install / Connect
claude mcp add context7-mcp -- npx -y @upstash/context7-mcpFollow the official README; env and args vary per server.
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.
Similar / alternative servers
@github/github-mcp-server
GitHub's official MCP Server
figma-developer-mcp
MCP server to provide Figma layout information to AI coding agents like Cursor
sentry-mcp
An MCP server for interacting with Sentry via LLMs.
terraform-mcp-server
The Terraform MCP Server provides seamless integration with Terraform ecosystem,
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.