Local + RemoteFree server, account needed

Context7 MCP server

upstash/context7

Up-to-date code documentation for LLMs and AI code editors.

63,997 GitHub stars3.2k forks

Install Context7 in Claude Code

Remote URL

Claude Code
claude mcp add --transport http context7 https://mcp.context7.com/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp"
    }
  }
}

npm

Claude Code
claude mcp add context7 -- npx -y @upstash/context7-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}

MCP Bundle (.mcpb)

Claude Code
curl -LO https://github.com/upstash/context7/releases/download/mcpb-v4.4.4/context7.mcpb
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
Download context7.mcpb and double-click it to install in Claude Desktop.

MCP Bundles install in one click in Claude Desktop. Download the file, then open it.

Frequently asked questions

What does the Context7 MCP server do?

Up-to-date code documentation for LLMs and AI code editors.

Is the Context7 MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Context7 run locally or remotely?

Local + Remote. Can run locally or be used as a hosted remote server.

How do I add Context7 to Claude Code?

Run: claude mcp add --transport http context7 https://mcp.context7.com/mcp

More knowledge, memory & rag MCP servers

View all