Best for
- Developers who use AI coding agents regularly
- Users who want local processing and lower LLM context costs
- Workflows combining multiple agents or MCP tools
The source identifies Headroom as an Apache-2.0 open-source local MCP server, version 0.32.0, exposing headroom_compress, headroom_retrieve, and headroom_stats. The evidence supports stdio deployment and uvx installation; it does not provide a complete MCP-client compatibility list or authentication details.
Strongest · Documentation 15/20 Weakest · Reliability 9/20
Static review · not runListed 2026-07-29
Read the FMRS scoring method →Runtime:Python 3.10+
HEADROOM_OUTPUT_SHAPER
Set to 1 to enable output token reduction (verbosity steering and effort routing); off by default.
HEADROOM_OUTPUT_HOLDOUT
Fraction (0-1) of conversations left unshaped as a control group for measured output savings.
HEADROOM_EMBEDDER_RUNTIME
Set to pytorch_mps to offload the memory embedder to Apple GPU.
HEADROOM_UPDATE_CHECK
Set to off to disable the daily background PyPI update check at startup.
HEADROOM_TLS_STRICT
Set to 0 in SSL-inspection environments to relax Python 3.13 strict TLS verification (only clears VERIFY_X509_STRICT).
ORT_STRATEGY
Set to system to use a system-installed ONNX Runtime instead of downloading one.
ORT_LIB_LOCATION
Path to a system ONNX Runtime lib/ directory, used with ORT_STRATEGY=system.
ORT_DYLIB_PATH
Absolute path to libonnxruntime.dylib dlopen'd at runtime.
ORT_PREFER_DYNAMIC_LINK
Set to 1 to force dynamic linking of ONNX Runtime.
HF_HUB_OFFLINE
Set to 1 to use a pre-downloaded kompress model instead of contacting HuggingFace.
HF_ENDPOINT
Set to a trusted HuggingFace mirror for model downloads.
REQUESTS_CA_BUNDLE
Path to a CA bundle with your corporate CA, used by requests/huggingface_hub downloads.
SSL_CERT_FILE
Path to a CA certificate file for corporate SSL-inspection environments.
CURL_CA_BUNDLE
Path to a CA bundle for corporate SSL-inspection environments.
In an MCP client that supports uvx, set the command to uvx and the arguments to --from headroom-ai[mcp] headroom mcp serve. You may also install headroom-ai[mcp] first and then run headroom mcp serve. Python 3.10+ is required; the MCP transport is stdio.
{"command":"uvx","args":["--from","headroom-ai[mcp]","headroom","mcp","serve"]}
Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.
{
"command": "uvx",
"args": [
"--from",
"headroom-ai[mcp]",
"headroom",
"mcp",
"serve"
]
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
Check that headroom_compress, headroom_retrieve, and headroom_stats appear in your MCP client's tool list; calling headroom_stats and getting compression statistics back proves the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
The Headroom MCP server provides compression, retrieval, and statistics for MCP-compatible hosts. It processes tool outputs, logs, files, and RAG chunks before they reach an LLM, with reversible compression and local retrieval of originals.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision fbf7bc3278c1 Data synced 2026-10-19 Read the FMRS scoring method