For Claude Code

Compress Claude Code
context by 60-90%

A local proxy that compresses tool outputs before they hit your context window. Same results. Way more runway.

Terminal
$npm install -g claude-compress
$claude-compress activate cc_live_a8f...
$claude-compress --proxy
Proxy running on http://localhost:8787_
Compression: 73.2% | Saved: 142KB | ~35,500 tokens
60-90%
Compression
2x
Longer Sessions
30s
Setup
How it works

Three commands. That is it.

01

Install and activate

One npm install. One activation command with your license key. Done.

02

Proxy intercepts

Runs locally. Compresses Bash output, file reads, search results, and build logs before they reach Claude.

03

Sessions last longer

Less context consumed per tool call means more room for conversation. Your sessions go further.

Compression targets

What gets compressed

Stack traces

Strips framework noise, keeps the lines that matter

Build logs

Webpack, Vite, tsc -- compressed to errors and warnings

npm output

Audit results, install logs -- filtered to what changed

Test results

Pass/fail summary without verbose runner output

Directory listings

Truncated and formatted, not raw file dumps

JSON responses

Large arrays trimmed, structure preserved

Pricing

Less than a coffee a month

$5/mo

Cancel anytime. No contracts.

Unlimited proxy usage
All updates included
Live stats dashboard
Any Claude Code plan
100% local -- your data stays yours

Get started

Enter your email to subscribe. License key delivered immediately after payment.

Secure payment via Stripe

FAQ

Questions

Does it change Claude's responses?

No. The proxy only compresses tool outputs -- Bash results, file reads, search results. Claude sees the same information, just formatted more efficiently. Your conversation quality is identical.

Does my code or data leave my machine?

No. The proxy runs locally on localhost:8787. It compresses content in-process before forwarding to the Anthropic API. Nothing is stored or sent anywhere else.

What does it actually compress?

Stack traces, build logs (Webpack/Vite/tsc), npm output, test results, directory listings, and large JSON responses. It strips ANSI codes, removes framework noise, and truncates verbose output while keeping the important parts.

What happens if the proxy is not running?

Claude Code falls back to the direct API. No errors, no data loss. You just lose the compression benefit until you restart it.

Does it work with Claude Code Teams?

Yes. It works with any Claude Code plan -- free, Pro, or Teams. It sits between the CLI and the API.

Can I use it on multiple machines?

Yes. Your license key works on any machine. Install, activate, and run.