Best Git MCP servers

Local Git operations — log, diff, blame, branch and commit — exposed as tools so the assistant can reason about your repository history. We compared 8 Git MCP servers — 5 updated in the last 90 days, 5 with one-click or remote install — ranked by relevance and GitHub stars.

Official: Git (official reference server) by modelcontextprotocol

Quick comparison

Top 8 by relevance. Status: maintained = commit in the last 90 days. Grade A–F blends maintenance, license, install config, official flag and stars.

ServerStarsStatusGradeUpdatedInstallAPI key
Git (official reference server)modelcontextprotocol★ 91.3kMaintainedByesterdayOne-clickNot mentioned
git-mcpidosal★ 8.5kAgingB5 months agoOne-clickNot mentioned
mcp-git-ingestadhikasp★ 314StaleD1 year agoOne-clickNot mentioned
aoci-codeaoci-spec★ 1.6kMaintainedDtodaySee READMENot mentioned
okf-agent-memoryokf-memory★ 813MaintainedB2 days agoSee READMELikely
OverleafMCPmjyoo2★ 321AgingB5 months agoOne-clickLikely
GitLab MCP (Yoda)yoda-digital★ 65MaintainedA2 months agoOne-clickLikely
PensieveTedHaley★ 65MaintainedCtodaySee READMENot mentioned

All 8 Git MCP servers

Showing all 8 servers

Git MCP server FAQ

What is the best Git MCP server?

Based on GitHub stars and recent activity, Git (official reference server) by modelcontextprotocol (★ 91.3k, updated yesterday) is the most popular actively maintained option on HookMCP, followed by aoci-code and okf-agent-memory. The right choice depends on whether you need write access, a hosted (remote) endpoint, or a server that runs locally without an API key.

How do I install a Git MCP server in Claude, Cursor or VS Code?

Open the server's page on HookMCP, choose your client tab (Claude Desktop, Cursor, VS Code or Claude Code) and copy the config — 5 of the 8 servers here have one-click install links for Cursor and VS Code. Restart your AI app and the new tools appear automatically.

Do Git MCP servers need an API key?

3 of 8 servers here mention API keys or tokens in their README; 5 don't mention any. Check each listing's Details panel, and pass keys as environment variables rather than pasting them into chat.

Related integrations

Or browse by category: Developer Tools, Memory & Knowledge.