commit-brief

commit-brief

MCP server that turns git commit history into concise standup summaries, exposing tools to summarize and list commits with filters like repo, author, and time range.

Category
Visit Server

README

commit-brief

Turn yesterday's git log into a one-paragraph standup summary.

commit-brief reads your git history (commit messages, authors, branch refs, per-file change stats — never diffs) and asks an LLM for a terse standup digest. One command, two interfaces:

  • commit-brief — standup digest at your terminal.
  • commit-brief mcp — MCP server, so your agents (Claude Code, Codex, ...) can call the same core as a tool.

Install

Requires Python 3.11+ and uv (or pipx).

# global install, any machine — CLI only:
uv tool install git+https://github.com/ahm3d-karim/commit-brief

# with the MCP server (needs the mcp dependency):
uv tool install "git+https://github.com/ahm3d-karim/commit-brief[mcp]"

# from a local checkout instead:
uv tool install ".[mcp]"

# pipx equivalent:
pipx install "git+https://github.com/ahm3d-karim/commit-brief[mcp]"

Installs one command: commit-brief. Then set your API key:

export ANTHROPIC_API_KEY=sk-ant-...   # or add it to your shell profile

Model default: claude-sonnet-4-20250514 (override with COMMIT_BRIEF_MODEL).

CLI

# from inside any repo — yesterday's commits, one paragraph
commit-brief

# other repos / windows / filters
commit-brief --repo ../other-repo --since '3 days ago'
commit-brief --since '7 days ago' --author 'Alice'
commit-brief --author 'Alice' --author 'Bob' --bullets

# no API key? see exactly what the LLM would receive
commit-brief --dry-run

# raw structured commits (hash, author, subject, body, refs, per-file stats)
commit-brief --json

--since/--until accept anything git accepts: yesterday, 3 days ago, 2026-08-01. --author is repeatable (OR). Exit codes: 0 ok / no commits, 2 git or API error.

MCP server

The server exposes the same core as two tools: summarize_standup and list_commits (params: repo, since, until, author, bullets, dry_run — dry_run returns the prompt at zero API cost).

Run it (needs the [mcp] extra installed):

commit-brief mcp
# from a source checkout: uv run --extra mcp python -m commit_brief.mcp_server

Register with Claude Code:

claude mcp add commit-brief -- commit-brief mcp

Then just ask: "summarize yesterday's commits in this repo" or "what did each dev ship last week?" — the agent calls the tool with the right args.

Self-test the server end to end (spawns it, lists tools, exercises both tools against a repo — pass a path or set CBR_TEST_REPO; defaults to the current directory):

commit-brief mcp-test
commit-brief mcp-test /path/to/repo

Design notes

  • Messages + stats, never diffs. The LLM sees subjects, bodies, authors, branch refs, and per-file (+a -d) counts. Cheap, and code never leaves the repo.
  • Git subprocess hygiene: git is spawned with stdin=DEVNULL and GIT_PAGER=cat. Without this, a git spawned inside an MCP stdio server on Windows/MSYS2 gets SIGTERM'd (rc 143) because it inherits the protocol pipe / console state. This is the fix — don't remove it.
  • mcp is pinned <2 because 2.x replaced FastMCP with a new API; the stdio protocol is identical, so 1.x keeps the server code simple.

Testing

uv run --extra test pytest       # core + CLI suite (unit tests, no API needed)
commit-brief mcp-test            # end-to-end MCP smoke test (spawns the server)

CI runs the pytest suite on every push (GitHub Actions, .github/workflows/ci.yml). The MCP smoke test is intentionally excluded from pytest — it spawns servers and exits the process — so it stays a self-serve command.

Project layout

commit_brief/core.py       git log parsing + prompt building + LLM call
commit_brief/cli.py        one command: standup (default) + mcp / mcp-test
commit_brief/mcp_server.py FastMCP wrapper (2 tools)
commit_brief/mcp_test.py   end-to-end MCP smoke test (used by mcp-test)
scripts/test_mcp_client.py thin shim over commit_brief.mcp_test

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured