git-summary
v0.1.2Git repo intelligence: summaries, blame, changelogs, branch health, and history search
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
git_summary
Get a structured overview of a Git repository: current branch, recent commits, contributors, and repo stats. Works on any local Git repo.
| Parameter | Type | Description |
|---|---|---|
commit_count | number | Number of recent commits to include (default 20) |
repo_path | string | Path to the Git repository (defaults to current working directory) |
git_changes
Get a summary of changes in a commit range: what files changed, who changed them, and a diff stat. Useful for understanding what happened between two points in history.
| Parameter | Type | Description |
|---|---|---|
max_commits | number | Max commits to analyze (default 30) |
range | string | Git commit range, e.g. 'main..feature' or 'HEAD~5..HEAD' or a tag range |
repo_path | string | Path to the Git repository (defaults to cwd) |
git_blame
Analyze who wrote each line of a file, when, and in which commit. Get top contributors and ownership breakdown. Optionally limit to a line range.
| Parameter | Type | Description |
|---|---|---|
file * | string | File path relative to repo root |
end_line | number | End line number (optional, for partial blame) |
repo_path | string | Path to the Git repository (defaults to cwd) |
start_line | number | Start line number (optional, for partial blame) |
git_changelog
Auto-generate a changelog from Git commits. Groups commits by type (feat, fix, docs, etc.) using conventional commit format. Specify a range or get the full log.
| Parameter | Type | Description |
|---|---|---|
from | string | Start commit/tag (e.g. 'v1.0.0') |
repo_path | string | Path to the Git repository (defaults to cwd) |
to | string | End commit/tag (e.g. 'v2.0.0') |
git_branch_health
Analyze all local branches: find stale branches, merged branches ready for cleanup, and branches that are ahead/behind. Helps keep your repo tidy.
| Parameter | Type | Description |
|---|---|---|
repo_path | string | Path to the Git repository (defaults to cwd) |
git_search
Search through Git history for commits matching a query. Searches both commit messages and code changes (pickaxe search). Find when a change was introduced or a bug was created.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search term to find in commit messages or code changes |
max_results | number | Maximum results to return (default 20) |
repo_path | string | Path to the Git repository (defaults to cwd) |