Skip to content
← Products

MCP servers

mcp-git-insights

Read-only Git history and code archaeology for MCP clients.

Read-only Git history and code archaeology for MCP clients. Ask "who changed this and why?", "who should review this folder?", "what shipped since v1.4?", "summarise this branch" — without giving the model a shell.

  • Cannot modify anything. Only read commands are ever run, with --no-ext-diff --no-textconv, no pager, no prompts, no system config.
  • Sandboxed to folders you choose. --root (repeatable). Symlinks are resolved, so a link pointing outside the root is refused.
  • Injection-proof arguments. Refs and dates cannot start with -; paths go after -- and must stay inside the repo; free-text filters use the attached --author=… form.
  • Credentials redacted from remote URLs.
  • Uses your installed git. No native dependencies. Node.js 22+. Tested in CI on Linux, macOS and Windows with Node 22 and 24.

Quick start

{
  "mcpServers": {
    "git": { "command": "npx", "args": ["-y", "@aranshayan/mcp-git-insights", "--root", "/path/to/your/projects"] }
  }
}

Claude Code: claude mcp add git -- npx -y @aranshayan/mcp-git-insights --root "$PWD"

In the docs