git-quick-stats MCP server
Exposes git-quick-stats commands as MCP tools to analyze git repositories via natural language.
README
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 --dev
Or using Make:
make install
This installs:
- Runtime dependencies from
pyproject.toml - Development tools (including Black) from the
devdependency group
Run
uv run -m src.server
The 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-check
Docker Compose
Run the MCP server with Docker Compose:
docker compose up --build
Or via Make:
make docker-up
make docker-logs
make docker-down
Usage 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.