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.

  • GitHubArchived upstreamSource on GitHub ↗

    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

GitHub

OfficialRemote only — needs a client that connects over HTTP/SSEby github

GitHub's official MCP Server

⭐ 33,707 starsLast push: 2026-10-15License: MITRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "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
claude mcp add --transport http github https://api.githubcopilot.com/mcp/
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "github": {
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "github": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "github": {
      "serverUrl": "https://api.githubcopilot.com/mcp/"
    }
  }
}
#2

Git

Referenceby modelcontextprotocol

Read, search and manipulate local Git repositories — status, diff, log, commit and branch operations.

Shared repository (14 listings)Last push: 2026-10-13License: CustomRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add git -- uvx mcp-server-git
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "git": {
      "command": "uvx",
      "args": [
        "mcp-server-git"
      ]
    }
  }
}
#3

Github

by Dave-London

MCP server for GitHub operations (PRs, issues, actions) with structured, token-efficient output

Shared repository (16 listings)Last push: 2026-10-14License: MITRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "github-3": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/github"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add github-3 -- npx -y @paretools/github
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "github-3": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/github"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "github-3": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/github"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "github-3": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/github"
      ]
    }
  }
}
#4

Git Mcp Server

by cyanheads

Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.

⭐ 242 starsLast push: 2026-09-26License: Apache-2.013,118/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "git-mcp-server-2": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add git-mcp-server-2 -- npx -y @cyanheads/git-mcp-server
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "git-mcp-server-2": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "git-mcp-server-2": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "git-mcp-server-2": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/git-mcp-server"
      ]
    }
  }
}
#5

Github

by mcparmory

Manage repositories, users, releases, and automate GitHub workflows

Shared repository (17 listings)Last push: 2026-05-12License: Custom888/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "github-mcparmory": {
      "command": "uvx",
      "args": [
        "mcparmory-github"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add github-mcparmory -- uvx mcparmory-github
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "github-mcparmory": {
      "command": "uvx",
      "args": [
        "mcparmory-github"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "github-mcparmory": {
      "command": "uvx",
      "args": [
        "mcparmory-github"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "github-mcparmory": {
      "command": "uvx",
      "args": [
        "mcparmory-github"
      ]
    }
  }
}
#6

Github Mcp Server

by crypto-ninja

AI-optimized GitHub MCP server: 112 tools, 98% token reduction, compact responses.

⭐ 5 starsLast push: 2026-07-28License: Custom535/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "github-mcp-server-2": {
      "command": "uvx",
      "args": [
        "github-mcp-server"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add github-mcp-server-2 -- uvx github-mcp-server
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "github-mcp-server-2": {
      "command": "uvx",
      "args": [
        "github-mcp-server"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "github-mcp-server-2": {
      "command": "uvx",
      "args": [
        "github-mcp-server"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "github-mcp-server-2": {
      "command": "uvx",
      "args": [
        "github-mcp-server"
      ]
    }
  }
}
#7

github-twin

by ChristopherDavenport

Personal RAG over your GitHub history (commits, code, reviews), served to Claude Code over MCP.

⭐ 0 starsLast push: 2026-07-02License: MIT292/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "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
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-twin
Cursorconfig JSON
Cursor
{
  "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
{
  "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
{
  "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

Mcp Github

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 downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "mcp-github": {
      "command": "npx",
      "args": [
        "-y",
        "@infoinlet/mcp-github"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add mcp-github -- npx -y @infoinlet/mcp-github
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "mcp-github": {
      "command": "npx",
      "args": [
        "-y",
        "@infoinlet/mcp-github"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "mcp-github": {
      "command": "npx",
      "args": [
        "-y",
        "@infoinlet/mcp-github"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "mcp-github": {
      "command": "npx",
      "args": [
        "-y",
        "@infoinlet/mcp-github"
      ]
    }
  }
}

Other best-of lists

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.