Persistent code knowledge graph + 9 composite MCP tools for AI coding agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
forensic-deepdive gives an AI coding agent forensic understanding of an unfamiliar codebase β a persistent knowledge graph, an MCP server, and five durable markdown artifacts, so your agent stops re-discovering the same architecture from scratch every session.

Why this is different: every edge and every emitted claim carries a confidence tag β
EXTRACTED (deterministic fact) / INFERRED (a heuristic resolved cleanly) / AMBIGUOUS
(multiple candidates, shown, not guessed) β so your agent knows what to trust before it
acts on it. Nothing else in this category tags confidence at all.
| forensic-deepdive | GitNexus | CodeGraphContext | DeepWiki | Sourcegraph | |
|---|---|---|---|---|---|
| License | Apache-2.0 | PolyForm Noncommercial | MIT | proprietary (open variant: MIT) | partial |
| Persistent code knowledge graph | β LadybugDB | β LadybugDB | partial | β | partial |
| MCP server | β 9 composite tools | β 16 tools | partial | β | β |
| Per-edge confidence taxonomy | β EXTRACTED / INFERRED / AMBIGUOUS | β | β | β | β |
| Git archaeology as a first-class layer | β | β | β | β | partial |
| Durable committed markdown artifacts | β 5 files | partial | partial | β (wiki) | β |
Agent-insight layer (record_insight / recall_insights) | β | β | β | β | β |
| Multi-platform skill emission | β 10 shims | partial | partial | β | β |
| Local-only (no cloud required) | β co-equal | β | β | β | β |
GitNexus is the runaway leader in this category β but its PolyForm Noncommercial
license locks every commercial user out. forensic-deepdive is the Apache-2.0
alternative: same persistent-graph-plus-MCP shape, plus honest confidence tags, git
archaeology, persistent agent memory, and the 5 markdown artifacts as a fallback for any
agent that doesn't speak MCP β with a license your employer's legal team will actually
sign off on.
forensic-deepdive analyzes any codebase (9 languages, polyglot) and produces:
<repo>/.deepdive/graph.lbug β File, Symbol, Module, Commit, Author, Endpoint, and DbTable nodes plus DEFINES, MEMBER_OF, IMPORTS, CALLS, EXTENDS, IMPLEMENTS, TOUCHED_BY_COMMIT, AUTHORED_BY, CO_CHANGES_WITH, and the cross-boundary HANDLES / CALLS_ENDPOINT / ROUTES_TO / INJECTS / PERSISTS_TO edges. Every edge carries a confidence tag (EXTRACTED / INFERRED / AMBIGUOUS) β no hidden heuristics. The single Endpoint join node unifies five cross-boundary protocols (HTTP, MCP tools, registry-dispatch, gRPC, messaging/AMQP), so a frontend call resolves to its backend handler across the stack as one ROUTES_TO edge.forensic serve) exposing 9 composite tools (impact, context, archaeology, flow, query, record_insight, recall_insights, visualize, trace) consumable by Claude Code, Cursor, Codex, Continue, Cline, Windsurf β and any other MCP-aware agent.<repo>/docs/codebase/, regenerated from the graph on every extract:
MAP.md β what's where, ranked by centrality.HOTPATHS.md β the dependency hot spots, with a per-row confidence-mix column so you see exactly how cleanly each symbol resolves.ARCHAEOLOGY.md β why the code looks the way it does (git history, top authors with %, bus factor, co-change clusters, defect proximity).MENTAL_MODEL.md β the doc the original author would write to onboard a new hire.AGENT_BRIEF.md β β€5 KB of assertive Never/Always rules with per-rule confidence tags. Drop-in CLAUDE.md for any project.CLAUDE.md, AGENTS.md, .cursor/rules/codebase.mdc, .continue/rules/codebase.md), 5 single-intent Claude skills under .claude/skills/codebase-{exploring,debugging,impact-analysis,refactoring,onboarding}/, and a .claude-plugin/plugin.json manifest. All write-if-absent β hand-edited files are never overwritten.record_insight / recall_insights MCP tools backed by <repo>/.deepdive/insights.jsonl by default (zero dependencies, human-readable, git-friendly). The optional [graphiti] extra upgrades to a temporal knowledge graph backend above a 2-of-5 repo-size threshold.Extract also regenerates ARCHITECTURE.md β a system-level Mermaid view of the cross-boundary graph (ROUTES_TO / INJECTS / PERSISTS_TO, confidence-styled), a separate human-validation surface (not one of the five contract artifacts, exactly like forensic visualize and serve --ui). Regenerate it on its own with forensic diagram --repo <repo>. Use it to sanity-check the graph β a wrong edge there is a wrong edge everywhere.
Add --emit-vault to also write an Obsidian-friendly vault under <output>/vault/ β every artifact gets summary:/tags: frontmatter, cross-references become [[wikilinks]], and an INDEX.md MOC ties them together (with a .obsidian/ config). A local-first second brain for humans (graph view, backlinks) and agents (triage by summary: without opening files, a traversable index). Opt-in; off by default.
v0.10.0 "The Upgrade Path" β an integrity release. v0.9 shipped correct, and then its findings run caught --refresh-shims being structurally unable to refresh half its targets, with 909 tests green over it. The cause wasn't the fix β it was that every test in the suite wrote into an empty directory, so only the first run had ever been tested. Everyone who isn't a new user lives on the untested path.
So 0.10 adds almost no surface. It makes the guarantees already made real: running Deepdive over a repo that already carries a previous release's output now provably converges (and provably leaves your hand-edited files alone), extract tells you when generated shims are stale instead of waiting for you to know the flag exists, and a stale examples/ fails CI rather than being caught by eye mid-release. New: forensic extract --timings, per-phase wall clock.
It also contains a cancelled feature, which is the more useful story. The planned performance work targeted PageRank. The profile required before touching it measured PageRank at 0.04 % of a large extract, and the already-batched store writes at 79β87 %. The optimization was disproven before it was written β see docs/findings/v0.10/PROFILE.md. Confirming a known technique had been applied had been mistaken for confirming it was fast.
The engine, the graph, the contract layer and the 5-artifact + 9-MCP-tool contract are unchanged from 0.9, and emitted content is byte-identical but for the version footer.
β If you installed 0.8.0 or 0.9.0 and
forensic servestopped working β this is why. Those releases declaremcp>=1.27.1with no upper bound.mcp2.0.0 removedmcp.server.fastmcp, which the MCP server imports, so a fresh install of 0.8.0 or 0.9.0 today resolves tomcp2.0.0 and fails on import. Our development lockfile pinned 1.27.1, so every local check stayed green and only the clean-environment wheel smoke in CI could see it. Fix: upgrade to 0.10.0 (which capsmcp<2), or pinmcp<2yourself. Nothing else about those releases is affected.
What's proven, and what isn't β the honest-framing section moved to
docs/findings/HONEST.md (unchanged content, DEC-119). Short
version: proven usable with real agent auto-discovery; not proven to make
autonomous issue resolution measurably faster end-to-end (hardware-gated). This is an
assisted-analysis tool, and it is not overclaimed as more.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/forensic-deepdive)<a href="https://allmcps.com/mcp/forensic-deepdive"><img src="https://allmcps.com/api/badge/forensic-deepdive?style=directory" alt="Forensic Deepdive on AllMCPs" /></a>