C

Context7

Pulls current, version-specific library docs into the agent's context so code suggestions match the real API.

📚 Up-to-date docs for coding★ 62,991Updated 2026-10-13Auth: none for basic use (to verify)GitHub ↗

Test results

Last passed 2026-10-13
Claude CodePassed2026-10-13 · install, connect, tools, agent task
CursorPassed2026-10-13 · install, connect, tools, agent task
Claude DesktopNot tested—
ChatGPT (Codex)Not tested—
Protocol: starts, 2 tools listed · 2026-10-13

Install

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

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

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

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

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

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersion
2026-10-13Protocol (direct stdio)Protocol: starts, 2 tools listed4.4.1
2026-10-13Claude CodePassed
install, connect, tools, agent task
2.1.296 (Claude Code)
2026-10-13CursorPassed
install, connect, tools, agent task
2026.10.12-d47ca18

Tools seen by our harness (2)

resolve-library-idquery-docs
Sponsors