drio
Open app

Git Forensics MCP

Source

An MCP server for deep git repository investigation and analysis. Provides detailed insights into repository history, branch relationships, and development patterns, focusing solely on git repository analysis rather than general GitHub or git operation.

Catalog onlyCatalog onlySTDIO

Overview

Git Forensics MCP is a specialized Model Context Protocol (MCP) server designed for deep investigation and analysis of git repositories, providing insights into repository history, branch relationships, and development patterns.

To use Git Forensics MCP, run the server as an MCP service and integrate it with any MCP-compatible client. Specify the repository path and desired analysis tools, and the results will be output in JSON format.

  • Branch Overview: High-level overview of branch states and relationships, including commit statistics. - Time Period Analysis: Detailed analysis of development activity over specified time periods. - File Changes Analysis: Tracks changes to specific files and assesses potential conflicts. - Merge Recommendations: Provides optimal merge strategies and guidance.
  1. Analyzing branch activity and relationships in large repositories.
  2. Understanding development patterns over time for project management.
  3. Assessing risks in file changes before merging branches.

Add to your AI client

Use these steps to connect Git Forensics MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "git-forensics-mcp-davidorex": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-forensics-mcp-davidorex"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "git-forensics-mcp-davidorex": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-forensics-mcp-davidorex"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "git-forensics-mcp-davidorex": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-forensics-mcp-davidorex"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "git-forensics-mcp-davidorex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-forensics-mcp-davidorex"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "git-forensics-mcp-davidorex": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-forensics-mcp-davidorex"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "git-forensics-mcp-davidorex": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-forensics-mcp-davidorex"
      ]
    }
  }
}

FAQ

Can Git Forensics MCP analyze any git repository?

Yes! It can analyze any git repository as long as the necessary dependencies are installed.

What programming language is Git Forensics MCP built with?

It is built with TypeScript and utilizes the MCP SDK for server implementation.

Is there a license for using Git Forensics MCP?

Yes, it is licensed under the Apache License, Version 2.0.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1495,"uuid":"b6c1b55d-2430-4ba4-93bc-ec85e33784af","name":"git-forensics-mcp","title":"Git Forensics MCP","description":"An MCP server for deep git repository investigation and analysis. Provides detailed insights into repository history, branch relationships, and development patterns, focusing solely on git repository analysis rather than general GitHub or git operation.","avatar_url":"https://avatars.githubusercontent.com/u/742286?v=4","created_at":"2025-02-20T16:04:56.210Z","updated_at":"2025-02-23T07:21:45.085Z","status":"created","author_name":"davidorex","author_avatar_url":"https://avatars.githubusercontent.com/u/742286?v=4","tags":"git-forensics,repository-analysis,git-tools","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/davidorex/git-forensics-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]