MCP Server: io.github.rog0x/git
This MCP server provides Git repository analysis tools for AI agents. It analyzes local repositories using native git commands and is served over the Model Context Protocol (MCP). The tools focus on commit history, diffs, blame, and repository statistics, without requiring the GitHub API.
๐ ๏ธ Key Features
git_log: commit history with filtering by author, date range, and file pathgit_diff: diffs between commits, branches, or tags, with change summariesgit_blame: line-level attribution with commit informationgit_stats: commits, contributors, activity over time, and most changed files
๐ Use Cases
- Retrieve filtered commit history for a specific author, time range, or file path
- Compare code changes across revisions (commits/branches/tags) with summaries
- Identify recent authorship of code lines in a file
- Assess repository activity and top modified files
โก Developer Benefits
- Uses native
gitcommands (GitHub API not required) - MCP tooling for AI agents working with version-control data
- Language/tooling alignment via TypeScript and MCP integration
โ ๏ธ Limitations
- Limited to Git repository analysis functions described in the provided tool list