Cut your Claude Code & Codex token bill. One line. No app.
A compression layer for Claude Code and Codex CLI. It shrinks tool output, logs, and boilerplate before they hit the model — lossless by default — so you get roughly 2x the usage without doubling your bill. No desktop app required.
npx tokenpincher initclaude mcp add tokenpincher -- npx -y tokenpincher mcpHow it works
Install one line
Add TokenPincher as a CLI wrapper or drop it into your MCP config. No desktop app, nothing to keep running.
Keep coding
Use Claude Code or Codex CLI exactly like before. TokenPincher compresses tool output and logs before they hit the model, lossless by default.
See tokens saved
A built-in stats screen shows tokens saved and dollars saved for every session — proof, not a promise.
No desktop app
No menu-bar icon, no background process to babysit, nothing to update. TokenPincheris one line in your terminal or MCP config. It runs invisibly — your workflow doesn't change, your tool output just gets smaller before it reaches the model.
Works with
Claude Code gets automatic compression via a hook — install once and it runs on every tool call. Everywhere else, TokenPincher adds as an MCP server and compresses per call, opt-in — that covers Codex CLI, Cursor, Claude Desktop, and any other MCP client.
Who it's for
Proof built in
Every install ships with a stats screen that shows tokens saved and dollars saved, session by session. No trust-us numbers — just your own before/after.
Savings are biggest on agentic coding, where tool output and logs dominate the context window. Chat-only usage saves less — we won't pretend otherwise.
Learn more
Get started
npx tokenpincher init