Home / Best MCP Servers / GitHub & Code Repositories Best MCP Servers for GitHub & Code Repositories (2026) A data-ranked shortlist of the 8 strongest MCP servers for github & code repositories — every entry links to its full page with copy-paste configs for Claude Desktop, Claude Code, Cursor, VS Code and Windsurf. List compiled 2026-10-28; rankings refresh as the underlying data updates.
How entries are picked: An entry is eligible only if it meets at least one of: 10+ GitHub stars, 100+ monthly npm/PyPI downloads, or a verified official/reference tier on its brand page; entries meeting none of the three are excluded, as are archived repositories. Eligible entries are ranked by a score built from: GitHub stars — multiplied by 10 when the entry has a verified official/reference tier, so official status counts as ten times the community traction rather than a flat bonus; maintenance recency (last push); and npm/PyPI downloads where available. Two tie-break rules keep the list honest: when the same repository is shared by several listings, its star count does not contribute to ranking (the shared figure would otherwise swamp independent projects), and when several implementations share a product name, only the highest-scoring one is listed — the others stay in the directory. Data comes from the public MCP Registry (description, install method), GitHub repository stats and package download counts — no editorial scoring, no paid inclusion, and sponsorship never affects these lists.
MCP official reference implementations These entries sit outside the ranking: they are the Model Context Protocol steering group's own reference implementations for this scenario. They are not scored, they do not affect the order below, and archived ones are marked as such with a maintained alternative where one exists.
One of the seven reference servers the MCP steering group still maintains.
No maintained replacement is named by the MCP steering group for this one; the archived code remains available in servers-archived.
Listed under archived servers in the steering group's README. The npm package @modelcontextprotocol/server-github it shipped as has not been published for well over a year.
Maintained alternative: GitHub MCP Server (published by GitHub) ↗ — GitHub's own server, shipped as a hosted endpoint and a Docker image; this is the implementation GitHub documents today. Page in this directory
#1 Official Remote only — needs a client that connects over HTTP/SSE by github GitHub's official MCP Server
⭐ 33,707 stars Last push: 2026-10-15 License: MIT Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/"
}
}
}Claude Desktop connects remote servers via Settings → Connectors → Add custom connector (paste the URL).
Claude CodeCLI command Claude Code
Copy claude mcp add --transport http github https://api.githubcopilot.com/mcp/Cursorconfig JSON Cursor
Copy {
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/"
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/"
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"github": {
"serverUrl": "https://api.githubcopilot.com/mcp/"
}
}
}#2 Reference by modelcontextprotocol Read, search and manipulate local Git repositories — status, diff, log, commit and branch operations.
Shared repository (14 listings) Last push: 2026-10-13 License: Custom Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add git -- uvx mcp-server-gitCursorconfig JSON Cursor
Copy {
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"git": {
"command": "uvx",
"args": [
"mcp-server-git"
]
}
}
}MCP server for GitHub operations (PRs, issues, actions) with structured, token-efficient output
Shared repository (16 listings) Last push: 2026-10-14 License: MIT Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"github-3": {
"command": "npx",
"args": [
"-y",
"@paretools/github"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add github-3 -- npx -y @paretools/githubCursorconfig JSON Cursor
Copy {
"mcpServers": {
"github-3": {
"command": "npx",
"args": [
"-y",
"@paretools/github"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"github-3": {
"command": "npx",
"args": [
"-y",
"@paretools/github"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"github-3": {
"command": "npx",
"args": [
"-y",
"@paretools/github"
]
}
}
}Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
⭐ 242 stars Last push: 2026-09-26 License: Apache-2.0 13,118/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"git-mcp-server-2": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add git-mcp-server-2 -- npx -y @cyanheads/git-mcp-serverCursorconfig JSON Cursor
Copy {
"mcpServers": {
"git-mcp-server-2": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"git-mcp-server-2": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"git-mcp-server-2": {
"command": "npx",
"args": [
"-y",
"@cyanheads/git-mcp-server"
]
}
}
}Manage repositories, users, releases, and automate GitHub workflows
Shared repository (17 listings) Last push: 2026-05-12 License: Custom 888/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"github-mcparmory": {
"command": "uvx",
"args": [
"mcparmory-github"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add github-mcparmory -- uvx mcparmory-githubCursorconfig JSON Cursor
Copy {
"mcpServers": {
"github-mcparmory": {
"command": "uvx",
"args": [
"mcparmory-github"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"github-mcparmory": {
"command": "uvx",
"args": [
"mcparmory-github"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"github-mcparmory": {
"command": "uvx",
"args": [
"mcparmory-github"
]
}
}
}AI-optimized GitHub MCP server: 112 tools, 98% token reduction, compact responses.
⭐ 5 stars Last push: 2026-07-28 License: Custom 535/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"github-mcp-server-2": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add github-mcp-server-2 -- uvx github-mcp-serverCursorconfig JSON Cursor
Copy {
"mcpServers": {
"github-mcp-server-2": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"github-mcp-server-2": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"github-mcp-server-2": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}#7 by ChristopherDavenport Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.
⭐ 0 stars Last push: 2026-07-02 License: MIT 292/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"github-twin": {
"command": "uvx",
"args": [
"github-twin"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env GITHUB_TOKEN=<YOUR_GITHUB_TOKEN> --env ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> --env GEMINI_API_KEY=<YOUR_GEMINI_API_KEY> github-twin -- uvx github-twinCursorconfig JSON Cursor
Copy {
"mcpServers": {
"github-twin": {
"command": "uvx",
"args": [
"github-twin"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"github-twin": {
"command": "uvx",
"args": [
"github-twin"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"github-twin": {
"command": "uvx",
"args": [
"github-twin"
],
"env": {
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
"ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
}
}
}
}Keys / environment: GITHUB_TOKEN · ANTHROPIC_API_KEY · GEMINI_API_KEY
#8 by infoinlet-marketplace GitHub for AI agents — repos, files, code search, issues, PRs, commits. Read-only default.
Shared repository (29 listings) Last push: — License: — 106/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"mcp-github": {
"command": "npx",
"args": [
"-y",
"@infoinlet/mcp-github"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add mcp-github -- npx -y @infoinlet/mcp-githubCursorconfig JSON Cursor
Copy {
"mcpServers": {
"mcp-github": {
"command": "npx",
"args": [
"-y",
"@infoinlet/mcp-github"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"mcp-github": {
"command": "npx",
"args": [
"-y",
"@infoinlet/mcp-github"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"mcp-github": {
"command": "npx",
"args": [
"-y",
"@infoinlet/mcp-github"
]
}
}
}Sources & last verified ▸ Server descriptions, categories and install methods: the public MCP Registry (modelcontextprotocol.io) as of 2026-10-28. ▸ Stars, last-push dates and licenses: GitHub repository API, fetched per entry's own repository on 2026-10-28. ▸ Download counts: npm and PyPI public APIs where a package is listed. ▸ Official / Reference labels follow MCPNav's verified brand table (each verified against the publisher's own repository and documentation). Last verified: 2026-10-28. Entries change as the underlying data changes; archived repositories are excluded.