Does my code leave my machine?
No. The proxy listens on 127.0.0.1 only. Compression and storage are local; the only outbound traffic is the request to the model endpoint you already configured.

@connorbless1990
Basic information
Cut your AI coding agent's token spend. Compresses large request blocks locally, keeps every original one tool call away, and never breaks the KV cache.


Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tds": {
"command": "npx",
"args": [
"-y",
"@token-disrespector/mcp"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Token Disrespector is a local-first context compressor for AI coding agents. It runs a proxy on 127.0.0.1 that sits between your agent and the model, and rewrites the huge parts of each request — file dumps, command output, search results — before they are sent.
Each large block is compressed with a compressor chosen for its content type and replaced with a short marker holding a 12-character handle. The original bytes stay on disk. When the model actually needs one back, it calls the bundled MCP tool with the handle and receives the exact original.
The design is deliberately conservative: it fails open (any error passes the request through untouched), it is loopback-only, and it is KV-cache aware — compressed output stays stable across turns so the model server's prompt cache keeps working. Naive rewriting invalidates that cache and quietly erases the savings.
Written in TypeScript, MIT licensed, zero runtime dependencies, Node.js 20 or newer.
Install the CLI and start the proxy:
npm i -g token-disrespector
tds proxy
Point your agent's API base URL at http://127.0.0.1:8788/v1, then check what you saved:
tds stats
To let the model retrieve compressed originals, add the MCP server to your client:
{
"mcpServers": {
"tds": {
"command": "npx",
"args": ["-y", "@token-disrespector/mcp"]
}
}
}
It exposes two tools: tds_retrieve returns the byte-exact original for a handle, and tds_stats reports cache size and per-day savings. Requires Node.js 20 or newer.
No. The proxy listens on 127.0.0.1 only. Compression and storage are local; the only outbound traffic is the request to the model endpoint you already configured.
The proxy alone reduces what is sent. The MCP server is what lets the model fetch an original back when it genuinely needs it, so you should run both.
Any client that lets you point its API base URL at a local endpoint (http://127.0.0.1:8788/v1). The CLI also ships `tds copilot` for the GitHub Copilot CLI.
No, that was a primary design constraint. Compressed output is stable across turns, so the upstream KV cache stays valid.
20 or newer. The packages ship compiled JavaScript, so no build step and no type-stripping flags.
~/.ctxroom by default; override with the TDS_HOME environment variable or tds proxy --home.
Yes. LICENSE is in the repository and inside every published package. The source code is linked from the repository URL on this page.
If the README contains a parseable MCP configuration block, it is shown in the Config tab.
Console, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app
DOM-first AI browser automation for Chrome and MCP clients.
Ads MCP - manage Google, Meta, TikTok, LinkedIn, Microsoft, Reddit & X Ads campaigns from Claude, ChatGPT, Cursor & any MCP client.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Hosted Google Search / SERP MCP server from HasData, no Google Cloud project. Organic results, AI Overview, People Also Ask, AI Mode, news and shopping for Claude, Cursor and any MCP client.
Comments