Git Repository Analytics
git_analyticsComputes read-only analytics from local Git history for contributors, churn, activity, summaries, and file stats to help assess repository trends.
Instructions
Read-only repository analytics computed from local git history. Use action=contributors|churn|activity|summary|file-stats.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "git_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Analytics operation. | |
| repo_path | No | Absolute path to the local Git repository. If omitted, falls back to the server default set via the GIT_REPO_PATH environment variable or --repo-path CLI argument. | |
| response_format | No | Output format for the response. | markdown |