Esta página se muestra en inglés. Una traducción al español está en curso.
MCP ConfigsMay 14, 2026·2 min de lectura

Headroom — Context Compression + MCP for Agents

Local context optimization layer: proxy/wrap/CCR + MCP tools to compress logs/files/RAG for agents; verified 1742★, pushed 2026-05-14.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Native · 94/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Mcp
Instalación
Pip|Npm
Confianza
Confianza: Established
Entrada
pip install "headroom-ai[all]" && headroom wrap claude
Comando CLI universal
npx tokrepo install 274eb518-e8b5-52ac-a2be-88acde3b1164
Introducción

Local context optimization layer: proxy/wrap/CCR + MCP tools to compress logs/files/RAG for agents; verified 1742★, pushed 2026-05-14.

Best for: Agent-heavy teams hitting context limits on logs, tool output, and long histories

Works with: Python/Node apps, OpenAI-compatible clients via proxy, and MCP clients via Headroom MCP tools (per README)

Setup time: 8-20 minutes

Key facts (verified)

  • GitHub: 1742 stars · 158 forks · pushed 2026-05-14.
  • License: Apache-2.0 · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: pip install "headroom-ai[all]" && headroom wrap claude.

Main

  • Start with wrap mode: headroom wrap claude|codex|cursor gives quick wins without rewriting your app stack.

  • Use proxy mode for language-agnostic pipelines: point any OpenAI-compatible client at the proxy and keep data local (per README).

  • Treat CCR as reversible: README emphasizes originals are retrievable, so you can compress aggressively without losing auditability.

  • Measure savings: capture before/after token counts (README demo shows 10,144 → 1,260) and tune only where it matters.

Source-backed notes

  • README lists three usage modes: library, proxy (headroom proxy), and agent wrap (headroom wrap ...).
  • README states it provides an MCP server with tools like headroom_compress/headroom_retrieve/headroom_stats.
  • README demo includes a concrete token reduction example (10,144 → 1,260) and describes CCR as reversible.

FAQ

  • Do I need to change my app?: Not necessarily — start with headroom wrap ... or run headroom proxy as a drop-in endpoint.
  • Is compression reversible?: README says CCR keeps originals; the agent can retrieve raw content on demand.
  • How do MCP clients use it?: Install/enable the Headroom MCP server (README mentions MCP-native entrypoints) and call compress/retrieve tools.
🙏

Fuente y agradecimientos

Source: https://github.com/chopratejas/headroom > License: Apache-2.0 > GitHub stars: 1742 · forks: 158

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados