Symbol Intelligence + Hybrid Semantic Search
Added — New MCP Tools
- Symbol & outline navigation
ctx_symbol— read a specific symbol by name (code span only)ctx_outline— compact file outline (symbols + signatures)
- Call graph navigation
ctx_callers— find callers of a symbolctx_callees— list callees of a symbol
- API surface extraction
ctx_routes— extract HTTP routes/endpoints across common frameworks
- Visualization
ctx_graph_diagram— Mermaid diagram for dependency graph / call graph
- Memory hygiene
ctx_compress_memory— compress large memory/config markdown while preserving code fences/URLs
Improved — ctx_semantic_search
- Search modes:
bm25,dense,hybrid(default) - Filters:
languages+path_globto scope results - Automation: auto-refreshes stale BM25 indexes; incremental embedding index updates
- Performance: process-level embedding engine cache (no repeated model load)
Fixed
- Route extraction: Spring-style Java methods with generic return types are now detected correctly.
- Graph diagrams:
depthis now respected when filtering edges forctx_graph_diagram.
Upgrade
cargo install lean-ctx # or
npm update -g lean-ctx-bin # or
brew upgrade lean-ctxFull Changelog: v3.0.2...v3.0.2