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
| Server | Score | Status | Tools | Schema tokens (est.) | Functional tasks | GitHub stars |
|---|---|---|---|---|---|---|
Git (reference, Python)mcp-server-git | 100 | Working | 12 | ~1,105 | Not measured | 91,469 |
Git (cyanheads)@cyanheads/git-mcp-server | 100 | Working | 28 | ~7,693 | Not measured | 242 |
GitHub MCP Servergithub/github-mcp-server | 70 | Connects · tools listed | 46 | ~10,822 | Not measured | 33,874 |
GitLab (zereight)@zereight/mcp-gitlab needs key: not tested with credentials | 70 | Needs key | Not measured | Not measured | Not measured | 2,060 |
GitLab MCP (official, remote)gitlab-remote needs key: not tested with credentials | 65 | Needs credentials | Not measured | Not measured | Not measured | — |
Tested, not ranked
- GitHub (legacy reference) (
@modelcontextprotocol/server-github): deprecated. - GitLab (legacy reference) (
@modelcontextprotocol/server-gitlab): deprecated.
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).