Best Git and GitHub MCP servers

We tested 7 Git and GitHub servers; 5 are ranked below. 2 aren't ranked: deprecated. Short answer: Git (reference, Python) (100/100). This list includes paid and keyed servers; servers that need a key are labelled, and we have not tested any of them with real credentials.

Last tested 2026-10-24

How we test: methodology. Context cost: lowest context cost MCP servers. Not tested by us: security, output quality, and behaviour with real credentials.

Ranked by test score

ServerScoreStatusToolsSchema tokens (est.)Functional tasksGitHub stars
Git (reference, Python)
mcp-server-git
100Working12~1,105Not measured91,469
Git (cyanheads)
@cyanheads/git-mcp-server
100Working28~7,693Not measured242
GitHub MCP Server
github/github-mcp-server
70Connects · tools listed46~10,822Not measured33,874
GitLab (zereight)
@zereight/mcp-gitlab needs key: not tested with credentials
70Needs keyNot measuredNot measuredNot measured2,060
GitLab MCP (official, remote)
gitlab-remote needs key: not tested with credentials
65Needs credentialsNot measuredNot measuredNot measured—

Tested, not ranked

Ranked by score, then most recent activity, then more tools, then name. Failed = did not complete the MCP handshake without credentials or a backing service.

Don't use (deprecated or archived)

  • GitHub (legacy reference) (@modelcontextprotocol/server-github), legacy score 70: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • GitLab (legacy reference) (@modelcontextprotocol/server-gitlab), legacy score 50: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

FAQ

What is the best Git and GitHub MCP server?

In our 2026-10-22 tests, Git (reference, Python) (mcp-server-git) ranked first with 100/100 and 12 tools listed. Ranking: score, then most recent activity, then more tools, then name.

Which Git and GitHub MCP server uses the least context?

Git (reference, Python) lists 12 tools at about 1,105 schema tokens, the lowest among maintained servers here that we measured.

Which Git and GitHub MCP servers are deprecated?

GitHub (legacy reference) (@modelcontextprotocol/server-github): Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.; GitLab (legacy reference) (@modelcontextprotocol/server-gitlab): Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Why are only 5 of the 7 tested Git and GitHub servers ranked?

We tested 7 Git and GitHub servers; 5 are ranked below. 2 aren't ranked: deprecated. Not ranked: GitHub (legacy reference) (deprecated); GitLab (legacy reference) (deprecated).