Git Local History MCP

Inspect branch diffs, blame history, and commit regressions locally offline

Gives local coding assistants structured access to git log, staged diffs, merge bases, and file blame without GitHub API rate limits.

Install & Client JSON Configurations

All client configuration manifests are exposed directly below without hidden tabs for zero-click copying.

CLI Install Command
uvx mcp-server-git --repository .
Claude Desktop · claude_desktop_config.json
{
  "mcpServers": {
    "git-local": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/path/to/repo"
      ]
    }
  }
}
Cursor · .cursor/mcp.json
{
  "mcpServers": {
    "git-local": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/path/to/repo"
      ]
    }
  }
}
VS Code · .vscode/mcp.json
{
  "servers": {
    "git-local": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/path/to/repo"
      ]
    }
  }
}

Offline-First Repository Context

Many teams run strict security policies disallowing remote repository tokens on developer laptops. Git Local History MCP provides pure local read-oriented git inspection tools so agents diagnose regressions straight from workspace commit graphs.

Why Engineers Choose It

  • Zero external network requests or Personal Access Token exposure.
  • Compact six-tool footprint consumes around 1,040 schema tokens compared to 5,100+ on full remote GitHub bundles.
  • Quickly summarizes uncommitted working tree diffs before drafting accurate commit messages.

Alternative Servers in This Category

Developer Tools
Rising Stack

Repomix Codebase Packager MCP

Token-counted repository bundler and grep-free structural context engine

stdiononeopen-source
Tool Surface6 tools
Reliability Score94 / 100
1180 tok · 16,400 starsInspect config
Developer Tools
Long-Tail Niche

ast-grep Structural Search MCP

Syntax-aware AST pattern matching across TypeScript, Python, Go, and Rust

stdiononeopen-source
Tool Surface4 tools
Reliability Score92 / 100
890 tok · 1,150 starsInspect config
Developer Tools
Long-Tail Niche

Biome Lint & Format MCP

Sub-second Rust linting and import hygiene checks for TS/JS projects

stdiononeopen-source
Tool Surface3 tools
Reliability Score90 / 100
650 tok · 590 starsInspect config