{"id":"53e965a5-5f75-4381-98eb-295795ac7309","slug":"davidorex-git-file-forensics","kind":"mcp","name":"git-file-forensics","summary":"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.","owner":"davidorex","repoUrl":"https://github.com/davidorex/git-file-forensics","license":"Apache-2.0","licenseTier":"permissive","trust":"community","stars":1,"match":null,"fewStars":true,"format":"mcp","createdAt":"2025-02-05T04:27:19.000Z","addedAt":"2026-10-14T05:35:14.975Z","logoUrl":"https://avatars.githubusercontent.com/u/742286?v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["files-documents","developer-tools"],"tags":[],"runtime":"binary","local":true,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-10-18T00:18:50.729Z","sample":false,"url":"https://conduits.dev/tools/davidorex-git-file-forensics","language":"JavaScript","transports":["stdio"],"install":{},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"# Git File Forensics MCP\n\nAn 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.\n\n## Installation\n\n1. Clone and build the server:\n```bash\ngit clone [repository-url]\ncd git-file-forensics\nnpm install\nnpm run build\n```\n\n2. Add to your MCP settings (`~/Library/Application Support/Code/User/globalStorage/david-dafu-dev.dafu/settings/cline_mcp_settings.json`):\n```json\n{\n  \"mcpServers\": {\n    \"git-file-forensics\": {\n      \"command\": \"/opt/homebrew/bin/node\",\n      \"args\": [\"/path/to/git-file-forensics/build/index.js\"],\n      \"alwaysAllow\": []\n    }\n  }\n}\n```\n\n## Available Tools\n\n### 1. track_file_versions\nTracks complete version history of a specific file, including renames and moves.\n\n```json\n{\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"track_file_versions\",\n    \"arguments\": {\n      \"repoPath\": \"/path/to/repo\",\n      \"file\": \"path/to/file\",\n      \"outputPath\": \"output.json\"\n    }\n  }\n}\n```\n\n### 2. analyze_file_diff\nAnalyzes specific changes between any two versions of a file.\n\n```json\n{\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"analyze_file_diff\",\n    \"arguments\": {\n      \"repoPath\": \"/path/to/repo\",\n      \"file\": \"path/to/file\",\n      \"versions\": {\n        \"from\": \"commit-hash-1\",\n        \"to\": \"commit-hash-2\"\n      },\n      \"outputPath\": \"output.json\"\n    }\n  }\n}\n```\n\n### 3. analyze_file_context\nAnalyzes broader context of file changes in a specific commit.\n\n```json\n{\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"analyze_file_context\",\n    \"arguments\": {\n      \"repoPath\": \"/path/to/repo\",\n      \"file\": \"path/to/file\",\n      \"commit\": \"commit-hash\",\n      \"outputPath\": \"output.json\"\n    }\n  }\n}\n```\n\n### 4. analyze_file_semantics\nAnalyzes semantic changes and patterns in file history.\n\n```json\n{\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"analyze_file_semantics\",\n    \"arguments\": {\n      \"repoPath\": \"/path/to/repo\",\n      \"file\": \"path/to/file\",\n      \"outputPath\": \"output.json\"\n    }\n  }\n}\n```\n\n## Output Format\n\nAll tools output JSON files containing:\n- Detailed analysis results\n- Summary statistics\n- Change patterns and relationships\n- Risk assessments (where applicable)\n\n## Requirements\n\n- Node.js\n- Git (must be installed and accessible)\n- MCP SDK\n\n## License\n\nThis project is licensed under the Apache License, Version 2.0 - see the [LICENSE.txt](LICENSE.txt) file for details.\n\nCopyright 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\n\n"}