AI Services Market
AI Services Market › Use cases › Software & DevOps
Software & DevOpsDone with Claude Code Nov 5, 2026

Give coding agents compiler-accurate call graphs for refactors

Lantern Lattice gives coding agents call-graph tracing, impact analysis and symbol-based edits over MCP, such as renaming a function across 4 files in two calls; built largely with Claude Code plugins. · Nov 5, 2026

Give coding agents compiler-accurate call graphs for refactors preview
What They Did
Lantern Lattice runs as an MCP server that builds call graphs from each language's own tools, such as rust-analyzer, gopls and clangd. The agent uses trace to list a function's callers, then one replace_text call to rename it across files. Its tools replace Grep, Read, Edit and Write, which keeps the graph current. Each non-Rust language was built mostly through its own Claude Code plugin.
How It Went
Renaming a function took two calls: 550 bytes for trace, 375 for the edit across 4 files. Grep plus reading the files was 26 lines in 23 files and 51 KB. Uncertain calls are left out.
Worth Knowing
Only tested with Claude Code so far; configs for other agents are untested. Rust queries on 20k symbols take 0.01 to 0.02 s, and the first answer after an edit about 1 s.
Try it yourself with Claude Code

In my repository at [path or repo name], I want to rename the function [function name] to [new name] safely. First trace everything that calls it and list the files and call sites affected, then make the rename across all of them, including tests and docs. Run [test command] afterward and stop once the tests pass, giving me a summary of every file changed.

Read the original ↗