Git File Forensics
About
Provides deep git file-level forensics capabilities for tracking versions, analyzing diffs, examining commit contexts, and evaluating semantic changes in individual files.
Details
- Author
- davidorex
- Repository
- davidorex/git-file-forensics
- License
- Apache License 2.0
- Categories
- Developer Tools, Other, AI, Design, File Management, Infrastructure, Frontend
Jump to
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Git File ForensicsCommand (node, npx, python, etc.)/opt/homebrew/bin/nodeArguments-
Argument 1
/path/to/git-file-forensics/build/index.js
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
1. Clone and build the server:
git clone [repository-url]
cd git-file-forensics
npm install
npm run build
2. Add 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": []
}
}
}
track_file_versions
Tracks complete version history of a specific file, including renames and moves. Parameters: repoPath (string), file (string), outputPath (string)
analyze_file_diff
Analyzes specific changes between any two versions of a file. Parameters: repoPath (string), file (string), versions (object with from and to commit hashes), outputPath (string)
analyze_file_context
Analyzes broader context of file changes in a specific commit. Parameters: repoPath (string), file (string), commit (string), outputPath (string)
analyze_file_semantics
Analyzes semantic changes and patterns in file history. Parameters: repoPath (string), file (string), outputPath (string)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"git file forensics": {
"env": {},
"args": [
"/path/to/git-file-forensics/build/index.js"
],
"command": "/opt/homebrew/bin/node",
"alwaysAllow": []
}
}
}
Linux
{
"env": [],
"args": [
"/path/to/git-file-forensics/build/index.js"
],
"command": "/opt/homebrew/bin/node",
"alwaysAllow": []
}
Macos
{
"env": [],
"args": [
"/path/to/git-file-forensics/build/index.js"
],
"command": "/opt/homebrew/bin/node",
"alwaysAllow": []
}
Windows
{
"env": [],
"args": [
"/path/to/git-file-forensics/build/index.js"
],
"command": "/opt/homebrew/bin/node",
"alwaysAllow": []
}
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.
git clone [repository-url] cd git-file-forensics npm install npm run build
- Add 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": [] } } }
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" } } }
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" } } }
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" } } }
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" } } }
- Detailed analysis results
- Summary statistics
- Change patterns and relationships
- Risk assessments (where applicable)
- Node.js
- Git (must be installed and accessible)
- MCP SDK
This project is licensed under the Apache License, Version 2.0 - see theLICENSE.txtfile 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 athttp://www.apache.org/licenses/LICENSE-2.0
Creates commit messages from staged files in a local git repository.
An MCP server for interacting with the AtomGit API for version control and code hosting.
A portable MCP server for performing various GitHub operations on any repository.
Manage Forgejo repositories and execute commands through an MCP-compatible chat interface.
Integrates with the Gerrit code review system to review code changes and details.
Provides detailed analytics and insights for Git repositories.
Make git commits on behalf of AI to track AI contributions in your codebase.
Interact with the GitHub API for file operations, repository management, and search.
Manage GitHub repositories using a personal access token via CLI or environment variables.
Allows AI assistants to interact with the GitHub API for repository management, code collaboration, and other development tasks.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





