Git File Forensics MCP
The Git File Forensics MCP server provides deep file-level analysis for git repositories, allowing you to:
Track complete version history of files, including renames and moves
Analyze specific changes between any two versions of a file
Investigate broader context of file changes within specific commits
Study semantic changes and patterns throughout a file's history
Generate detailed JSON reports with analysis results, statistics, and risk assessments
Provides tools for detailed file-level forensics in Git repositories, enabling tracking of file version history, analyzing changes between versions, examining commit contexts, and evaluating semantic patterns in file history.
Serves as the runtime environment for the MCP server, required for execution of the Git file forensics tools.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Git File Forensics MCPtrack the version history of src/utils/logger.js in my project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Git File Forensics MCP
An MCP tool for deep git file-level forensics that helps get detailed insights into file histories, changes, and patterns, focusing on individual file analysis rather than repository-wide operations.
Installation
Clone and build the server:
git clone [repository-url]
cd git-file-forensics
npm install
npm run buildAdd to your MCP settings (
~/Library/Application Support/Code/User/globalStorage/david-dafu-dev.dafu/settings/cline_mcp_settings.json):
{
"mcpServers": {
"git-file-forensics": {
"command": "/opt/homebrew/bin/node",
"args": ["/path/to/git-file-forensics/build/index.js"],
"alwaysAllow": []
}
}
}Related MCP server: AI FileSystem MCP
Available Tools
1. track_file_versions
Tracks complete version history of a specific file, including renames and moves.
{
"method": "tools/call",
"params": {
"name": "track_file_versions",
"arguments": {
"repoPath": "/path/to/repo",
"file": "path/to/file",
"outputPath": "output.json"
}
}
}2. analyze_file_diff
Analyzes specific changes between any two versions of a file.
{
"method": "tools/call",
"params": {
"name": "analyze_file_diff",
"arguments": {
"repoPath": "/path/to/repo",
"file": "path/to/file",
"versions": {
"from": "commit-hash-1",
"to": "commit-hash-2"
},
"outputPath": "output.json"
}
}
}3. analyze_file_context
Analyzes broader context of file changes in a specific commit.
{
"method": "tools/call",
"params": {
"name": "analyze_file_context",
"arguments": {
"repoPath": "/path/to/repo",
"file": "path/to/file",
"commit": "commit-hash",
"outputPath": "output.json"
}
}
}4. analyze_file_semantics
Analyzes semantic changes and patterns in file history.
{
"method": "tools/call",
"params": {
"name": "analyze_file_semantics",
"arguments": {
"repoPath": "/path/to/repo",
"file": "path/to/file",
"outputPath": "output.json"
}
}
}Output Format
All tools output JSON files containing:
Detailed analysis results
Summary statistics
Change patterns and relationships
Risk assessments (where applicable)
Requirements
Node.js
Git (must be installed and accessible)
MCP SDK
License
This project is licensed under the Apache License, Version 2.0 - see the LICENSE.txt file for details.
Copyright davidorex.ai. 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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides tools for analyzing project structures, searching through codebases, managing dependencies, and performing file operations with advanced filtering capabilities.Last updated6211MIT
- AlicenseAqualityAmaintenanceProvides intelligent file system operations with advanced features including code analysis and modification across multiple languages, version control (Git/GitHub), file compression, encryption, semantic search, batch operations, and secure shell command execution.Last updated16MIT
- Flicense-qualityDmaintenanceAnalyzes local Git repositories to provide detailed insights into commit statistics, contributor activity, and frequently changed files. It allows users to query repository history and access structured activity data through the Model Context Protocol.Last updated
- AlicenseBqualityDmaintenanceEnables Git repository interaction and automation via LLMs, providing tools to read, search, and manipulate Git repositories.Last updated15107MIT
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Independent static verification for exact immutable public GitHub commits.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidorex/git-file-forensics'
If you have feedback or need assistance with the MCP directory API, please join our Discord server