git-archaeologist

v0.1.1
io.github.engrmaziz/git-archaeologist Checked 4 hours ago Published 5 months ago

Trace code history, commit reasoning, and PR context directly from Git logs.

Add this to your Claude Desktop, Cursor, or Continue MCP config. 1. git blame identifies the commits behind a line range. 2. Each commit is resolved to its GitHub PR via the API. 3. PR text is parsed for linked issues (fixes #N). 4. Results are cached in SQLite to respect API rate limits.

Summary extracted from the README.

Install

{
  "mcpServers": {
    "git-archaeologist": {
      "command": "npx",
      "args": ["-y", "git-archaeologist-mcp"],
      "env": {
        "GITHUB_TOKEN": "your_github_token",
        "REPO_PATH": "/absolute/path/to/your/repo"
      }
    }
  }
}

Add this to your Claude Desktop, Cursor, or Continue MCP config.

How it works

  1. git blame identifies the commits behind a line range.
  2. Each commit is resolved to its GitHub PR via the API.
  3. PR text is parsed for linked issues (fixes #N).
  4. Results are cached in SQLite to respect API rate limits.

Demo of git-archaeologist

License

MIT