← All comparisons
Code search · LemonCrow vs cocoindex-code

What cocoindex-code says, and what it scored.

AST-based semantic code search built on CocoIndex, a Rust data-transformation engine: tree-sitter parsing plus embeddings.

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. cocoindex-code put the right file first 45.7% of the time; LemonCrow did 58.2%.

Same queries, same repos
ToolMRRRight firstp95
LemonCrow local search0.67658.2%134ms
cocoindex-code0.55745.7%595ms

The 70% token saving is cocoindex-code's own figure; this benchmark measures ranking, not tokens. On ranking it is the closest tool here: 0.557 MRR against LemonCrow's 0.676.

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 cocoindex-code says
“A lightweight, effective (AST-based) semantic code search tool for your codebase... Instant token saving by 70%.”
Publishes figures about itselfNo comparison with another toolRepository ↗
By kind of search
SearchLemonCrowcocoindex-code
DefinitionFind the file that defines a named symbol. 1,570 queries.0.8710.648
ContentFind the files whose text matches the query, such as where a name is used. 1,444 queries.0.8640.696
Semantic intentA plain-language description of what the code does. 1,800 queries.0.5760.590
SWE-benchSearches drawn from SWE-bench issue tasks. 1,908 queries.0.4930.371
Agent sessionsSearches coding agents actually ran, mined from real sessions. 491 queries.0.5710.455

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

By repository (14)
RepositoryLemonCrowcocoindex-code
astropy0.7150.614
django0.6520.511
flask0.6710.518
lemoncrow0.5370.432
linux0.6680.500
matplotlib0.7470.631
pylint0.7840.706
pytest0.7390.625
requests0.8030.691
scikit-learn0.6690.513
seaborn0.7680.711
sphinx0.5800.449
sympy0.6370.504
xarray0.7640.660

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.

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.