mcp-git-inspector
Provides Git repository intelligence: computes review risk from uncommitted or branch diffs, searches recent commit history by keyword, identifies frequently churned file hotspots, and lints commit messages.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-git-inspector What's the review risk score for my uncommitted changes?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-git-inspector
Zero-dependency Model Context Protocol (MCP) server that gives Claude Code, Cursor, Windsurf, and Antigravity structured Git intelligence: PR risk scoring, file hotspot detection, commit history search, and Conventional Commits linting.
Quick Setup (Claude Desktop / Cursor / Antigravity)
Add to your MCP config:
{
"mcpServers": {
"git-inspector": {
"command": "npx",
"args": ["-y", "mcp-git-inspector"]
}
}
}Related MCP server: git-context-mcp
Tools Provided
Tool | Description |
| Computes a 0–100 review risk score from uncommitted or branch diffs, flagging auth/security, DB migrations, CI/CD, and dependency changes. |
| Searches recent commit history by keyword. |
| Finds the most frequently churned files across recent commits. |
| Validates commit messages against Conventional Commits rules. |
License
MIT
Available Tools
4 toolsgit_change_risk_summaryA
Analyze uncommitted or branch Git diff and compute a structured review risk score (0-100) with sensitive area flags.
Inputs: cwd, baseRef.
git_file_hotspotsA
Identify the most frequently modified hotspot files across recent commits.
Inputs: cwd, topN, commitCount.
git_lint_commit_messageB
Validate a commit message against Conventional Commits guidelines.
Inputs: message (required).
git_search_commitsC
Search recent Git commit history by keyword.
Inputs: cwd, limit, query.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a clearly distinct operation: diff risk scoring, commit message search, hotspot file analysis, and commit message linting. There is no meaningful overlap between any pair, so an agent can select the right tool from the name alone.
All four tools follow a strict `git_<verb>_<noun>` snake_case pattern (git_change_risk_summary, git_search_commits, git_file_hotspots, git_lint_commit_message). The shared `git_` prefix and consistent casing make the set highly predictable.
Four tools is a tight, focused surface where each tool earns its place in a review/analysis workflow. It is on the thin side for a 'git inspector' but nothing is redundant or filler.
The read-only analysis workflow is partially covered, but there are notable gaps: no tool to fetch a specific commit's details, list branches, or view file blame/history for a single file. An agent investigating a hotspot or search hit has no follow-up tool to drill into the underlying commit.
Maintenance
Related MCP Connectors
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Read-only AI coding tools for change verification, release readiness, capacity, and guidance.
Release intelligence for AI coding tools: releases, typed changes, breaking changes, cadence.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to perform code reviews by providing access to staged files, git diffs, and repository file content. It allows users to evaluate changes and context within any local git repository before committing or pushing.34 npmISC
- FlicenseBqualityDmaintenanceProvides AI coding agents with structured Git repository context including project state, code structure, activity, and risk analysis without modifying or uploading code.53-
- AlicenseAqualityDmaintenanceEnables AI assistants to create conventional Git commits, update changelogs, and optionally push changes to remote repositories.22MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered git assistance including commit message generation, branch naming, and branch analysis using conventional commits and git status/diff/log.1-