# Headroom Mini

> Use this tool when you need to optimize token usage in large language models (LLMs) by compressing code and JSON, streamlining prompts, and managing content redaction. The Headroom Mini provides a local MCP server with tools to reduce token consumption, making it ideal for applications with limited token budgets. It accepts code, JSON, and prompts as inputs and outputs optimized versions, suitable for use cases where token efficiency is crucial.

Canonical page: https://skillsregistry.net/skills/lea-blum-headroom-mini-token-optimizer  
JSON: https://api.skillsregistry.net/v1/skills/lea-blum-headroom-mini-token-optimizer

## Description

Local MCP server for token optimization, providing tools to compress code/JSON, optimize prompts, and manage placeholder-based content redaction and hydration to reduce LLM token usage.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/nmkaeiie0n)
- **Repository:** <https://github.com/lea-blum/headroom-mini-token-optimizer>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "lea-blum-headroom-mini-token-optimizer"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/lea-blum-headroom-mini-token-optimizer` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/lea-blum-headroom-mini-token-optimizer/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
