MCP server in Rust that exposes git repo analysis tools over stdio.
mcp.mp4
- blame — who last modified each line of a file
- history — commit log for a specific file
- hotspots — files that change most often (churn analysis)
cargo build --releaseAdd to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"git-forensics": {
"command": "/path/to/target/release/mcp-test",
"args": ["/path/to/some/git/repo"]
}
}
}rmcp, git2, tokio, serde, schemars, tracing, anyhow