mcps / context7
MCPExplorer Verified

Context7 MCP server

Up-to-date library docs, on demand.

Docsby UpstashFree

01What it is

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.


02Highlights
Current docs
Fetch real, version-matched docs and examples for the library you're using.
Fewer hallucinations
Ground code generation in the actual API, not a guess from months ago.

03Add it to your agent

Local MCP server — runs on your machine via the command below.

claude mcp add context7 -- npx -y @upstash/context7-mcp
{ "mcpServers": { "context7": { "command": "npx", "args": ["-y","@upstash/context7-mcp"] } } }

07FAQ
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.


08Similar MCPs

Other MCP servers worth a look in Docs.

Notion
Docs
Your team knowledge layer for agents.
DeepWiki
Docs
Ask questions about any public GitHub repo.
ChatSEO
SEO & content
An AI SEO agent inside your MCP client.
Apex
LinkedIn & outbound
Governed LinkedIn hands for your AI agent.

09Badge

Context7 is featured on MCPExplorer. Add this badge to Context7’s site or README — it links back to this page.

Context7 MCP — as seen on mcpexplorer.com

HTML — for your website

<a href="https://mcpexplorer.com/mcps/context7" target="_blank" rel="noopener"><img src="https://mcpexplorer.com/badge/context7.svg" alt="Context7 MCP — as seen on mcpexplorer.com" height="20" /></a>

Markdown — for a README

[![Context7 MCP — as seen on mcpexplorer.com](https://mcpexplorer.com/badge/context7.svg)](https://mcpexplorer.com/mcps/context7)

Get started

Set up Context7 and put it to work — Free. Or see its full verified profile.