jCodeMunch vs CodeGraph (by colbymchenry)
| jCodeMunch | CodeGraph | |
|---|---|---|
| Token reduction on code exploration | ✓ ~95 % | ~ "88% fewer tool calls, 53% faster, 62% fewer tokens" on a 7-codebase Claude-Code Explore-agent benchmark, re-measured 2026-08-05 on Claude Opus 4.8 at the median of 4 runs per arm, with the CLI blocked in both arms |
| Symbol-level extraction (functions, classes) | ✓ 79 languages (incl. YAML/Ansible, Razor/Blazor, SQL/dbt, Erlang, Fortran, Pascal, MATLAB, Ada, COBOL, Zig, PowerShell) | ✓ 34 languages via tree-sitter (20 in a native Rust kernel); symbols + framework-aware route nodes across 17 frameworks (Django, Flask, FastAPI, Express, Laravel, Rails, Spring, Gin, Axum, ASP.NET, Vapor, React Router, SvelteKit and more) |
| Doc section search | ✓ via jDocMunch | ✗ Code graph only |
| Requires pre-indexing | ✓ One-time, incremental; SHA-based freshness managed automatically via freshness_mode config (relaxed/strict); list_repos exposes git_head for agent-side freshness reasoning; index_file for single-file surgical updates; watch-claude auto-discovers Claude Code worktrees | ✓ Persistent SQLite + FTS5 graph; native-OS filewatcher with debounced auto-sync |
| Works with AI agents (MCP) | ✓ Native MCP server (stdio, SSE, streamable-http); Claude Code hook integration (PreToolUse/PostToolUse → index-file); 5 built-in MCP prompt templates (workflow, explore, assess, triage, trace). Adaptive tool surface keeps the agent's tool budget in check: core/standard/full tiers, or tool_surface=counter collapses to a 3-tool front door (order/menu/route) that fits any tool-count cap (e.g. a 50-tool limit) with zero capability loss | ✓ MCP server; codegraph_explore is the only tool listed by default, with codegraph_search / callers / callees / impact / node / files / status unlisted but functional (re-enable via CODEGRAPH_MCP_TOOLS); targets Claude Code primarily |
| Import graph / reference tracing | ✓ find_importers (with has_importers flag), find_references, check_references, get_blast_radius (depth-scored risk + has_test_reach per file), get_changed_symbols, get_dependency_graph; get_untested_symbols (import-graph test reachability); TS/SvelteKit path alias resolution; cross-repo via cross_repo=true on find_importers, get_blast_radius, get_dependency_graph + dedicated get_cross_repo_map | ✓ Symbol relationships, callers/callees, full impact radius via dedicated tools; framework-route ↔ handler edges |
| Architecture-decision context (revert/tradeoff/root-cause history surfaced during analysis) | ✓ get_blast_radius / get_impact_preview surface git-mined decision-bearing commits (revert/perf/refactor/rename/bugfix) + a volatility read (v1.108.59, opt-in include_decisions); get_symbol_provenance adds a per-symbol decision narrative. Read-only: surfaced from the commit record, never persisted | ✗ |
| Write / modify files | ✗ Read-only by design | ✗ Read-only |
| Runs fully offline / local | ✓ Local index, no backend | ✓ Pure local; SQLite-only; no API |
| Commercial use permitted | ✓ Paid license available | ✓ |
| License | Free non-commercial; paid commercial | MIT |
| Dead code detection | ✓ find_dead_code: free; confidence-scored; cascading dead-code chains; entry-point heuristics | ✗ |
| Semantic / hybrid search | ✓ Opt-in BM25+vector (embed_repo); 3 providers: sentence-transformers, Gemini (task-aware), OpenAI; pure BM25 when disabled | ~ FTS5 full-text only; no embeddings claimed |
| Token-budgeted retrieval | ✓ get_ranked_context (BM25 + PageRank strategies) + get_context_bundle budget params | ~ Compact tool returns; no explicit budget API |
| Works alongside the others | ✓ Complements all of them | ~ Same MCP layer; overlapping problem space: pick one, not both, for code intelligence in Claude Code |
CodeGraph is a TypeScript MCP server that ships a pre-indexed knowledge graph to
Claude Code: designed specifically to short-circuit the Explore-agent loop.
It builds a SQLite + FTS5 graph of symbols, relationships, callers/callees, and
framework-aware route nodes (17 frameworks, from Django and Flask through Express,
Laravel, Rails, Spring, Gin, Axum, ASP.NET, Vapor, React Router and SvelteKit). Its
headline benchmark is striking, and was re-measured on 2026-08-05 against the current
build on Claude Opus 4.8: across 7 real-world codebases, at the median of 4 runs per
arm, Explore-agent sessions used 88% fewer tool calls, ran 53% faster, spent 62% fewer
tokens and cut file reads to zero on all seven. The harness blocks the codegraph
CLI in both arms and reports 0 of 28 contaminated without-arm runs.
- SQLite + FTS5 graph; filewatcher uses native OS events (FSEvents / inotify / ReadDirectoryChangesW) with debounced auto-sync
codegraph_explorereturns entry points + related symbols + code snippets in one call: designed to replace Claude Code's Explore agent, and since the surface trim it is the only tool listed by defaultcodegraph_callers/codegraph_callees/codegraph_impactfor impact analysis: unlisted by default, re-enabled withCODEGRAPH_MCP_TOOLSor called from the CLI- Framework-aware route nodes:
routenodes linked byreferencesedges to handler classes/functions across 17 web frameworks - 34 languages: TS, JS, ArkTS, Python, Go, Rust, Java, C#, PHP, Ruby, C, C++, Objective-C, Metal, CUDA, Swift, Kotlin, Scala, Dart, Svelte, Vue, Astro, Liquid, Pascal/Delphi, Lua, R, Luau, CFML, COBOL, VB.NET, Erlang, Solidity, Terraform/OpenTofu, Nix, 20 of them in the native Rust kernel
npx @colbymchenry/codegraph: interactive installer auto-configures Claude Code's MCP entry + auto-allow rules- ✗ Full-text only: no semantic / embedding search
- ✗ No doc section search
- Hybrid BM25 + semantic vector search (opt-in); local sentence-transformers, Gemini, or OpenAI embeddings
get_ranked_context: query-driven token budget; BM25 + PageRank + identity boostplan_refactoring: rename / move / extract / signature-change plans with edit blocksget_pr_risk_profile: composite risk score for branch/PR review- jDocMunch for section-level doc retrieval;
get_project_intelfor Dockerfiles, CI, K8s, compose, .env templates - 70+ languages including dbt SQL (Jinja preprocessed), Razor/Blazor, Erlang, Fortran, COBOL, Pascal, Ada
- Multi-host: Claude Code, Cursor, Windsurf, Codex, Continue, not Claude-Code-specific
- Public observatory (jcodemunch-observatory) tracks 11 popular OSS repos weekly with six-axis health scores
More comparisons
jCodeMunch vs caveman · jCodeMunch vs RTK · jCodeMunch vs Headroom · jCodeMunch vs GitNexus · jCodeMunch vs Serena · jCodeMunch vs Repomix · jCodeMunch vs Context Mode · jCodeMunch vs RepoMapper · jCodeMunch vs codebase-memory-mcp · jCodeMunch vs Ponytail
The full comparison of all 47 tools, with every one side by side in a single table.
caveman vs Ponytail vs RTK vs Headroom vs jCodeMunch: which one saves which tokens.