git-log-mcp

seekingalpha/git-log-mcp
0 starsCC0-1.0Community

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables querying git commit history to analyze when and why code changes happened, providing authorship context and diffs for specific modules.

README.md

<!-- git-log-mcp - FastMCP server exposing a git_log tool

Written in 2026 by Amir Yalon <amir@seekingalpha.com>

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. -->

git-log-mcp

FastMCP server exposing a single typed tool, git_log. Use this tool to investigate when a code/configuration change happened and infer why it happened from commit history. Choose it when you need commit timelines, authorship context, or intent signals from commit messages and diffs for a specific module or identifier. It is not for repository file content reads or branch manipulation; it is for history analysis and change attribution.

Installation

From the project root, run:

uv sync

Then configure your MCP client to use the full path to .venv/bin/git-log-mcp.

Example Roo Code MCP configuration:

{
  "mcpServers": {
    "git-log": {
      "command": "/full/path/to/.venv/bin/git-log-mcp"
    }
  }
}

Development

Run tests:

pytest -q

Related MCP servers

Browse all →