Borrowing it
Nothing to install: this file belongs to kdpa-llc/mcp-compression-proxy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kdpa-llc/mcp-compression-proxy/main/CLAUDE.mdgit clone --depth 1 https://github.com/kdpa-llc/mcp-compression-proxyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/kdpa-llc/mcp-compression-proxy/claude-md)<a href="https://agentmods.dev/instructions/kdpa-llc/mcp-compression-proxy/claude-md"><img src="https://agentmods.dev/badge/instructions/kdpa-llc/mcp-compression-proxy/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/kdpa-llc/mcp-compression-proxy/claude-md"><img src="https://agentmods.dev/badge/instructions/kdpa-llc/mcp-compression-proxy/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02079 | $0.02079 |
| Opus 5.5 | $0.00832 | $0.00832 |
| Sonnet 5.5 | $0.00416 | $0.00416 |
| Haiku 4.5 | $0.00208 | $0.00208 |
Grade A, and why
mcp-compression-proxy CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Guidance for Claude Code and other coding agents working in this repository.
What this is
An MCP server that aggregates tools from several backend MCP servers behind one connection, and compresses their descriptions to cut context use.
Two binaries ship:
mcp-compression-proxy(src/index.ts) — the MCP server itselfmcp-cli(src/cli/) — progressive tool discovery backed by a daemon that holds warm connections to the backends
The MCP server's handlers live in src/proxy/session.ts (ProxySession),
built from one client's view (src/proxy/client-view.ts: its config, backends
and tool catalog) and shared services; src/index.ts only wires a session to
stdio, or attaches to the daemon with backendMode: "daemon". The daemon
(src/cli/daemon.ts) hosts one session per attached proxy
(src/daemon/session-host.ts) and answers mcp-cli from the view of the shell
each request came from (src/daemon/cli-requests.ts). Backend connections are
pooled in src/mcp/backend-pool.ts, keyed by what a backend runs rather than
its name, over src/mcp/client-manager.ts; the shared, exclusion-filtered tool
list is src/mcp/tool-catalog.ts; compression state,
output shaping (--want/--where), call suggestions and the compression
audit in src/services/; ranked search and usage learning in src/search/;
the optional local model (Cactus Needle 3 through python/needle_bridge.py)
in src/models/; the native proxy's discovery tools in src/native/; config
loading and ${VAR} expansion in src/config/.
Commands
npm run build # tsc
npm test # full suite (builds first via pretest)
npm run test:unit # unit only
npm run test:coverage # global coverage floors
npm run test:coverage:patch -- --base origin/main --head HEAD # exact committed patch gate
npm run lint # eslint, must be 0 problems
npm run typecheck # tsc --noEmit
npm run sync-version # align src/version.ts with package.json
pretest builds before testing on purpose: three integration suites spawn
dist/index.js and dist/cli/index.js as real subprocesses, so a stale or
missing build fails them with MODULE_NOT_FOUND.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +6 lines · +88 tokens per session 4f5199a6c2c0
- 1mo ago Changed · +52 lines · +882 tokens per session e4b11688a7ac
- 2mo ago First seen · 103 lines · 1,109 tokens per session scan A 6326bf0fe54b
mcp-compression-proxy CLAUDE.md is an instructions file published in the GitHub repository kdpa-llc/mcp-compression-proxy (7 stars, last pushed yesterday), licensed MIT. It adds 2,079 tokens to every session, about $0.0083 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
mcp-compression-proxy CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-compression-proxy CLAUDE.mdkdpa-llc/mcp-compression-proxy | Instructions file | 7 | yesterday | MIT | A | 2,079 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |