ripwire alternative: trace-mcp vs ripwire

TL;DR. ripwire (redhat-et/ripwire, 2.3K stars, Apache-2.0, C++) calls itself the ripgrep of AI context and earns the name: one self-contained offline binary, no API key, no embeddings, no index server, no daemon — a ranked map (signatures at a claimed 74.7% fewer bytes than bodies, callers, blast radius, tests-to-run, quality deltas) rendered per invocation, with the MCP server deliberately demoted to an optional second interface because “its verb schemas sit in your agent’s context every session”. trace-mcp is the mirror image: a persistent graph in SQLite + FTS5 served over MCP as the core product, with 88 framework integrations, AST refactoring and code-linked memory across sessions.

The honest summary is that ripwire is the best-argued page in this field — published evals with the losses included — and the gap between the two tools is narrower than on any other page here.

Head-to-head

Capability trace-mcp ripwire
GitHub stars 175 2.3K
License MIT Apache-2.0
Written in TypeScript C++ (C++23)
Model persistent index (SQLite + FTS5) per-invocation ranked map
Dependencies at runtime Node.js zero (single binary)
Daemon / index server embedded daemon + watcher ✗ none
Call graph ✓ bidirectional, graph-based ✓ ranked, deterministic, per-edge uncertainty labels
Impact / blast radius ✓ reverse dependency traversal ✓ blast radius + tests-to-run
Framework-aware edges ✓ 88 integrations ✗ not stated in README on reading date
MCP tools advertised (default) 29 (~11.6K tok); 182 on full optional second interface; CLI-first
Languages (parsed) 81 (tree-sitter) 25 named in README
Published evals with losses ✓ PR benchmark with blind judge ✓ LocBench slice + 48-question duel, defeats named
Refactoring write tools ✓ AST rename, move, extract, codemod ✗ map + verdicts, no write path stated
Security / quality ✓ OWASP Top-10 taint, SARIF 2.1.0 ✓ quality deltas, test gates (McCabe/Halstead lineage)
Session memory ✓ code-linked decisions, staleness-checked --recall over notes; code-linking not stated
Works offline, no API keys ✓ ✓

Verified on September 26, 2026 against the ripwire README at main (2.3K stars, redhat-et/ripwire, v0.6.3) plus the GitHub API for stars, license and language. ripwire’s benchmark figures (74.7% signature bytes, 0.25 s index, LocBench 58.3% vs 40.0%, 27–7–14 duel) are its own published claims, quoted as claims — not reproduced here.

When to pick ripwire

Honest version, and it is the strongest “theirs” section on this site:

When to pick trace-mcp

The honest caveat

ripwire’s duel section measures against “the leading graph-database code-context MCP server” without naming it in what we read — we do not know whether that server is us, and this page claims nothing about it either way. Their figures are quoted as their claims, with the methodology pointer (EVALS.md) attached so you can check rather than trust.

And our standing ceiling, stated on the comparisons page: line-based CFG, lexical taint with type-aware pruning — not a dataflow engine, and out of scope to become one. Against a peer whose quality lens cites fifty years of replicated results, that ceiling deserves stating plainly.

FAQ

What is the core difference between ripwire and trace-mcp? Per-call ranked map versus persistent stored index. ripwire renders orientation per invocation over a pipe; trace-mcp keeps the graph in SQLite and serves it over MCP across turns.

Does ripwire have a call graph and impact analysis? Yes — ranked deterministic call graph with per-edge uncertainty labels, blast radius, tests-to-run and quality deltas. Closest overlap with us on this site; the difference is persistence and framework depth.

What does ripwire do that trace-mcp does not? Zero-dep binary, CLI pipe with no session surface cost, evals with published losses, per-edge honesty rendering, verdict outputs for orchestrators, HTML map export.

What does trace-mcp do that ripwire does not? Cross-session persistent index, 88 framework edges, AST write path with import rewriting, code-linked memory with staleness checks.

Can I use both? Yes — ripwire CLI for cheap per-call orientation, trace-mcp graph for cross-session structure, framework edges and verified refactoring.

Next steps

Last updated: September 26, 2026