Show HN: CDX Code Booster – Cut Claude Code and Cursor Token Burn via AST/MCP A new tool called CDX Code Booster, distributed via `pip install cdx-code-booster`, claims to cut redundant session context consumption in coding agents by roughly 40%–50% through native AST code slicing, cross-file chain-of-thought anchors, causal log filtering and auto-compacting local memory, according to the project's own internal benchmark. The tool configures official MCP endpoints across Claude Code, Cursor, VS Code, OpenAI Codex CLI and Google Antigravity in one command, and reports input token reductions of about 65%–92% for its `cdx_smart_file_read` MCP tool and 70%–96% for `cdx_slim_log`. CDX Code Booster runs entirely on the user's machine, compiled into native Cython binaries, and sends 0 bytes to external clouds. Local AST Context Optimization & Cross-Agent Shared Memory. Connect Claude Code · Cursor · VS Code · OpenAI Codex CLI · Google Antigravity in one command. Native AST code slicing, Cross-File CoT Anchors, causal log filtering, and auto-compacting local memory reduce redundant session context consumption by ~40%–50% Internal Benchmark; varies by codebase and prompt pattern — 100% on your machine. pip install cdx-code-booster && cdx-code-booster --install 3 Ultra-Lean Native Engines, Zero Schema Bloat 0ms prompt hook overhead, zero background indexers, and 0 bytes sent to external clouds — compiled into native Cython .pyd/.so binaries. 1. AST Smart Reader + CoT Anchor Slices exact target classes/functions instead of loading entire files, and pins both intra-file and cross-file imported symbol line numbers to eliminate speculative CoT loops. 2. Polyglot Error Log Slimmer Strips repetitive CI/compiler progress noise and separates external site-packages and node modules frames so your exact project fault line appears first. 3. Auto-Tidy 5-IDE Memory Relay Hit a 5-hour session cap in Claude Code? Switch immediately to Cursor, VS Code, Codex CLI, or Antigravity with an auto-deduplicated Top-9 handoff brief that supersedes stale drafts and quarantines reverted dead-ends. Seamless 5-IDE Native Configuration One command configures official MCP endpoints and always-on quota-saving rules across all five primary coding environments. Verify Claude Code integration & live token savings cdx-code-booster --stats Generated bundle: ~/.cdx code booster/claude-code-plugin/.mcp.json + CLAUDE.md Payload Architecture: Raw Injection vs. AST Surgical Extraction Standardized payload comparison on representative engineering tasks Internal Benchmark . Operates identically across cloud subscriptions, API keys, and local LLM runtimes. Exposed MCP Tool Reference | MCP Tool Identifier | Core Capability | Measured Reduction Internal Benchmark | |---|---|---| | cdx smart file read | AST symbol map, targeted slices, and intra/cross-file CoT call coordinates | ~65% to 92% input token reduction | | cdx slim log | CI/compiler log deduplication and project fault frame pinning above library noise | ~70% to 96% log token reduction | | cdx agent memory | Auto-compacting shared memory across Claude Code, Cursor, VS Code, Codex CLI & Antigravity topic deduplication & obsolete dead-end pruning | Top-9 brief eliminates stale re-briefing overhead | Practical Usage Guide & Cross-Agent Relay Examples After running cdx-code-booster --install , installed rules trigger AST slicing and log filtering automatically. For cross-agent handoffs or targeted reads, simply ask in plain English or run CLI commands. 1. Save State Before Switching When hitting a 5-hour cap or switching from Claude Code to Cursor/VS Code/Codex, ask the current agent to checkpoint your progress: Save our current auth refactor summary and remaining TODOs to CDX memory under project 'checkout-api'. 2. Quarantine Reverted Attempts If an experiment failed or was rolled back, mark it obsolete so the next agent never wastes quota repeating it: Save an obsolete note to CDX memory for 'checkout-api': reverted Redis lock caused timeout under load. 3. Pick Up Instantly in Next IDE Open Cursor, VS Code, Codex CLI, or Antigravity and resume with one sentence — stale drafts and obsolete notes are filtered out: Recall CDX memory for project 'checkout-api' and continue implementing the remaining TODOs. 1. Targeted AST Read & Log Slimming Automatic via installed rules, or ask explicitly in chat : Chat prompt: "Use CDX smart file read on src/OrderWorkspace.tsx for symbol 'handleConfirmRefund'" Chat prompt: "Run pytest and pass any failure output through CDX slim log" 2. Initialize project-scoped MCP configs .mcp.json, .github/copilot-instructions.md, .cursor/rules, .codex : cdx-code-booster --init-project . 3. Inspect live subscription status & cumulative local token savings ledger: cdx-code-booster --stats 4. Manually compact & deduplicate shared memory vault or export portable JSON pack : cdx-code-booster --consolidate-memory --project checkout-api cdx-code-booster --export-team-memory .cdx/team memory.json --project checkout-api 5. Optional — Use a custom local storage folder across all 5 IDEs local SSD recommended : cdx-code-booster --install --data-dir "/path/to/custom booster vault" 6. Activate Pro license key ONCE 1+1 Limit: 1 desktop + 1 laptop; use --deactivate when replacing PC : cdx-code-booster --activate CDXCB1.