ctx-tree intercepts every Claude Code tool call โ native and MCP โ and routes content through a persistent SQLite graph. Claude gets compact node references instead of raw data. 95โ99% context reduction.
The same file read again โ next turn or next week โ costs zero tokens. It's already in the graph.
observation node. Injects nodeId so subagents reference it without re-reading. Surfaces in future sessions via ctx_tree_search.ctx_tree_* replacement call as additionalContext โ Claude retries immediately with the correct tool.ctx_tree_compose reference โ zero disk I/O. Cache miss: passthrough, first load stores the skill for next time.note node linking all subagent work. ctx_tree_neighbors(sessionId) surfaces the full subagent graph from the parent session.Built on mcp-exec โ context-efficient MCP workflow execution. ยท Full interactive visualization ยท Design spec