Universal Compatibility

Works with everyAI coding tool.

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

Full MCP Support

Supported agents share the same local context layer, setup workflow, and shell compression.

AgentFull MCPShell hookSetup
Aider Supported Supportedlean-ctx init --agent aider
Amazon Q Developer Supported Supportedlean-ctx init --agent amazonq
Amp Supported Supportedlean-ctx init --agent amp
Antigravity IDE Supported Supportedlean-ctx init --agent antigravity
Antigravity CLI Supported Supportedlean-ctx init --agent antigravity-cli
Augment Code Supported Supportedlean-ctx init --agent augment
AWS Kiro Supported Supportedlean-ctx init --agent kiro
Claude Code Supported Supportedlean-ctx init --agent claude
Cline Supported Supportedlean-ctx init --agent cline
CodeBuddy Supported Supportedlean-ctx init --agent codebuddy
Continue Supported Supportedlean-ctx setup
Crush Supported Supportedlean-ctx init --agent crush
Cursor Supported Supportedlean-ctx setup
Emacs Supported Supportedlean-ctx init --agent emacs
Gemini CLI Supported Supportedlean-ctx init --agent gemini
GitHub Copilot Supported Supportedlean-ctx init --agent copilot
Hermes Agent Supported Supportedlean-ctx init --agent hermes
JetBrains IDEs Supported Supportedlean-ctx init --agent jetbrains
Neovim Supported Supportedlean-ctx init --agent neovim
OpenAI Codex Supported Supportedlean-ctx init --agent codex
OpenClaw Supported Supportedlean-ctx init --agent openclaw
OpenCode Supported Supportedlean-ctx init --agent opencode
Pi Supported Supportedlean-ctx init --agent pi
Qoder Supported Supportedlean-ctx init --agent qoder
QoderWork Supported Supportedlean-ctx init --agent qoderwork
Qwen Code Supported Supportedlean-ctx init --agent qwen
Roo Code Supported Supportedlean-ctx init --agent roo
Sublime Text Supported Supportedlean-ctx init --agent sublime
Trae Supported Supportedlean-ctx init --agent trae
Verdent Supported Supportedlean-ctx init --agent verdent
VS Code Supported Supportedlean-ctx init --agent vscode
VS Code Insiders Supported Supportedlean-ctx init --agent vscode-insiders
Windsurf Supported Supportedlean-ctx init --agent windsurf
Zed AI Supported Supportedlean-ctx setup
Any CLI-based AI tool Supportedlean-ctx setup

One install. Every AI tool.

No MCP? No problem.

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.

01

Shell Hook

Intercepts git, npm, cargo, docker, kubectl, pip, go, tsc, and 95+ more commands. Compresses output by 60–90%.

02

MCP Server

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

How Setup Works

01

Detects your shell

Finds zsh, bash, or fish and installs the shell hook that intercepts CLI commands.

02

Finds AI tools

Scans for Cursor, Claude Code, Copilot, Windsurf, Pi, Cline, Zed, and others. Configures MCP for each.

03

Writes MCP config

Creates the correct JSON config for each tool. No manual editing required.

lean-ctx setup
$ 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

Universal compatibility

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 yourtools. Today.

One install, one <code>lean-ctx setup</code>, and every AI tool you use gets the same context engineering. No per-tool configuration.

Support this project