
Git Insights
Read-only git history, blame ownership, churn and large-file stats for a local repository
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Locally
- Version
- 0.3.0
- Listing updated
- 2 days ago
About Git Insights
Git Insights is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Git Insights answers questions about who touched what in a repository without modifying it. It can summarise a repo, list commits with filters, break one file's lines down by author, rank files by churn with lines added and removed, count commits per author and find the largest blobs in a tree or in all history.
Safety is a stated design point: each git command is spawned without a shell from a fixed argument list, with validated paths and revisions, a 20 second timeout and an output cap. Nothing is written, fetched or checked out, and no command that contacts a remote is allowed. Remote URLs in the summary have credentials stripped. The README notes that it does not restrict which repository paths can be read, so run it under an appropriate account.
It runs in a pinned Docker image with the repository mounted read-only at /repo, and requires git on the path inside it. MIT licensed.
Install
Run in a terminal
claude mcp add mcp-git-insights -- docker run -i --rm ghcr.io/basitalisandhu/mcp-git-insights:0.3.0Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-git-insights": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/basitalisandhu/mcp-git-insights:0.3.0"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-git-insights": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/basitalisandhu/mcp-git-insights:0.3.0"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-git-insights": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/basitalisandhu/mcp-git-insights:0.3.0"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-git-insights": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/basitalisandhu/mcp-git-insights:0.3.0"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-git-insights": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/basitalisandhu/mcp-git-insights:0.3.0"
]
}
}
}Tools this server provides (6)
Taken from the project documentation; the running server may differ.
- repo_summary
- Summarise a repository.
- git_log
- List commits with filters.
- blame_summary
- Per-author line share for a file.
- churn
- Rank files by change frequency.
- authors
- Commits per author.
- large_files
- Find the largest blobs.
What it does
- Repository summary
- Branch, HEAD, remotes, counts and working tree status.
- Filtered log
- Commits by author, date, path or message text.
- Blame summary
- Lines and share per author for a file.
- Churn ranking
- Files ranked by commits, following renames.
- Author counts
- Commits per author with first and last dates.
- Large file finder
- Finds the biggest blobs, including in history.
Good for
- Find who owns most of a file before asking for a review
- Locate hot spots that change most often
- Work out which blobs make a clone large
- Summarise a quarter's contributors for a report
Pricing
Open source
MIT licensed
Prices change. Check basitalisandhu.github.io before you buy.
Git Insights FAQ
Can it change my repository?
No. The README says nothing is written, fetched or checked out.
Does it use the network?
No; no command that contacts a remote is on the allowlist.
How do I mount my repo?
Mount it at /repo read-only in the Docker command.
Is the log limited?
The git_log tool accepts a limit from 1 to 500.
Is Git Insights free?
Yes. Git Insights is open source, so you can use and self-host it for free.
How do I add Git Insights to Claude Code?
Run this command in your terminal: claude mcp add mcp-git-insights -- docker run -i --rm ghcr.io/basitalisandhu/mcp-git-insights:0.3.0
What are the best alternatives to Git Insights?
The closest alternatives to Git Insights are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Git Insights

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Agent-Native Analytics
MCP serverOpen-source analytics app where an AI agent builds charts and dashboards from your data
- Remote
- Open source
- 7.7K GitHub stars
- Analytics and data