
loctree
by loctree
Structural code intelligence for AI agents to analyze dead exports, circular imports, and dependency graphs.
What it does
loctree provides AI-oriented static analysis for large codebases. It scans projects once to create a structural snapshot, allowing agents to query complex architectural questions like impact analysis and dead code detection without reading every file.
Tools
repo-view: High-level overview of the repository structure.slice: Extract a file along with its dependencies and consumers (holographic slice).find: Cross-match search to find where multiple terms co-occur.impact: Analyze the blast radius of changing a specific symbol or file.focus: Narrow the agent's attention to a specific structural subgraph.tree: Visualize dependency hierarchies.follow: Trace handler flows across FE/BE boundaries.
Installation
{
"mcpServers": {
"loctree": {
"command": "loctree-mcp",
"args": []
}
}
}
Supported hosts
- Claude Desktop
Quick install
loctree-mcpInformation
- Pricing
- free
- Published
- 5/27/2026
- stars






