Caveman Shrink
MCP server by JuliusBrussee Verified · npm:caveman-shrink
Compresses the prose in MCP tool descriptions using caveman-style rules, aiming for the same accuracy with fewer context tokens. Built for developers who run AI coding agents and want lower token use.
Install Caveman Shrink
Built from the published package, never by AI.
claude mcp add caveman-shrink -- npx -y caveman-shrinkRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"caveman-shrink": {
"args": [
"-y",
"caveman-shrink"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"caveman-shrink": {
"args": [
"-y",
"caveman-shrink"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"caveman-shrink": {
"args": [
"-y",
"caveman-shrink"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add caveman-shrink -- npx -y caveman-shrink{
"mcpServers": {
"caveman-shrink": {
"args": [
"-y",
"caveman-shrink"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add caveman-shrink npx -y caveman-shrinkGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the caveman-shrink block.
About
Caveman Shrink is listed as an MCP proxy that compresses prose fields, such as tool descriptions, using caveman rules. The publisher's declared description says it keeps the same accuracy while using fewer context tokens. The source provided is the Caveman project page, which describes a related set of tools and does not describe this proxy directly.
The Caveman project makes AI coding agents answer in short, plain sentences, read less tool output and keep code exact. It installs with one npx command and is said to work with Claude Code, Codex, Gemini CLI and 30+ other agents. Token savings come from the project's own benchmarks, which are not production billing figures. It suits developers who use AI coding agents and want to lower their token use.
Written from the project's README and checked against it.
Tools it gives your assistant
Say lessMakes the agent answer short while code, commands and errors stay exact.Read lessShrinks logs, code, diffs, JSON, CSV, docs and test output before the model reads them.AutoPicks the model and effort level for each ask, with a free account.BlocksCode mode that keeps scripts the agent writes and runs them again.Waste fixesFinds where tokens go and keeps the prompt cache warm while you pause.BrowseReturns web pages to the agent in compressed form.
What you need
- Node.js 22.13 or newer
- Node.js 18 or newer for the skills alone
- Mac, Linux or Windows
- Your own keys or a Claude Pro or Max login
- A free account for Auto
Try asking
- Answer my questions in caveman mode with short replies.
- Read this test log with Read less and tell me what failed.
- Use Browse to compress this web page and summarize the table.
Good to know
- Token savings come from the publisher's controlled benchmarks, not production billing.
- Auto's quality gap is unresolved in its interim run.
- Claude web, phone and Cowork setup is not tested end to end yet.
- The source does not describe the Caveman Shrink proxy itself.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/v5.1.0/install.sh | bash
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Caveman Shrink
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Caveman Shrink: common questions
Does Caveman Shrink reduce tokens without losing accuracy?
The declared description claims the same accuracy with fewer context tokens. The source reports a JetBrains A/B test of the wider Caveman project with no measurable quality loss on coding tasks.
What changes in the agent's answers?
Replies are shorter and follow a fixed structure, with code, commands and error messages kept exact. Your prompts are never rewritten.
Which agents does Caveman work with?
The source says it works with Claude Code, Codex, Gemini CLI, OpenCode and 30+ more agents.
How do I install Caveman Shrink?
In Claude Code run claude mcp add caveman-shrink -- npx -y caveman-shrink. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Caveman Shrink the official server?
Caveman Shrink is published by npm:caveman-shrink from its verified domain in the official MCP Registry.
Is Caveman Shrink free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Caveman Shrink safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Caveman Shrink?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Caveman Shrink work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
