SuperCompress

SuperCompress

supercompress•bysupercompress

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Scores context against the current query and selects relevant blocks for a smaller model input.
  • •Documents a coding-agent MCP plugin that exposes context compression, alongside Python and HTTP integrations.
  • •Separates a hosted neural compression path from a lightweight local compiler path.

BEST FOR

  • •Developers handling long tool responses, logs or retrieved context in agent workflows.
  • •Teams evaluating context reduction before model inference.

ABOUT SUPERCOMPRESS

SuperCompress is cataloged as an MCP server attributed to supercompress. Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for SuperCompress are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does SuperCompress compress the user's query?

The upstream README states that the query is left unchanged and only the surrounding context is compressed.

Do its published compression benchmarks prove better model answers?

No. The README distinguishes evidence-retention measurements from downstream model completion results. Evaluate answer quality and retained evidence on your own workload rather than treating a published compression percentage as a guarantee.

Upstream README

View this exact version on GitHub

README.md · 6c9611c685ec · Fetched 2026-11-13 02:11:37 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

SuperCompress — cut LLM context waste

SuperCompress v2

Query-aware context compression for AI applications and coding agents.
Cut coding-agent context ~64% in our B5 benchmark.

~400M Neural Keep on the hosted API · coding-agent plugin via MCP
Open weights (MIT) on Hugging Face

64.1% mean context cut on B5 (24 coding-agent cases) · 24/24 evidence passes · up to 96.6% @ ≥99% retention
(B5 coding-agent suite · evidence containment metric — not downstream LLM completion)

Get API key · Arena · Install · Benchmarks · Docs

vs Headroom · vs RTK · vs LLMLingua

PyPI npm MIT License GitHub Sponsor SuperCompress


Why it exists

Every LLM call ships a pile of context: RAG chunks, chat history, tool dumps, logs, JSON. Most of it is irrelevant to the current question — but the model still reads it, and you still pay for it.

Usual “fix”What actually happens
TruncateDeletes the middle. The answer is often in the middle.
SummarizeRewrites evidence. IDs, stack traces, and exact errors get soft.
HopeShip the full dump. Watch the bill climb.

SuperCompress v2 compresses context against the query. It keeps answer-critical lines in their original wording and drops the rest — on our coding-agent benchmark (B5), 64.1% mean context reduction with 24/24 evidence-retention passes.


Product

SuperCompress is a compression layer in front of inference:

  1. Takes a long context + the current query
  2. Segments and scores blocks by relevance to that query
  3. Keeps entities, errors, definitions, nearby dependencies
  4. Returns a smaller prompt + token stats

The query is never compressed — only the surrounding context.

Two paths

Neural v2 (recommended)Compiler (fast/local)
Engine~400M query-aware cross-encoderLightweight local policy
RuntimeHosted Fly CPU (Neural Keep)Local CPU · millisecond-class
Best forHighest-quality keep on agent dumpsLocal preprocessing / speed
BenchmarksLaunch / B5Legacy section

Two products

Coding-agent pluginAPI / Python
ForCursor, Claude Code, Codex, and 40+ agent harnessesApps, RAG, agents, backends
Installnpm i -g supercompress-proxy && npx supercompress setuppip install supercompress
What you getMCP compress_context on big dumpsCompress before every model call
LoginKeep your normal agent loginAPI key from the dashboard

Docs: coding agents (first 5 minutes checklist) · API quickstart

Repo map

PathWhat
packages/proxyCoding-agent plugin (npm)
api/Hosted API + billing
web/Site + docs HTML
supercompress/Python package
docs/REPO_LAYOUT.mdWhat belongs in OSS vs private

Private marketing, outreach, and model training stay out of this repo (see .gitignore + docs/REPO_LAYOUT.md).


Benchmarks & stats

We measure whether required evidence survives (containment), not downstream LLM completion.

Neural v2 launch (hosted ~400M) — B5 coding-agent suite

MetricResult
Mean context cut64.1%
Evidence passes24 / 24
Tokens16,647 → 5,148
Max cut @ ≥99% retention96.6%
B5 latency p50~5.8 s (hosted Neural Keep on Fly CPU)
Public cases (full suite)390
Downstream LLM evalNot yet run

Aggregate mean cut across all 390 cases is ~3.6% — the engine often refuses to over-cut dense needle/QA slices. The 64.1% figure is the coding-agent suite where dumps are noisy.

Raw JSON: launch-benchmark.json · writeup: benchmarks

Legacy compiler (separate product)

CPU / millisecond-class local path. Older held-out compiler numbers (≈58–66% cut, 99.4% gold containment) live under Legacy/compiler on /benchmarks. Do not mix with Neural v2.


Try it

npm install -g supercompress-proxy
npx supercompress setup

Links your account, detects agents, installs MCP. Docs: coding agents

Python / HTTP

pip install supercompress
export SUPERCOMPRESS_API_KEY=sc_live_YOUR_KEY
from supercompress.client import SuperCompress

sc = SuperCompress()
result = sc.compress(
    context=long_context,
    query="What failed and how do we fix it?",
)
print(f"{result.original_tokens} → {result.kept_tokens} tokens")
print(result.compressed_text)
curl -X POST https://www.supercompress.dev/api/v1/compress \
  -H "X-API-Key: $SUPERCOMPRESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"context":"...","query":"What failed?"}'

Or paste a dump into the Arena — no integration required.


How it compares

TruncateSummarizeSuperCompress
Cuts tokens✓✓✓
Uses the query✗weak✓
Keeps original evidencesometimes✗✓
Auditable kept linespartial✗✓

More: vs truncation · vs summarization · vs alternatives


Arena   Dashboard   Agents

supercompress.dev · MIT License · Sponsor · built by Arjun Shah

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for SuperCompress from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/supercompress)

REPOSITORY STATS

GitHub Stars146
Forks23

GitHub API evidence checked 2026-11-13 05:12:02.123Z (UTC). Repository-level counts are shared by all components, not individual server installs. Open issues including pull requests: 13.

Last repository push (UTC):2026-11-12

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Local-first persistent memory for AI agents, storing records and their evidence in SQLite and exposing memory operations through MCP, a CLI and SDK interfaces.

159
AI & Multi-Agent