Context7 Featured

MCP server · by upstash

Knowledge & Memory npmmcpbStreamable HTTP v4.3.0

Up-to-date code docs for any prompt

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 4.3.0

npm
npx -y @upstash/context7-mcp
mcpb
https://github.com/upstash/context7/releases/download/mcpb-v4.3.0/context7.mcpb
Streamable HTTP
https://mcp.context7.com/mcp

Setup by client

Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.

claude_desktop_config.json

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

Remote (hosted) endpoint

https://mcp.context7.com/mcp

Claude Desktop: Settings → Connectors → Add custom connector, paste this URL.

Format verified against the official Claude Desktop docs ↗.

GitHub

⭐ 62,991 stars · 最近更新于 16 天前 · MIT license

These star and push figures are for the shared repository — 2 listings on this site point at the same repository.

About this server

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 pa…

Summary from the project README — github.com/upstash/context7

Distributed as npm, mcpb, Streamable HTTP, listed under Knowledge & Memory. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the Context7 MCP server do?

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 pa

How do I install Context7?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Context7 free to use?

The MCP server itself is free to install. The source is public on https://github.com/upstash/context7. Any third-party service it calls may require its own API key and account.

Which clients support Context7?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/context7.svg)](https://mcpnav.net/server/context7/)

HTML

<a href="https://mcpnav.net/server/context7/"><img src="https://mcpnav.net/badge/context7.svg" alt="Listed on MCPNav" height="20"></a>