caveman
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
Caveman is an MCP server and CLI tool that reduces AI agent token consumption by up to 65% through compression techniques and concise output formatting. It includes two components: a skill that makes agents respond in terse "caveman-speak" while preserving code accuracy, and a local proxy that compresses input payloads (tool schemas, files, logs) before sending them to language model providers. The tool works with Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and 30+ other AI coding agents, requiring no code changes to integrate.
Key Features
Use Cases
- 01Reducing token costs for developers running frequent AI coding sessions with agents like Claude Code or Cursor
- 02Compressing noisy command output, test logs, and build artifacts that bloat agent context windows
- 03Converting installed skill documentation to compressed PNG format to reduce per-invocation overhead
- 04Analyzing historical agent sessions to identify and fix top token consumption sources across projects
- 05Enabling longer context retention by shrinking tool catalogs, file contents, and conversation history
- 06Wrapping production AI agents with transparent compression that preserves OAuth credentials and subscription logins
Related MCP Servers
View morepublic-apis
A collective list of free APIs
awesome-python
The definitive list that answers "I want to do X in Python, which tool should I use?"
awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
caveman — FAQ
What is the Caveman MCP server?+
Caveman is an MCP server and CLI tool that reduces AI agent token usage through two mechanisms: a skill that makes agents respond concisely in "caveman-speak," and a local proxy that compresses input payloads (files, logs, tool schemas) before they reach the language model provider. Both preserve code accuracy and support byte-exact recovery of original content.
How do I install Caveman for Claude Code?+
Install globally with 'npm install -g @caveman-ai/cli && caveman setup --install' then run 'caveman claude' to wrap Claude Code with the proxy. For the skill only, use 'npx skills add JuliusBrussee/caveman' or 'claude plugin marketplace add JuliusBrussee/caveman && claude plugin install caveman@caveman'.
Which AI clients and agents work with Caveman?+
Caveman has native wrapper support for Claude Code, OpenAI Codex CLI, Gemini CLI, Aider, opencode, Hermes Agent, and OpenClaw. The skill works in 30+ agents including Cursor, Windsurf, Cline, and Copilot. Any framework using baseURL configuration (Vercel AI SDK, LangChain, LiteLLM) can point to the local proxy.
Does Caveman require API keys or a subscription?+
Caveman itself is free and requires no API keys or subscription. It works as a local proxy and skill, forwarding requests to your existing language model provider (Anthropic, OpenAI, Google) using your existing credentials. OAuth tokens for Claude Pro/Max and ChatGPT subscriptions pass through unchanged.
Is Caveman free and open source?+
The skill, CLI, and adoption surfaces are MIT-licensed and free forever. The engine-linked runtime (proxy, compression engine, MCP server) is BSL-1.1 source-available, free for first-party use including production, but requires a commercial license for third-party hosted services. All BSL code converts to Apache-2.0 in 2030 or four years after release.
What are the prerequisites for running Caveman?+
Node.js 18+ is required for installation. The proxy needs Go and pnpm if building from source instead of using signed binaries. Pixel mode and browser compression require Chrome to be installed. The tool runs entirely locally with no external Caveman account needed.
How do I install caveman?+
Open the source repository on GitHub and follow its README. caveman is a mcp server — MCP Agents Market links you directly to the official repo.
Is caveman free?+
caveman is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.