kapyn
MCP serversDev tools ยท MCP server

Context7 MCP server

Pull up-to-date library docs into the model. Context7 fetches current, version-specific documentation and code examples for libraries and feeds them to the assistant, cutting down on outdated or hallucinated APIs.

Category
Dev tools
Maintained by
Community
Protocol
Model Context Protocol
Source
upstash/context7
View on GitHubBrowse all MCP servers
In the official MCP registryio.github.upstash/context7updated 2026-09-14

Installing Context7

A hosted server, connect to the endpoint, nothing to run locally.

Context7 is now hosted, the endpoint needs an API key sent as an `Authorization: Bearer <key>` header. `npx ctx7 setup` will wire this up for you across supported clients.

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

Not sure where the config file lives, or it isn't picking the server up? Config paths for every client.

What it does

Context7 fetches current, version-specific documentation and code examples for libraries and feeds them to the assistant, cutting down on outdated or hallucinated APIs.

Like any MCP server, Context7 plugs into MCP-compatible assistants (such as Claude and other clients) so the model can use it as a tool , no custom integration code required.

Related Dev tools MCP servers