semantic_analysis
Understand code relationships
How to use it
semantic_analysis is exposed by the Smart Tree MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the semantic_analysis tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Smart Tree
cargo install smart-treeOther tools in Smart Tree (16)
Multi-mode analysis with 80% token reduction
Build persistent memory across sessions
Pause execution, trigger a modal on the web dashboard, and ask the human user a question!
Save/restore AI session state
Language-specific search
Recall past insights instantly
Regex-powered file discovery
Repository status inline
Codebase metrics
/ removefunction: Structure-aware edits
Track long-term development sessions
Compressed project intelligence
Instant directory overview (10-100x faster)
Lightning-fast content search with context
AST-aware code editing (90% token savings!)
Track file changes