Context7

io.github.upstash/context7 · v1.0.20

stdio

Up-to-date, version-specific library documentation and code examples pulled straight into the prompt, so generated code matches the API that actually exists.

Claude Code

claude mcp add context7 -- npx -y @upstash/context7-mcp

mcpServers JSON (Claude Desktop, Cursor, Windsurf, VS Code)

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

Tools (2)

resolve-library-idget-library-docs
server.json manifest
{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
  "_meta": {
    "io.mcpregistry/license": "MIT",
    "io.mcpregistry/tags": [
      "documentation",
      "developer-tools",
      "coding"
    ],
    "io.mcpregistry/tools": [
      "resolve-library-id",
      "get-library-docs"
    ],
    "io.mcpregistry/transport": "stdio"
  },
  "description": "Up-to-date, version-specific library documentation and code examples pulled straight into the prompt, so generated code matches the API that actually exists.",
  "name": "io.github.upstash/context7",
  "packages": [
    {
      "environmentVariables": [],
      "identifier": "@upstash/context7-mcp",
      "registryType": "npm",
      "transport": {
        "type": "stdio"
      },
      "version": "1.0.20"
    }
  ],
  "repository": {
    "source": "github",
    "url": "https://github.com/upstash/context7"
  },
  "title": "Context7",
  "version": "1.0.20",
  "websiteUrl": "https://context7.com"
}