Stop burning tokens in Claude Code, Cursor, and MCP agents.
banish compacts shell output before it reaches Claude Code, Cursor, or any MCP agent - 30 to 90 percent fewer tokens on git, npm, cargo, and kubectl.
$curl -fsSL https://banish.sh/install.sh | bashTry it
Real output, real token counts. Pick a command.
Measured savings on commands you already run.
Real token counts, not estimates. Run banish gain to verify your own.
Three parts, one binary.
A proxy for bash
A PreToolUse hook rewrites git status to banish git status. banish runs the real command, pipes output through a matching filter, and returns compact text. If a filter fails, you get raw output. It never swallows data.
An MCP server
banish serve exposes tools over stdio. Every verb in your extensions becomes an MCP tool automatically. With the defaults, agents get 45-plus tools out of the box: banish_gs, banish_dps, banish_kpods, and more.
A scripting runtime
The .bsh language lets you define verbs, filters, and pipelines in one file. No recompile. Run inline, run a script, or check a manifest. Extend banish with a shell one-liner.
Do not take our word for it.
banish tracks every token it saves. Run one command to see your own cumulative savings.
Your number, measured on your machine.
Extend it in one file.
No Rust, no Go, no recompile. Drop a .bsh file in ~/.banish/ext and your verb becomes an MCP tool.
Quick start.
Install
$curl -fsSL https://banish.sh/install.sh | bashInstalls to /usr/local/bin. Works on Intel and Apple Silicon.
Set up your agent
$banish init claude-codeWatch savings
$banish gainFor Cursor, run banish init cursor. For any MCP agent, run banish init mcp.
New here? Follow the quick start, then set up your agent.