Shell Hook
Intercepts git, npm, cargo, docker, kubectl, pip, go, tsc, and 95+ more commands. Compresses output by 60–90%.
Universal Compatibility
One install. One setup command. LeanCTX adds context engineering to every AI tool that uses MCP, and even those that don’t, through shell-hook compression.
81 MCP tools + shell hook context layer
Supported agents share the same local context layer, setup workflow, and shell compression.
| Agent | Full MCP | Shell hook | Setup |
|---|---|---|---|
| Aider | Supported | Supported | lean-ctx init --agent aider |
| Amazon Q Developer | Supported | Supported | lean-ctx init --agent amazonq |
| Amp | Supported | Supported | lean-ctx init --agent amp |
| Antigravity IDE | Supported | Supported | lean-ctx init --agent antigravity |
| Antigravity CLI | Supported | Supported | lean-ctx init --agent antigravity-cli |
| Augment Code | Supported | Supported | lean-ctx init --agent augment |
| AWS Kiro | Supported | Supported | lean-ctx init --agent kiro |
| Claude Code | Supported | Supported | lean-ctx init --agent claude |
| Cline | Supported | Supported | lean-ctx init --agent cline |
| CodeBuddy | Supported | Supported | lean-ctx init --agent codebuddy |
| Continue | Supported | Supported | lean-ctx setup |
| Crush | Supported | Supported | lean-ctx init --agent crush |
| Cursor | Supported | Supported | lean-ctx setup |
| Emacs | Supported | Supported | lean-ctx init --agent emacs |
| Gemini CLI | Supported | Supported | lean-ctx init --agent gemini |
| GitHub Copilot | Supported | Supported | lean-ctx init --agent copilot |
| Hermes Agent | Supported | Supported | lean-ctx init --agent hermes |
| JetBrains IDEs | Supported | Supported | lean-ctx init --agent jetbrains |
| Neovim | Supported | Supported | lean-ctx init --agent neovim |
| OpenAI Codex | Supported | Supported | lean-ctx init --agent codex |
| OpenClaw | Supported | Supported | lean-ctx init --agent openclaw |
| OpenCode | Supported | Supported | lean-ctx init --agent opencode |
| Pi | Supported | Supported | lean-ctx init --agent pi |
| Qoder | Supported | Supported | lean-ctx init --agent qoder |
| QoderWork | Supported | Supported | lean-ctx init --agent qoderwork |
| Qwen Code | Supported | Supported | lean-ctx init --agent qwen |
| Roo Code | Supported | Supported | lean-ctx init --agent roo |
| Sublime Text | Supported | Supported | lean-ctx init --agent sublime |
| Trae | Supported | Supported | lean-ctx init --agent trae |
| Verdent | Supported | Supported | lean-ctx init --agent verdent |
| VS Code | Supported | Supported | lean-ctx init --agent vscode |
| VS Code Insiders | Supported | Supported | lean-ctx init --agent vscode-insiders |
| Windsurf | Supported | Supported | lean-ctx init --agent windsurf |
| Zed AI | Supported | Supported | lean-ctx setup |
| Any CLI-based AI tool | — | Supported | lean-ctx setup |
One install. Every AI tool.
No MCP? No problem.
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%.
81 specialized tools: ctx_read, ctx_search, ctx_graph, ctx_intent, ctx_session, ctx_task, ctx_cost, and 74 more. Intent-aware compression, session memory, context routing, multi-agent handoffs, knowledge graphs.
Zero manual config
Finds zsh, bash, or fish and installs the shell hook that intercepts CLI commands.
Scans for Cursor, Claude Code, Copilot, Windsurf, Pi, Cline, Zed, and others. Configures MCP for each.
Creates the correct JSON config for each tool. No manual editing required.
$ 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 activeUniversal compatibility
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.
One install, one <code>lean-ctx setup</code>, and every AI tool you use gets the same context engineering. No per-tool configuration.
Cookie preferences
We use analytics to understand how our site is used. You choose what's allowed — no tracking runs until you decide.
Essential
Site functionality, security, preferences
Analytics
Pageviews & usage patterns · PostHog EU (Frankfurt) · No cross-site tracking
Read our Privacy Policy for full details. You can change your preferences anytime.