Git Summary MCP server

Lightweight git commit message summary generator that analyzes repository histories by filtering commits and producing human-readable markdown summaries highlighting key changes and business impact.
Back to servers
Setup instructions
Provider
Cybersiddhu
Release date
Mar 26, 2025
Language
Go

This MCP server provides development and research utilities like git analysis, literature search, document conversion, and email drafting through the Model Context Protocol. It integrates with your MCP client to enhance AI assistants with specialized tools.

Installation Options

Go Install (Recommended)

The quickest way to install the MCP server:

go install github.com/dictybase/dcr-mcp/cmd/server@latest

Alternative Installation Methods

From Source:

git clone https://github.com/dictybase/dcr-mcp.git
cd dcr-mcp
make build

Manual Build:

go build -o dcr-mcp-server ./cmd/server

Requirements:

  • Go 1.23.8 or higher
  • OpenAI API key (for git summary features)

Configuration

Add the server to your MCP configuration file:

{
    "mcpServers": {
        "dcr-mcp": {
            "command": "server",
            "env": {
                "OPENAI_API_KEY": "your-api-key-here"
            }
        }
    }
}

If you built from source, use "command": "dcr-mcp-server" instead.

Available Tools

Git Summary

Analyzes git commit history and generates AI-powered summaries categorized by type.

Parameters:

  • repo_url - Git repository URL
  • branch - Branch to analyze
  • start_date - Start date for analysis
  • end_date - End date (defaults to current date)
  • author - Filter by commit author
  • api_key - OpenAI API key

Example:

{
  "repo_url": "https://github.com/username/project",
  "branch": "main",
  "start_date": "2023-01-01",
  "end_date": "2023-12-31",
  "author": "Jane Doe",
  "api_key": "sk-..."
}

Literature Search

Fetches scientific papers using PubMed IDs or DOIs.

Parameters:

  • id - PMID (e.g., "12345678") or DOI (e.g., "10.1038/nature12373")
  • id_type - "pmid" or "doi"
  • provider - "pubmed" (default) or "europepmc"

Example:

{
  "id": "10.1038/nature12373",
  "id_type": "doi",
  "provider": "pubmed"
}

Markdown Converter

Converts Markdown to HTML with GitHub Flavored Markdown support.

Parameters:

  • content - Markdown content to convert

Example:

{
  "content": "# My Document\n\nThis is a sample document with **bold** and *italic* text."
}

PDF Generator

Converts Markdown to PDF with professional formatting.

Parameters:

  • content - Markdown content
  • filename - Output filename (defaults to "output.pdf")

Example:

{
  "content": "# My Document\n\nThis is a sample document that will be converted to PDF.",
  "filename": "my-document.pdf"
}

Email Prompt

Generates casual email drafts with customizable tone.

Parameters:

  • from - Sender's name or email
  • to - Recipient's name or email

Example:

{
  "from": "[email protected]",
  "to": "[email protected]"
}

Troubleshooting

If you encounter issues, check the server logs in stderr. The server prefixes log messages with the tool name (e.g., [git-summary], [literature], etc.) to help with debugging.

Make sure your OpenAI API key is correctly set in the MCP configuration if you're using the Git Summary tool.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "git-summary" '{"command":"go","args":["run","cmd/server/main.go"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "git-summary": {
            "command": "go",
            "args": [
                "run",
                "cmd/server/main.go"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "git-summary": {
            "command": "go",
            "args": [
                "run",
                "cmd/server/main.go"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later