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 6 Git MCP servers — 3 updated in the last 90 days, 4 with one-click install — ranked by relevance and GitHub stars.

Official: Git (official reference server) by modelcontextprotocol

Quick comparison

Top 6 by relevance. Status: maintained = commit in the last 90 days.

ServerStarsStatusUpdatedInstallAPI key
Git (official reference server)modelcontextprotocol★ 91.2kMaintained3 days agoOne-clickNot mentioned
git-mcpidosal★ 8.5kAging5 months agoOne-clickNot mentioned
mcp-git-ingestadhikasp★ 314Stale1 year agoOne-clickNot mentioned
aoci-codeaoci-spec★ 1.5kMaintainedtodaySee READMENot mentioned
okf-agent-memoryokf-memory★ 771MaintainedyesterdaySee READMELikely
OverleafMCPmjyoo2★ 308Aging5 months agoOne-clickLikely

All 6 Git MCP servers

Showing all 6 servers

Git (official reference server)

by modelcontextprotocol · Python

Tools to read, search and manipulate Git repositories (status, diff, log, commit, branches) via LLMs.

Developer ToolsOfficialMaintained91.2k (repo)

git-mcp

by idosal · TypeScript

Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project

Developer ToolsAgingRemote8.5k

mcp-git-ingest

by adhikasp · Python

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Developer ToolsStale314

aoci-code

by aoci-spec · Go

A persistent, Git-versioned map of your whole codebase and database schema that coding agents read before they touch anything. Local-first MCP server + CLI in Go: a governed repository index of code knowledge that gives Claude Code, Codex, Cursor, and opencode long-term context, memory, and code intelligence.

Developer ToolsMaintained1.5k

okf-agent-memory

by okf-memory · Go

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

Memory & KnowledgeMaintained771

OverleafMCP

by mjyoo2 · JavaScript

Model Context Protocol (MCP) server that lets AI assistants read Overleaf projects, parse LaTeX document structure, and push section-level edits back via Git. Compatible with Claude Desktop, Cursor, Windsurf, and any MCP client.

Developer ToolsAging308

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.2k, updated 3 days ago) 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 — 4 of the 6 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?

2 of 6 servers here mention API keys or tokens in their README; 4 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.