NewAgentReady MCP for Claude Code, Cursor & Windsurf

Put your AI agent
on a token diet

One MCP server gives Claude, Cursor and Windsurf a leaner way to work: compress long context before it is read, open any web page as clean Markdown instead of raw HTML, and shrink JSON into TOON. Code, numbers and facts stay intact.

Your assistant installs the MCP and shows you how to get a free key in 5 seconds.

MCP for your assistant · 1-line gateway for OpenAI & Anthropic SDKs · REST API · free during beta

claude mcp add agentready -e AGENTREADY_API_KEY=ak_your_key -- npx -y agentready-cloud-mcp

Example: a 67-token prompt is squeezed to 30 tokens by AgentReady, the model answers in 58 tokens instead of 195, and the cost per 1,000 requests drops from $3.13 to $1.10.

AgentReady MCP

Three tools.
Inside the assistant you already use.

Add one MCP server and your assistant can compress, read and shrink on its own. Ask it to “read this URL”, “compress this log” or “shrink this JSON”, or let it reach for the tools when context gets heavy.

tokencut_compress

Compress before it reads

Long prompts, logs, docs and chat history lose the filler (greetings, hedges, repetition) before they reach the model. Code, URLs and numbers are never touched.

89 tokens54 tokens
a polite 4-sentence request, caveman level
url_to_markdown

Read the web as Markdown

Your agent opens a page and gets the article, not the navigation, ads and scripts. The tool AgentReady users rely on most for big savings.

903K tokens of HTML14K tokens of Markdown
real usage on agentready.cloud
json_shrink

JSON → TOON

API responses and tool outputs become TOON: a header plus CSV-like rows instead of repeating every key on every object. Same data, far fewer tokens.

1,106 tokens444 tokens
30 order objects, JSON vs TOON
Works withClaude CodeClaude DesktopCursorWindsurfVS CodeClineany MCP client
Building an app instead?

Change one line.
Pay less on every call.

Run the gateway on your own machine or server and point the OpenAI or Anthropic SDK at it. Only the message text goes to AgentReady to be compressed; the call to your provider leaves from your infrastructure with your own key, so your key and the model's answers never reach us. Streaming and tools work as before.

Prefer zero setup? A hosted gateway is available too: docs.

# 1. run it where your app runs (self-hosted, MIT)
AGENTREADY_API_KEY=ak_your_key npx -y agentready-cloud-gateway

# 2. change one line
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8787/openai/v1")
# OPENAI_API_KEY stays on your machine
# response header x-agentready-tokens-saved: 662
From our launches

Builders said it.
We kept shipping.

Real comments from AgentReady's Product Hunt launch (#9 of the day) and its Show HN thread, word for word.

You asked, we shipped

“If this were capable of running locally… I think it would be much easier to adopt.”

nateb2022, Hacker News

✓Self-hosted gateway: npx agentready-cloud-gateway. Your provider key and the answers stay on your machine.

“If it was self-hostable, so that I can ensure it is only able to reach the LLM providers…”

nevon, Hacker News

✓It is. The gateway calls OpenAI / Anthropic from your infrastructure; only message text goes out for compression.

“Can you see what was trimmed from prompt for visibility?”

Daniele Packard, Product Hunt

✓Every response reports tokens before and after; the dashboard shows a savings receipt.

“Are you thinking of somehow compressing the output tokens as well?”

Purushotam Kumar, Product Hunt

✓The output lever (lite · caveman · ultra) makes the model answer tersely.

How it works

Two levers. One bill that shrinks.

You pay for every token you send and every token the model writes back. AgentReady trims both, in one call that sits before your existing LLM request.

Lever 01 · inputcompression_level

Prompt diet

Greetings, sign-offs, “could you please”, hedges, filler, articles and web boilerplate go. Your intent, data and code stay. No LLM involved, so it takes milliseconds.

Chatty question96 → 33 tok−66%
Support email128 → 49 tok−62%
Scraped web page108 → 54 tok−50%
Code review (code untouched)56 → 43 tok−23%
System prompt74 → 58 tok−22%

Measured on sample prompts, level “caveman”. Your mix will vary.

Lever 02 · outputoutput

Caveman answers

Output tokens cost 4 to 5 times more than input on most models. One short rule makes the model skip “Great question!”, recaps and filler, and answer with just the substance.

React re-render question195 → 58 tok−70%
SQL query (code identical)165 → 68 tok−59%
Checkout bug report179 → 49 tok−73%
the rule we add · 46 tokens

Answer terse like caveman: no articles, filler, pleasantries, hedging. Fragments OK. Keep code, commands, numbers, names, URLs, errors exact; code, JSON and requested formats complete.

lite · concise, full sentencescaveman · terse fragmentsultra · telegraphic
Live playground

Paste anything.
Watch it lose weight.

This runs the real AgentReady engine, the same one behind /v1/compress. Nothing you type here is stored.

input level
output mode
your prompt96 tok

Squeezing…

prompt tokens
9696
engine time
—ms
output rule

…

We can't call your LLM from here (your key stays yours), so the answer side is shown in the examples above.

What never gets cut

Squeezed,
not mangled.

Caveman talk is for the prose around your data, never the data. Everything a program or a person would need to act on is locked before the squeeze and restored after it.

Code review prompt56 → 43 tok · code identical ✓
Hey! Could you please review this function? I think there might be a bug, it does not handle the empty list case.
```python
def avg(xs):
    return sum(xs) / len(xs)
```I don't want you to change the function name. Thanks!

Code blocks

Byte-for-byte, indentation included.

def avg(xs):
    return sum(xs) / len(xs)

Errors & stack traces

Quoted verbatim, never paraphrased.

TypeError: Cannot read properties of undefined (reading 'price')

Numbers, units, dates

Prices, versions, IDs, measurements.

$129 · 3.4 kg · 1200W · #48213 · 2025-01-01

URLs & paths

Links and file paths pass through.

https://api.acme.dev/v2 · src/app/page.tsx

Negations

“not”, “never”, “no” always survive.

doesn't · never · no · must not

Quotes & formats

Quoted text stays. JSON stays JSON.

"Do not cancel the order"
Integration

Two minutes.
Zero code with MCP.

Add the MCP server to your assistant, point your SDK at the gateway, or call the REST API yourself. Keep your model and your key either way.

  1. 1
    Get a key
    Free, 30 seconds, no card.
  2. 2
    Install the MCP
    One command in Claude Code, one JSON block in Cursor.
  3. 3
    Or change one line
    Gateway base_url for the OpenAI and Anthropic SDKs.
# Claude Code
claude mcp add agentready -e AGENTREADY_API_KEY=ak_your_key -- npx -y agentready-cloud-mcp

# Cursor, Claude Desktop, Windsurf: add to your MCP config
{
  "mcpServers": {
    "agentready": {
      "command": "npx",
      "args": ["-y", "agentready-cloud-mcp"],
      "env": { "AGENTREADY_API_KEY": "ak_your_key" }
    }
  }
}
Savings calculator

What would you keep?

Plug in your monthly LLM bill. The defaults are deliberately conservative, move them to match your traffic.

You keep every month
$1,038
$2,500 → $1,463 · −42%
Per year$12,450
AgentReady during beta$0
Start saving
Pricing

It costs nothing.
It saves a lot.

AgentReady is in open beta. Every feature is free with no usage caps while we tune the engine with real traffic.

Open beta
$0/ month
  • Unlimited /v1/compress calls during beta
  • Caveman input level + lite / caveman / ultra output
  • Dashboard with tokens and money saved
  • Python, Node.js and MCP integrations
  • Web → Markdown, sitemap and LLMO tools
  • No credit card
Get a free API key

After the beta: a generous free tier and simple usage plans. Early users keep their perks. Need it on-prem? Email us.

FAQ

Questions,
answered short.

The output rule removes style, not content: greetings, recaps, hedges, filler. Facts, steps, code and numbers are explicitly kept, and anything you ask for in a specific format (JSON, a table, a full email) comes back complete. If your end users need polished prose, use output "lite", or leave output off and only squeeze the input.

No. You call /v1/compress, get messages back and call your model yourself with your own key. AgentReady never proxies your LLM traffic.

/v1/compress records token counts for your dashboard, not message text. The playground on this page stores nothing. Runs you make in the dashboard playground keep a short snippet in your own history so you can review them.

Any chat model: OpenAI, Anthropic, Google Gemini, Mistral, Llama, local models. For Anthropic-style requests send provider: "anthropic" (or your system prompt as "system") and the output rule is returned in "system" instead of a system message.

The engine is rule-based, not another LLM, so processing takes milliseconds plus one network round-trip. Shorter answers also finish streaming sooner, so end-to-end latency often goes down.

Wrap the call in a short timeout and fall back to your original messages, as the snippets above do. Your app keeps working, it just costs what it cost before.

Yes. Squeezing happens before your LLM call and only touches text content, so streaming, tools, function calling and images pass through as they are.

Stop paying
for fluff.

Key in 30 seconds. First squeezed request in two minutes. Free while in beta.