caveman-shrink
#177 of 203 by Downloads / week among npm packages
MCP proxy that compresses prose fields (tool descriptions, etc.) using caveman rules. Same accuracy, fewer context tokens.
About
MCP middleware. Wrap any MCP server. Cut the prose. Keep the substance.
caveman-shrink is a stdio proxy for the Model Context Protocol. It sits between Claude (or any MCP client) and an upstream MCP server, and compresses the prose fields (description, etc.) using the same boundaries as the caveman skill — preserving code, URLs, paths, and identifiers while stripping articles, filler, hedging, and pleasantries.
The result: tool catalogs that the model burns fewer tokens to read, with no change to tool semantics.
Wrap any MCP server in your Claude Code (or other client) config:
The proxy spawns the upstream as a subprocess, intercepts tools/list, prompts/list, resources/list responses,…
Excerpted from www.npmjs.com/package/caveman-shrink
Latest metrics
| Downloads / week | 3.2k | 2026-07-16 |
|---|