Context7

MCP server by upstash · ★ 63.2k · updated today

Developer ToolsMaintainedGrade AOne-click install

Up-to-date, version-specific library documentation and code examples pulled straight into your prompt, so coding assistants stop hallucinating outdated APIs.

Install Context7

Choose your AI client and copy the config.

Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
Before you install: Install command taken from the project README. The README mentions API keys or tokens — you'll likely need to add them as environment variables ("env") in the config.

Related servers