TokenPincherGet started

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.

Install
npx tokenpincher init
Or add as an MCP server (works with Claude Desktop too)
claude mcp add tokenpincher -- npx -y tokenpincher mcp
Example session, 58% saved$5,381$2,264

How it works

1

Install one line

Add TokenPincher as a CLI wrapper or drop it into your MCP config. No desktop app, nothing to keep running.

2

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.

3

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.

Claude CodeAutomatic via hook — recommendedCodex CLIVia MCP server, opt-in per call
CursorVia MCP server, opt-in per call
Claude Desktop / any MCP clientVia MCP server, opt-in per call

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

Install
npx tokenpincher init