OfficialMCP Server

Git

Read commit history, branches, and diffs of local git repositories.

Install

uvx
uvx mcp-server-git --repository /path/to/repo

Add this to your Claude Code MCP settings or run via the CLI.

About

Read-only git operations on local repos. Complements filesystem MCP for code-archaeology tasks: blame, log, diff between refs.

Common use cases

  • Investigate a regression
  • Summarize changes between releases
  • Code archaeology

Tags

officialgitvcs