Exhume
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Exhume
Every codebase is a graveyard of decisions. Exhume digs them up and lets your AI ask the dead why.
Exhume reads a repo's git history and answers the question nobody can answer once the author has left: why is this here?
It is three things that share one engine:
MCP server | Kiro (or any MCP client) calls |
Spirit board | A map of a repo where every file is tinted by decay. Click a file to summon its story: birth, last touch, the people who wrote it and whether they are still around, turning points, linked issues. |
Resurrect | Pick a dead module and Exhume writes a Kiro spec (requirements, design, tasks) and a steering note from its history, each requirement citing the commit it came from. |
No model is called at runtime and nothing is uploaded. All analysis is deterministic and runs on git history alone. Kiro's own model does the reasoning inside Kiro.
Try it
The viewer ships with the history of a few well-known abandoned projects (request, bower, grunt, backbone, brackets). Deep links work:
?repo=request/request&file=request.js
?repo=adobe/brackets&dir=src/editor&resurrect=1Related MCP server: mcp-server-git-history
Use the MCP server in Kiro
This repo already contains .kiro/settings/mcp.json. To use it on another project, add to that project's .kiro/settings/mcp.json:
{
"mcpServers": {
"exhume": {
"command": "npx",
"args": ["-y", "tsx", "/path/to/exhume/src/mcp/index.ts"],
"env": { "EXHUME_REPO": "." }
}
}
}Then ask Kiro: "Why does src/billing/retry.ts exist, and is it safe to delete?"
Tool | Answers |
| Who has gone quiet, and which files were deleted |
| Who created a file, when, which turning points reshaped it, which issues and PRs it links to |
| Haunted files: rewritten often, writers gone. Check before editing |
| How few people wrote half of a file or folder |
| What existed under a path on a given date |
| A contributor's first and last commits, favourite files, final messages |
| A Kiro spec and steering note for reviving a module |
Run it
npm install
npm test # unit + property-based tests
npm run build # builds the MCP server to dist/
npm run snapshot # rebuild the packed histories in web/public/data
npm run web:dev # the spirit board on localhost
npm run web:build # static site in web/distRequires Node 20+ and git.
How it works
src/coreis pure TypeScript with no I/O. It parsesgit log --name-status, replays history oldest to newest (so renames are followed), and scores each file.Ghost: an author with no commit in 365 days. Decay:
0.6 * (1 - exp(-days/540)) + 0.4 * share of commits by ghosts, always in [0,1]. Bus factor: fewest authors covering half the commits. Haunted: rewritten at least twice as often as the median file, with decay of 0.55 or more.src/mcpis the only code that shells out to git, with an argument array.webis Vite and vanilla TypeScript. It runs the same core in the browser against packed JSON snapshots, so hosting is static and free.
The .kiro folder
steering/: product rules, tech rules, the visual language, and a note telling Kiro to consult Exhume before rewriting a file.specs/: requirements, design and tasks for the history engine, MCP server, spirit board and resurrect bundle.hooks/: a haunted-file guard (asks Exhume about a file as you save it), a purity check forsrc/core, and a manual snapshot refresh.settings/mcp.json: wires Exhume into Kiro for this repo.
Limits
Only repos in the crypt open in the viewer today. Live GitHub mode is the next task (.kiro/specs/history-engine/tasks.md). Squash-merge repos hide who really wrote what, and linked-issue detection reads commit subjects only.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Query your team's AI coding history and act on HypAware recommendations from any MCP client.
Repository knowledge graph MCP server for codebase understanding and debugging.
MCP server for the GitCore API, enabling AI agents to interact with GitCore repositories, issues, pull requests, and more.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for git archaeology — churn hotspots, blame summaries, bus factor, commit forensics and file history over any local repository.113MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search commits, retrieve diffs, and inspect file change history in a Git repository using MCP.52 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides AI coding agents with Git repository history analysis, including churn hotspot detection, semantic file coupling, and recent context summaries through MCP tools.MIT
- AlicenseAqualityDmaintenanceEnables AI coding agents to retrieve cited git-history explanations for files and tickets, compile a Team Engineering Contract from repository artifacts, and follow guided Understand/Build workflows over MCP stdio. It lets clients such as Grok, Claude Code, Codex, Kiro, and Cursor share the same tools for evidence-backed repository understanding.17 npmApache 2.0