git-quick-stats MCP server
OfficialProvides tools to run git-quick-stats commands on a git repository, enabling analysis of commit statistics, contributors, and other metrics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Server for git-quick-stats
This folder contains a small MCP server that exposes git-quick-stats commands as MCP tools.
Setup
Install uv first (one-time):
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"cd mcp-server
uv venv .venv
uv sync --devOr using Make:
make installThis installs:
Runtime dependencies from
pyproject.tomlDevelopment tools (including Black) from the
devdependency group
Related MCP server: @rethunk/mcp-multi-root-git
Run
uv run -m src.serverThe server uses stdio transport, so configure your MCP client to launch this command.
On first tool execution, the server automatically downloads git-quick-stats
into .mcp-tools/git-quick-stats inside this project if the script is not
already present at project root.
To pin a specific upstream branch/tag/commit for downloads, set:
export GIT_QUICK_STATS_REF=<ref>Example MCP Client Config
{
"mcpServers": {
"git-quick-stats": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/git-quick-stats/mcp-server",
"-m",
"src.server"
]
}
}
}VS Code Config
Add one of the following entries to your VS Code MCP settings depending on your OS.
Windows (native Python/uv)
{
"mcpServers": {
"git-quick-stats": {
"command": "uv",
"args": [
"run",
"--directory",
"C:\\absolute\\path\\to\\git-quick-stats\\mcp-server",
"-m",
"src.server"
]
}
}
}Windows (WSL Ubuntu)
{
"mcpServers": {
"git-quick-stats": {
"command": "wsl.exe",
"args": [
"-d",
"Ubuntu",
"uv",
"run",
"--directory",
"/home/your-user/projects/git-quick-stats/mcp-server",
"-m",
"src.server"
]
}
}
}Linux
{
"mcpServers": {
"git-quick-stats": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/git-quick-stats/mcp-server",
"-m",
"src.server"
]
}
}
}macOS
{
"mcpServers": {
"git-quick-stats": {
"command": "uv",
"args": [
"run",
"--directory",
"/Users/your-user/path/to/git-quick-stats/mcp-server",
"-m",
"src.server"
]
}
}
}Make Targets
make help
make bootstrap-uv
make install
make run
make format
make format-checkDocker Compose
Run the MCP server with Docker Compose:
docker compose up --buildOr via Make:
make docker-up
make docker-logs
make docker-downUsage Notes
Set
repo_pathto the git repository you want to inspect.Some options need extra values, which should be passed using tool arguments:
authorfor options that need_GIT_AUTHORbranchfor options that need_GIT_BRANCHtagfor options that need_GIT_TAG
The
--new-contributorsoption prompts for a date in the shell script. Usestdin_inputwith one date line, for example:2025-01-01\n.
AI Output Example
Example tool call from an AI assistant:
{
"tool": "run_git_quick_stats",
"arguments": {
"option": "--new-contributors",
"repo_path": "/absolute/path/to/git-quick-stats",
"stdin_input": "2025-01-01\n"
}
}Example tool result:
{
"ok": true,
"exit_code": 0,
"stdout": "New contributors since 2025-01-01:\\n\\n 1 example.user@example.com\\n...",
"stderr": ""
}Example AI response to user:
New contributors report generated successfully using stdin date input (2025-01-01). I can also run the same report for another date range if you want.Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
GitHub repo search, stats, language breakdown and comparison as agent tools.
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive Git functionality to MCP clients, enabling users to manage repositories through operations like commits, diffs, and branch management via natural language. It automatically detects the current working directory and supports multi-project workflows across different local environments.163MIT
- AlicenseNot gradedqualityFmaintenanceProvides comprehensive git tooling via MCP, including status, diffs, commits, branches, stashes, and multi-root inventory, enabling AI agents to manage repositories.26 npmMIT
- AlicenseAqualityFmaintenanceLocal Git MCP server exposing 29 tools that let AI clients manage repositories, commits, branches, remotes, and advanced git operations via natural language.29MIT
- FlicenseNot gradedqualityDmaintenanceEnables natural-language analysis of GitHub repositories by exposing repository metadata, source code retrieval, search, and file reading as MCP tools, with answers grounded in the actual repository content.-