Context7 MCP server
Up-to-date library docs, on demand.
Context7 pulls version-specific, up-to-date documentation and code examples for thousands of libraries straight into the agent's context — so it stops hallucinating APIs from stale training data.
Who it’s for: Developers tired of agents inventing outdated or non-existent APIs.
Local MCP server — runs on your machine via the command below.
What is Context7 MCP?
Context7 pulls version-specific, up-to-date documentation and code examples for thousands of libraries straight into the agent's context — so it stops hallucinating APIs from stale training data.
Who is Context7 for?
Developers tired of agents inventing outdated or non-existent APIs.
How do I connect Context7 to my agent?
Context7 runs locally over stdio. Add it to your MCP client config: claude mcp add context7 -- npx -y @upstash/context7-mcp.
How much does Context7 cost?
Free.
Is Context7 verified on MCPExplorer?
Yes — Context7 is hand-checked and featured on MCPExplorer. We pull its real tool surface, required scopes, and risk labels from the live index so you can see exactly what it does before connecting.
Other MCP servers worth a look in Docs.
Context7 is featured on MCPExplorer. Add this badge to Context7’s site or README — it links back to this page.
HTML — for your website
Markdown — for a README
Set up Context7 and put it to work — Free. Or see its full verified profile.