whittle-mcp

Trim what your agent reads, and measure what it kept.

Paste, trim, check. Paste a test log, stack trace, JSON, git diff or OpenAPI document. See what is kept, the tokens saved, and expand anything that was omitted. The trimming runs in your browser with Python (Pyodide); what you paste stays in this tab. Token counts here are an estimate (characters / 4); the CLI uses tiktoken. Short outputs save little (they have little to cut); the bigger and noisier the output, the more it saves.
Loading Python in your browser…

Your output

What the agent would read

Nothing yet. Pick a sample and press Trim.
What did that save in dollars? (your prices, not mine)

A token kept out of the context is saved on the turn it would have arrived and on each later turn it would have been re-sent. The numbers below are EXAMPLES, not any provider's real prices. Change them to yours.

Trim something to see the estimate.