Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 125k stars
  • 1.2k a week
  • Apache-2.0
  • Updated

Install Caveman Shrink

Built from the published package, never by AI.

claude mcp add caveman-shrink -- npx -y caveman-shrink

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Caveman Shrink in Claude Code

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 →

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.

Caveman Shrink Install

Add to stack

Loading.