MCP Directory

GitHub Repo MCP vs Context7 MCP Server

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

 GitHub Repo MCP

Let AI assistants browse public GitHub repositories, explore directories, and view file contents.

Unverified
stdio (local)
API key
Stale
JavaScript
Context7 MCP Server

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

Verified
stdio (local)
API key
TypeScript
CategoryDeveloper ToolsDeveloper Tools
LanguageJavaScriptTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars2728k
Last commit1 year ago25 days ago
Verified
Actively maintained
Installnpx github-repo-mcpnpx -y @upstash/context7-mcp
RepoOpen Open

Verdict

Pick GitHub Repo MCP if you prefer its approach (let ai assistants browse public github repositories, explore directories, and view file contents).

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

Add GitHub Repo MCP

Install / run
npx github-repo-mcp

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

{
  "mcpServers": {
    "github-repo-mcp": {
      "command": "wsl",
      "args": [
        "bash",
        "-c",
        "cmd /c npx -y github-repo-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "Your_Github_Token"
      }
    }
  }
}

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>"
      }
    }
  }
}

FAQ

GitHub Repo MCP or Context7 MCP Server — which is better?

Pick GitHub Repo MCP if you prefer its approach (let ai assistants browse public github repositories, explore directories, and view file contents). Pick Context7 MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both GitHub Repo MCP and Context7 MCP Server?

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 GitHub Repo MCP and Context7 MCP Server work with Claude, Cursor and Windsurf?

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