mcpField
S
SuperCompress

SuperCompress

Remote
supercompress.devAI & Agents138Updated 2d ago

About SuperCompress

SuperCompress is an MCP server and CLI package that reduces coding-agent context by selecting material relevant to the current query. It supports integrations across many agent harnesses and includes local provider rate-limit checks.

Key features

  1. 01Compress context against the current question
  2. 02Install MCP and hooks for detected agents
  3. 03Connect custom harnesses through MCP configuration
  4. 04Check provider rate-limit runway locally

Use cases

  1. 01Reduce bulky logs and tool output before model input
  2. 02Set up compression integrations across coding agents
  3. 03Check remaining provider quota while working
  4. 04Connect a custom agent harness to compression

MCP support

SuperCompress exposes `compress_context`, account linking, usage summaries, and a local `runway_check` tool through MCP. The hosted MCP does not provide the runway tool; that check runs locally.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api.supercompress.dev/api/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npmsupercompress-proxy0.5.38

Tools

Details

From the project README

SuperCompress

SuperCompress v2 — cut ~64% of LLM input tokens for coding agents, without losing the answer.

~400M Neural Keep on the SuperCompress API scores bulky context (files, logs, tool dumps, pastes) against the current question and drops the rest. Your ask stays intact. This package wires Cursor / Claude Code / Codex / 40+ harnesses into that API via MCP + hooks.

Website · Benchmarks · Playground · Docs


Install

npm install -g supercompress-proxy

Requires Node.js 18+.


Quick start (recommended)

One command links your account and auto-adds MCP + hooks across 40+ harnesses (25+ get a native auto MCP plugin — Cursor, Claude Code, Codex, Goose, Zed, OpenCode, fx, Hermes, OpenClaw, Grok Build, Grok Bot (hosted MCP URL), Gemini, Windsurf, Continue, and more):

supercompress setup
supercompress doctor

Then restart your agent so integrations reload. That’s it.

Re-detect later (new agent installed, etc.):

supercompress plugin
supercompress agents
supercompress doctor

Any other agent (custom harness, closed-source, DIY):

supercompress agents connect

That prints a stdio MCP snippet and writes an Agent Plugins 1.0 pack you can drop into any compatible client.

Benchmarks

Same keep-budget (35% of tokens kept). Who still has the answer?

MethodAnswer-critical kept
FIFO / truncation24.8%
Summarization60.5%
H2O97.9%
SuperCompress100%
MetricResult
Oracle recall (fixed budget)100%
Mean token cut (real suite)~67%
Important lines kept (compiler)100%

Full methodology and charts: supercompress.dev/benchmarks


How it works

Your agent ──→ SuperCompress (hooks / MCP) ──→ smaller context ──→ model
                      ↑
                 query stays whole; only context is compressed
  1. You ask a question (never rewritten).
  2. Large context is scored against that question.
  3. Evidence-critical lines stay in original wording; filler drops.
  4. You pay for fewer input tokens.

Commands

CommandWhat it does
supercompress / tuiInteractive paper-branded UI (default in a TTY; Bun)
supercompress setupRecommended — link account, detect agents, install MCP + hooks
supercompress pluginRefresh agent integrations anytime
supercompress doctorPer-harness health matrix (account / MCP / hooks)
supercompress agents40+ catalog — auto-plugin vs recipe/connect
supercompress start / stop / statusOptional local proxy (setup --proxy)
supercompress usagePlan, quota, savings (--json ok)
supercompress limitsProvider rate-limit runway — 5h / weekly windows (--json for agents)
supercompress uninstallRemove configs under ~/.supercompress

Optional localhost API proxy (base-URL rewrite) if you explicitly need it:

supercompress setup --proxy
supercompress start

Then point OpenAI/Anthropic-compatible clients at http://localhost:8080/v1.


MCP

setup / plugin registers the MCP server on every detected host. You can also run it directly:

supercompress-mcp

Manual registration:

{
  "mcpServers": {
    "supercompress": {
      "command": "supercompress-mcp"
    }
  }
}
ToolPurpose
compress_contextCompress bulky context for a query
connect_accountLink this install to your dashboard
usage_summarySavings for the connected account
runway_checkProvider rate-limit runway (local, no account needed)

Runway (rate limits)

supercompress limits --json / MCP runway_check tell the agent how much provider quota is left and what to do with it. Built from limitcheck, extended to every harness SuperCompress plugs into. Runway runs locally, inside this package; your usage data never goes through the hosted API, and the hosted MCP has no runway tool. Each check (limits status or runway_check, not the statusline) sends one anonymous count to the public total at limitcheck.supercompress.dev: just the verdict (go / land / pace / wait / unknown) and cli or mcp. No ids, usage numbers, prompts or paths. Opt out with SUPERCOMPRESS_TELEMETRY=0, DO_NOT_TRACK=1 or SUPERCOMPRESS_RUNWAY=0. setup / plugin install it automatically: they add the runway rule to every agent's instructions and skill, register runway_check on the local MCP, copy a standalone runtime to ~/.supercompress/runway/, and connect Claude Code's statusline. uninstall reverses all of it.

SourceHarnesses
~/.codex/sessions rate-limit events (zero config)Codex
Statusline tee, wired by setup (or supercompress limits connect claude-code). Your own statusline keeps working unchangedClaude Code
Upstream rate-limit headers seen by the local proxy (Anthropic, OpenAI, xAI, OpenRouter, Codex)Any harness routed through localhost:8080 (Aider, Continue, Cline, OpenCode, Goose, …)
supercompress limits ingest --provider <id> (stdin JSON) / SUPERCOMPRESS_LIMITS_SNAPSHOT / LIMITCHECK_SNAPSHOTAnything else (Cursor, Windsurf, Grok Build, Gemini CLI, custom hooks)

Actions: go (with scope), land (keep working, checkpoint before each step), pace (balanced policy only), wait (actually exhausted — waitMinutes, alternatives), unknown (no source; never invented).

The default max policy uses a 5h window all the way to the provider's cutoff instead of stopping at a fixed 10% floor: short windows reset on their own, so unused quota is wasted. Weekly/monthly windows are judged by pace (remaining % vs time left). --policy conservative keeps limitcheck's 25% / 10% thresholds. In a seeded simulation (node test/runway-sim.js) max uses 100% of a binding 5h window vs 91.5%, for +7.8% completed steps, and checkpoints before 59 of 60 cutoffs. SUPERCOMPRESS_RUNWAY=0 stops setup from touching the statusline and disables proxy header capture. Only rate-limit numbers are stored (~/.supercompress/limits/), never prompts or responses.


Account & pricing

Launch promo: 5M tokens/month free, then $0.10 / 1M from the dashboard.


Privacy

Hooks / MCP run on your machine. Provider API keys stay with your agent. Context text is sent to the SuperCompress API so the hosted compiler can compress it.


More

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.