Do code navigation tools make Claude Code more efficient?

APRIL 9, 2026Updated NOVEMBER 14, 20264 min read
One robot lost in a maze of paper with a magnifying glass, while another walks straight to a target holding a map.
Does giving an LLM smarter code exploration tools make it more efficient? Testing code-aware tools on a private Python repo.

The question: if an LLM has a code index, does it explore a codebase with fewer tokens, calls, and less time than with plain file reads and grep?

I forked CodeRLM and turned it into an MCP server. It builds an AST index of the code. It exposes tools for caller tracing, symbol search, method extraction, and dependency graphs.

Tests ran on a private Python codebase for prediction-market trading. It's big and messy enough that finding callers isn't trivial.

Method

The model stayed fixed. Only the tools changed. The baseline was Claude Code with its built-in Read, Grep, and Glob.

The main metric was effective input tokens, adjusted for caching. I also tracked API calls, tool calls, wall time, and pass rate.

Results

SetupEffective input tokens vs baseline
1. CodeRLM replaces built-in tools13% more
2. CodeRLM added alongside built-in tools7.3% fewer
3. Only coderlm_callers, over MCP, on caller tasks39.3% fewer
4. Same tool wrapped in a Claude Code skill4.3% more

1. Replacing the built-in tools

I gave Claude the full CodeRLM suite and removed Read, Grep, and Glob. Result: 13% more tokens, 11% more API calls, 7% slower, and a lower pass rate.

In the logs, Claude mostly used CodeRLM to read files and search text. So it used it as a worse version of tools it already knew. The specialized tools were rarely called.

2. Adding CodeRLM alongside

I kept the built-in tools and added CodeRLM. Both setups passed every run. CodeRLM used 7.3% fewer tokens, weighted.

The task mix was broad: caller lookup, dependency lookup, code reading, and implementation. So it was hard to tell what was helping.

3. Only coderlm_callers

The logs showed coderlm_callers was doing most of the useful work. So I tested just that tool on caller-discovery tasks.

Result: 39.3% fewer tokens, with full compliance and correctness.

Without the tool, Claude greps for a name and reads each matching file. Then it works out which hits are real call sites and which function each one is in. This often takes several rounds. The tool returns that list in one call, already filtered, with the enclosing function attached.

4. Same tool as a skill

I wrapped the same lookup in a Claude Code skill to see if it would beat MCP. The first run hit usage-quota errors, so I threw it out.

The rerun used 4.3% more tokens than baseline. The skill worked correctly every time.

The extra cost was startup. Each fresh session had to invoke the skill, load its instructions, start a CLI, and parse shell output. MCP tools are already loaded when the session starts. The control task needed no code search at all, and it still cost more with the skill. So the overhead came from the wrapper.

I expected the skill to do better, given the "MCP is dead" talk online. In this benchmark, where every session starts fresh, it didn't.

Conclusion

Extra tools only helped when they replaced work the model would otherwise do itself. General tools like coderlm_grep and coderlm_search added nothing over the built-ins. One narrow tool over MCP worked best.