Git Forensics MCP server

Git Forensics MCP server

git-forensics-mcp•bydavidorex

A TypeScript MCP server that performs deep git repository forensic analysis, offering branch overviews, time-period activity analysis, file change tracking, and merge recommendations.

License: Apache License, Version 2.0•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a high-level overview of branch states and relationships, analyzing last commits, commit counts, and merge bases.
  • •Analyzes development activity within specific time periods, categorizing commits as feature, fix, refactor, docs, or other.
  • •Tracks file changes across branches, identifies potential conflict areas, and provides risk assessments with a recommended review order.
  • •Recommends optimal merge strategies with conflict risk assessment, code hotspot identification, and step-by-step merge guidance.

BEST FOR

  • •Investigating branch relationships and divergence in a git repository.
  • •Assessing merge conflict risk and planning how to merge branches.
  • •Understanding development activity during a chosen time window by commit type.

ABOUT GIT-FORENSICS-MCP

Git Forensics MCP server is cataloged as an MCP server attributed to davidorex. A TypeScript MCP server that performs deep git repository forensic analysis, offering branch overviews, time-period activity analysis, file change tracking, and merge recommendations. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache License, Version 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Git Forensics MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server output its analysis results?

Analysis results are written to specified output files in JSON format.

What transport does the server use?

It runs on stdio transport.

Upstream README

View this exact version on GitHub

README.md · a7bf43035f0a · Fetched 2026-11-13 12:08:37 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Git Forensics MCP

A specialized Model Context Protocol (MCP) server for deep git repository investigation and analysis. This forensics tool provides detailed insights into repository history, branch relationships, and development patterns, focusing solely on git repository analysis rather than general GitHub or git operations.

Features

The server provides four main analysis tools:

  1. Branch Overview (get_branch_overview)

    • Provides high-level overview of branch states and relationships
    • Analyzes last commits, commit counts, and merge bases
    • Generates statistical summaries of branch activities
  2. Time Period Analysis (analyze_time_period)

    • Analyzes detailed development activity in specific time periods
    • Categorizes commits (feature, fix, refactor, docs, other)
    • Provides activity summaries with commit patterns
  3. File Changes Analysis (analyze_file_changes)

    • Tracks changes to specific files across branches
    • Identifies potential conflict areas
    • Provides risk assessment for file modifications
    • Generates recommended review order based on risk levels
  4. Merge Recommendations (get_merge_recommendations)

    • Determines optimal merge strategies
    • Assesses conflict risks
    • Identifies code hotspots
    • Provides step-by-step merge guidance

Input Parameters

Each tool requires specific parameters:

  • repoPath: Path to the git repository
  • branches: Array of branch names to analyze
  • outputPath: Path where analysis results will be written
  • Additional tool-specific parameters:
    • timeRange: Start and end dates for period analysis
    • files: Array of file paths for file change analysis

Output Format

All tools output JSON files containing:

  • Detailed analysis results
  • Summary statistics
  • Risk assessments (where applicable)
  • Recommendations based on analysis

Technical Details

  • Built with TypeScript
  • Uses MCP SDK for server implementation
  • Executes git commands through child processes
  • Provides error handling and validation
  • Runs on stdio transport

Dependencies

  • @modelcontextprotocol/sdk
  • Node.js
  • Git (must be installed and accessible)

Usage

The server runs as an MCP service and can be integrated with any MCP-compatible client. All analysis results are written to specified output files in JSON format.

Contributing and License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE.txt file for details.

Collaboration Welcome

Forks and contributions welcome.

All contributions will be under the Apache License 2.0. This permissive license allows you to:

  • Use the code commercially
  • Modify and distribute the code
  • Create derivative works
  • Include in other projects

Copyright 2025. Licensed under the Apache License, Version 2.0; you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Git Forensics MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/git-forensics-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools