← All comparisons
Code search · LemonCrow vs CodeGraph

What CodeGraph says, and what it scored.

A local SQLite knowledge graph of symbols, call edges and dependencies, built with tree-sitter and queried over MCP.

We ran it against LemonCrow's local code search, the code_search tool Workspaces Lite gives Claude Code, Codex and OpenCode, on the same 7,213 searches across 14 open-source repositories. CodeGraph put the right file first 26.7% of the time; LemonCrow did 58.2%.

Same queries, same repos
ToolMRRRight firstp95
LemonCrow local search0.67658.2%134ms
CodeGraph0.29626.7%17ms

Publishes with-and-without numbers for itself. Second fastest here at 17ms p95, after Universal Ctags. Ranking: 0.296 MRR against LemonCrow's 0.676. It is also the one tool run through LemonCrow's agent cost suite, below.

MRR (mean reciprocal rank) is 1.0 when the right file is always the first result and 0.5 when it is second on average. Right first is how often the first result was right. p95 is the 95th-percentile query time; slowest is the slowest query seen. July 2026 run, one deterministic pass per query. LemonCrow's row was re-run after a fix to the harness's timing; the other tools' times predate that fix and may read slow. LemonCrow's September 2026 local release scored 0.6425 MRR on a newer set of 6,292 searches, which is not comparable with this table.

What CodeGraph says
“Surgical context, fewer tool calls, faster answers, 100% local.”
“CodeGraph hands the agent the exact code it needs in one call. It's a pre-built knowledge graph of every symbol, call edge, and dependency in your codebase.”
Publishes figures about itselfNo comparison with another toolRepository ↗
By kind of search
SearchLemonCrowCodeGraph
DefinitionFind the file that defines a named symbol. 1,570 queries.0.8710.766
ContentFind the files whose text matches the query, such as where a name is used. 1,444 queries.0.8640.000
Semantic intentA plain-language description of what the code does. 1,800 queries.0.5760.051
SWE-benchSearches drawn from SWE-bench issue tasks. 1,908 queries.0.4930.364
Agent sessionsSearches coding agents actually ran, mined from real sessions. 491 queries.0.5710.299

MRR per kind. The five kinds add up to the 7,213 queries; every tool ran all of them.

By repository (14)
RepositoryLemonCrowCodeGraph
astropy0.7150.310
django0.6520.286
flask0.6710.304
lemoncrow0.5370.296
linux0.6680.158
matplotlib0.7470.279
pylint0.7840.359
pytest0.7390.322
requests0.8030.373
scikit-learn0.6690.264
seaborn0.7680.331
sphinx0.5800.225
sympy0.6370.283
xarray0.7640.354

MRR per repository, over all five kinds of search. LemonCrow ranks higher on all 14. The lemoncrow/lemoncrow rows are LemonCrow's own repository, where the agent-session searches come from.

Agent cost, another suite

Claude Code answering one exploration question on each of 7 open-source repositories, 5 times each, with CodeGraph connected, against Claude Code on its own.

RepositoryCodeGraphvs baseline
Tokio$3.4428.1% pricier
Alamofire$2.4848.6% cheaper
Django$2.32even
OkHttp$1.3515.6% cheaper
VS Code$2.5616.6% cheaper
Gin$1.3624.9% pricier
Excalidraw$2.4729.6% cheaper
Total$15.9916.3% cheaper

Measured on LemonCrow's 7-repo, 5-rep exploration suite with claude-opus-4-8, not taken from CodeGraph's own numbers. Cheaper than baseline on 5 of 7 repos (16% to 49%), pricier on Tokio (+28%) and Gin (+25%), and 22.7% slower overall despite the lower total. CodeGraph's own published numbers for this repo set show it faster and never pricier. On the same suite, Claude Code with LemonCrow cost $6.29 in total, 67% under baseline.

Baseline total: $19.11. Per-repo detail and method: BENCHMARKS.md, Exploration Tasks.

Try it, and check the numbers

Workspaces Lite is free and open source (Apache-2.0), runs on your machine, needs no LemonCrow account and uploads no source. One command installs it and gives Claude Code its tools; use --agent codex or --agent opencode for those agents.

Install Workspaces
$ curl -fsSL https://lemoncrow.com/install.sh | bash -s -- --product workspaces --agent claude

The benchmark scored all 11 third-party tools in BENCHMARKS.md on the same queries. The method, the full table and the raw results are public.