Context7Context7

FAQ

Context7 MCP FAQ

Install with claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp. Restart, then claude mcp list. Client JSON is on mcpcontext7.com. Endpoint: https://mcp.context7.com/mcp.

Short answers for the questions that come up while setting this up. The long guide is on the home page.

claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp
Get API key

The MCP endpoint

Do not download a zip. The install is a remote HTTP add. Endpoint: https://mcp.context7.com/mcp. Command: claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp. Guides: mcpcontext7.com.

Questions

What is Context7 MCP Server?

Context7 MCP is a documentation server for AI coding tools. It pulls current library docs into Claude Code, Cursor, VS Code, Claude Desktop, and Windsurf so the model is not stuck on training-cutoff APIs. To add it in Claude Code, run claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp

How do I install the Context7 MCP server in Claude Code?

Run claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp. Restart Claude Code. Check with claude mcp list. You want context7 in that list. Same steps: mcpcontext7.com/install

How do I install Context7 MCP in Cursor, VS Code, or Windsurf?

Cursor and Windsurf take mcpServers.context7 with url https://mcp.context7.com/mcp. VS Code is different: the top-level key is servers, not mcpServers, and it also wants type http, in .vscode/mcp.json. Claude Desktop cannot take a remote URL from its config file and uses a custom connector instead. JSON for each client is on mcpcontext7.com.

What is the Context7 MCP JSON config for Claude Desktop?

There is no remote JSON entry for Claude Desktop. claude_desktop_config.json runs local stdio servers and takes command and args, not a type and url pair. Add the remote server under Settings, Connectors, Add custom connector with https://mcp.context7.com/mcp, or bridge it with mcp-remote. Walkthrough: mcpcontext7.com/claude

What is the Context7 MCP remote server URL?

https://mcp.context7.com/mcp

How do I use Context7 after it is installed?

Once claude mcp list shows context7, add use context7 to a prompt when you want current library docs. The client can also call resolve-library-id and get-library-docs on its own. Restart the editor if the server is missing from the list.

Is Context7 MCP Server free to use?

You can try it without paying. An API key from context7.com/dashboard is optional and helps with rate limits.

Which AI coding assistants does Context7 support?

Any MCP-compatible client. This guide covers Claude Code, Cursor, VS Code, Claude Desktop, and Windsurf. Claude Code uses claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp. The others take JSON with that same URL. Client pages live on mcpcontext7.com.

How many libraries does Context7 support?

Context7 indexes documentation for a large catalog of libraries and frameworks. It is meant for public library docs, not your private repo.

How often is the documentation updated?

Context7 fetches from its current index rather than from the model's training cutoff. When a library ships a new version, that version is what the tools return once it is in the index.

Can Context7 access my private code?

No. Context7 fetches publicly available library documentation. It does not need access to your repository. An API key is for rate limits and private library docs you have been granted, not for reading your source tree.

Does Context7 work offline?

The remote HTTP install on this page needs a network connection. That is the tradeoff for not running a local Node process. A local npx path exists if you want a process on your machine.

Context7 MCP remote vs local npx install?

This page is the remote HTTP add against https://mcp.context7.com/mcp. npx ctx7 setup and npx -y @upstash/context7-mcp are the local/stdio path. Use the remote command if you do not want another Node process. spawn context7-mcp ENOENT means the local binary was missing.

Do I need a Context7 API key?

Not to try it. For higher rate limits and private repos, get a key at context7.com/dashboard and pass --header "Authorization: Bearer YOUR_API_KEY" after --scope user.

How do I add Context7 to the Claude Code plugin marketplace?

You do not need a marketplace plugin for the remote server. Run claude mcp add --scope user --transport http context7 https://mcp.context7.com/mcp, then restart Claude Code. Full steps: mcpcontext7.com/install

context7 mcp not connecting in Claude Code. What now?

Run claude mcp list. If context7 is missing, run the add command again and restart. If it is listed but dead, you likely have two servers with the same name, leftover config from an old endpoint, or extra characters in the URL. spawn context7-mcp ENOENT means a local stdio install cannot find a binary. Use the remote HTTP command against https://mcp.context7.com/mcp instead.