LeanCTX bietet 58 MCP Tools in vier Kategorien. Jedes Tool wird von der KI automatisch verwendet.
Kern-Tools - Datei & Code
Das Fundament - 90% der AI-Coding-Interaktionen.
| Tool | Was es macht | Einsparung |
|---|---|---|
ctx_read | Intelligentes Dateilesen mit 10 Lesemodi + Session-Caching | up to 99% |
ctx_multi_read | Batch-Dateilesen in einem Aufruf | weniger Roundtrips |
ctx_tree | Kompakte Projektstruktur-Karten | 34-60% |
ctx_shell | Shell-Befehle mit 95+ Muster-Kompression. Verwende raw=true für unkomprimierte Ausgabe. | |
ctx_search | Regex-Code-Suche mit kompakten Ergebnissen | 50-80% |
ctx_edit | Context-aware file editor with create, replace, and replace_all | - |
ctx_delta | Show only changed lines since last read | 80-95% |
ctx_smart_read | Intelligent single-call read with auto-mode | varies |
Vollständige Kern-Tools-Dokumentation ansehen →
Intelligence Engine
Tools, die über Kompression hinausgehen - sie verstehen deinen Workflow.
| Tool | Was es macht |
|---|---|
ctx_fill | Prioritätsbasierte Kontextbefüllung mit Token-Budget |
ctx_intent | Semantische Absichtserkennung + automatisches Dateiladen |
ctx_context | Multi-Turn Kontext-Zustandsübersicht |
ctx_graph | Persistenter Projekt-Abhängigkeitsgraph |
ctx_dedup | Dateiübergreifende Deduplizierungsanalyse |
ctx_response | Bidirektionale Antwortkompression |
ctx_discover | Shell-Verlaufsanalyse für verpasste Kompressionsopportunitäten |
ctx_preload | Proaktiver Kontext-Lader - cached aufgabenrelevante Dateien beim Sitzungsstart |
ctx_semantic_search | Hybride semantische Suche (BM25 + Embeddings) - findet Code nach Bedeutung, auch ohne Keyword-Overlap |
ctx_overview | Project overview with structure, entry points, and key files |
ctx_prefetch | Pre-load files based on task context and changed files |
ctx_graph_diagram | Mermaid-Diagramme für Dependency- oder Call-Graph |
ctx_compress_memory | Memory/Config-Markdown komprimieren (Code/URLs behalten) + .original Backup |
ctx_impact | Impact analysis: trace dependency chains and build graphs |
ctx_architecture | Graph-based architecture analysis: clusters, layers, cycles |
ctx_analyze | Entropy analysis - recommends optimal compression mode |
Vollständige Intelligence Engine Dokumentation ansehen →
Session & Monitoring
Alles für Token-Einsparungen messen und optimieren.
| Tool | Was es macht |
|---|---|
ctx_session | Chat-übergreifender Session-Speicher |
ctx_compress | Kompakter Kontext-Checkpoint |
ctx_benchmark | Echte Token-Zählungen pro Modus |
ctx_metrics | Session-Statistiken mit USD-Kostenschätzungen |
ctx_wrapped | Einsparungs-Report |
ctx_cache | Explizite Cache-Verwaltung |
ctx_gain | Query token savings, GainScore (0–100), cost breakdowns, task classifications, and per-agent statistics. Powered by the GainEngine with embedded ModelPricing. |
ctx_heatmap | File access heatmap - find hot files and cold directories |
Vollständige Session & Monitoring Dokumentation ansehen →
Speicher & Multi-Agent
Sitzungsübergreifender Speicher und Multi-Agent-Koordination. Neu in v2.7.0.
| Tool | Was es macht |
|---|---|
ctx_knowledge | Persistenter Projekt-Wissensspeicher |
ctx_agent | Multi-Agent Koordination - Registrierung, Posting, Aufgaben-Handoff, Status-Sync |
ctx_share | Multi-Agent Kontext-Sharing - Push/Pull gecachter Dateikontexte zwischen Agenten |
ctx_task | Task delegation and tracking across agents |
ctx_cost | Cost attribution - track token spend per agent and tool |
ctx_context | Multi-Turn Kontext-Zustandsübersicht |
Vollständige Speicher & Multi-Agent Dokumentation ansehen →
Workflow & Orchestration
State machines, context handoff, sandboxed code execution, and quality feedback loops.
| Tool | Was es macht |
|---|---|
ctx_workflow | State-machine workflows with step ordering and evidence |
ctx_handoff | Context transfer between sessions or agents |
ctx_execute | Sandboxed code execution in 11 languages |
ctx_feedback | Quality feedback: latency, token counts, model info |
View Workflow & Orchestration docs →
Analysis & Navigation
Tree-sitter-powered symbol navigation, call graphs, route extraction, and structural outlining.
| Tool | Was es macht |
|---|---|
ctx_symbol | Find symbol definitions across 18 languages |
ctx_callers | Find all call sites of a function |
ctx_callees | Find all functions called by a symbol |
ctx_outline | Structural outline of a file |
ctx_routes | Extract HTTP routes from web frameworks |
ctx_smells | Code smell detection with graph-enriched scoring (long functions, deep nesting, complexity) |
ctx_smells | Detect code smells and anti-patterns |