MCP Directory

Context7 MCP Server vs GitMCP

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 Context7 MCP Server

Up-to-date, version-specific library documentation injected into your coding agent.

Verified
stdio (local)
API key
TypeScript
GitMCP

Free remote MCP that turns any GitHub repo into a live documentation source to cut hallucinations.

Verified
SSE (remote)
No auth
TypeScript
CategoryDeveloper ToolsDeveloper Tools
LanguageTypeScriptTypeScript
Transportstdio (local)SSE (remote)
AuthAPI keyNone
GitHub stars28k4.5k
Last commit15 days ago1 month ago
Verified
Actively maintained
Installnpx -y @upstash/context7-mcpConnect client to https://gitmcp.io/{owner}/{repo} (or https://gitmcp.io/docs)
RepoOpen Open

Verdict

Pick Context7 MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Pick GitMCP if you want a hosted/remote server with nothing to install, and you want zero-setup with no API key.

Add Context7 MCP Server

Install / run
npx -y @upstash/context7-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "context7-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ],
      "env": {
        "CONTEXT7_API_KEY": "<optional-your-context7-api-key>"
      }
    }
  }
}

Add GitMCP

Install / run
Connect client to https://gitmcp.io/{owner}/{repo} (or https://gitmcp.io/docs)

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "gitmcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://gitmcp.io/docs"
      ]
    }
  }
}

Claude Desktop connects to remote servers through the `mcp-remote` proxy (installed on first run via npx). Restart Claude Desktop after saving.

FAQ

Context7 MCP Server or GitMCP — which is better?

Pick Context7 MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option. Pick GitMCP if you want a hosted/remote server with nothing to install, and you want zero-setup with no API key.

Can I use both Context7 MCP Server and GitMCP?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do Context7 MCP Server and GitMCP work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.