Works with every
AI coding tool.
One install. One setup command. LeanCTX adds context intelligence to every AI tool that uses MCP, and even those that don’t, through shell-hook compression.
Full MCP Support
Aider
Mode-based (Hybrid / MCP)lean-ctx init --agent aider Amazon Q Developer
Mode-based (Hybrid / MCP)lean-ctx init --agent amazonq Amp
Mode-based (Hybrid / MCP)lean-ctx init --agent amp Antigravity IDE
Mode-based (Hybrid / MCP)lean-ctx init --agent antigravity Antigravity CLI
Mode-based (Hybrid / MCP)lean-ctx init --agent antigravity-cli Augment Code
Mode-based (Hybrid / MCP)lean-ctx init --agent augment AWS Kiro
Mode-based (Hybrid / MCP)lean-ctx init --agent kiro Claude Code
Mode-based (Hybrid / MCP)lean-ctx init --agent claude Cline
Mode-based (Hybrid / MCP)lean-ctx init --agent cline Continue
Mode-based (Hybrid / MCP)lean-ctx setup Crush
Mode-based (Hybrid / MCP)lean-ctx init --agent crush Cursor
Mode-based (Hybrid / MCP)lean-ctx setup Emacs
Mode-based (Hybrid / MCP)lean-ctx init --agent emacs Gemini CLI
Mode-based (Hybrid / MCP)lean-ctx init --agent gemini GitHub Copilot
Mode-based (Hybrid / MCP)lean-ctx init --agent copilot Hermes Agent
Mode-based (Hybrid / MCP)lean-ctx init --agent hermes JetBrains IDEs
Mode-based (Hybrid / MCP)lean-ctx init --agent jetbrains Neovim
Mode-based (Hybrid / MCP)lean-ctx init --agent neovim OpenAI Codex
Mode-based (Hybrid / MCP)lean-ctx init --agent codex OpenClaw
Mode-based (Hybrid / MCP)lean-ctx init --agent openclaw OpenCode
Mode-based (Hybrid / MCP)lean-ctx init --agent opencode Pi
Mode-based (Hybrid / MCP)lean-ctx init --agent pi Qoder
Mode-based (Hybrid / MCP)lean-ctx init --agent qoder QoderWork
Mode-based (Hybrid / MCP)lean-ctx init --agent qoderwork Qwen Code
Mode-based (Hybrid / MCP)lean-ctx init --agent qwen Roo Code
Mode-based (Hybrid / MCP)lean-ctx init --agent roo Sublime Text
Mode-based (Hybrid / MCP)lean-ctx init --agent sublime Trae
Mode-based (Hybrid / MCP)lean-ctx init --agent trae Verdent
Mode-based (Hybrid / MCP)lean-ctx init --agent verdent Windsurf
Mode-based (Hybrid / MCP)lean-ctx init --agent windsurf Zed AI
Mode-based (Hybrid / MCP)lean-ctx setup Shell Hook Only
Tools that don't support MCP still benefit from LeanCTX. The shell hook intercepts CLI commands (git, npm, cargo, docker, kubectl, ls, find, and 95+ more) and compresses their output before the AI sees it.
Intercepts git, npm, cargo, docker, kubectl, pip, go, tsc, and 95+ more commands. Compresses output by 60–90%.
76 specialized tools: ctx_read, ctx_search, ctx_graph, ctx_intent, ctx_session, ctx_task, ctx_cost, and 69 more. Intent-aware compression, session memory, context routing, multi-agent handoffs, knowledge graphs.
$ lean-ctx setup
◆ lean-ctx Setup Wizard
────────────────────────────────────
✓ Shell detected: zsh
✓ Hook installed: ~/.zshrc
✓ AI tool detected: Cursor
✓ Hooks installed: ~/.cursor/hooks.json
✓ AI tool detected: Claude Code
✓ MCP server added: claude mcp add
────────────────────────────────────
Setup complete. Restart your shell.
2 AI tools configured, shell hook active
How Setup Works
Detects your shell
Finds zsh, bash, or fish and installs the shell hook that intercepts CLI commands.
Finds AI tools
Scans for Cursor, Claude Code, Copilot, Windsurf, Pi, Cline, Zed, and others. Configures MCP for each.
Writes MCP config
Creates the correct JSON config for each tool. No manual editing required.
Built on an Open Standard
MCP (Model Context Protocol) is the open standard for connecting AI tools to external capabilities. Any future tool that supports MCP will work with LeanCTX automatically - no updates needed.
One binary. One protocol. Every AI tool.
Works with your tools. Today.
One install, one lean-ctx setup, and every AI tool you use gets the same context intelligence. No per-tool configuration.