
headroom
MCP serverCompresses tool outputs, logs and chat history before they reach an LLM to cut input
Not checked yet- 3 tools
- Open source
- 81.2K GitHub stars
- AI models and LLM tooling

Compresses tool outputs, logs and chat history before they reach an LLM to cut input
Not checked yetMCP server and Python library that shortens prompts, docs and agent skills to save tokens
Runs locallyMCP server that scores, checks and compiles prompts for AI clients, with no LLM calls
Runs locallyLocal LLM tool that shortens prompts by 40-60% and keeps conditional logic intact
Runs locallyMeasure and cut wasted LLM tokens in Claude Code, Cursor, Codex and Gemini CLI
Runs locallyLocal MCP server and CLI that shrinks logs, JSON and test output before an LLM reads them
Runs locallyCompare and monitor AI model quality, speed and cost across providers for developers
MCP server that audits LLM API token usage, flags waste, and estimates caching savings
Runs locallyMCP server that lints and generates CLAUDE.md and AGENTS.md files and improves prompts
Not checked yetLocal gateway and MCP server that trims framework noise and secrets from error logs
Runs locallyCompresses coding agent tool output into reversible handles and measures what it costs
Runs locallyLocal MCP gateway that lets one client drive Claude Code, Codex, Gemini and other coding
Runs locallyMCP server that proxies LLM completion requests to OpenAI-compatible providers
Runs locallyMCP server that screens prompts for injection, evasive spacing and obscene content
Runs locallyLocal-first tracker that records LLM API spend across providers and exposes it over MCP
Runs locallyMCP server that counts, truncates and chunks text to fit LLM token budgets
Runs locallyThe closest alternatives to llmtrim are headroom, CompactPrompt, Claude Prompt Optimizer, Token Compressor and context-doctor.
Yes. headroom, CompactPrompt, Claude Prompt Optimizer have a free or open-source option.