原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Headroom

作者:Apertur3版本 0.2.20i★ –i在你的电脑上运行
注册名称io.github.Apertur3/headroom

安装

概览

作者提供的说明(英文原文)

Live subscription limits, resets and budget checks for coding agents over MCP.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "headroom": {
      "command": "npx",
      "args": [
        "-y",
        "headroomd",
        "mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add headroom -- npx -y headroomd mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "headroom": {
      "command": "npx",
      "args": [
        "-y",
        "headroomd",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "headroom": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "headroomd",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Apertur3 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32696 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32696 个服务器的 90% 更新
  • 基础检查结果等于或优于此分类中其他 32696 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Headroom 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.20)于4天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, LexPact UK Contracts

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

LexPact UK Contracts

作者:Idadabhai

Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Your coding agents check their Claude and Codex limits before they start a job.

headroomd reads the 5-hour and weekly limits your subscriptions report and answers go, wait or reroute, over the CLI or MCP.

npm install -g headroomd   # or: brew install apertur3/tap/headroom

headroom setup headroom can claude-fable --owner me && echo go

Then install the Claude Code plugin (requires headroomd above):

claude plugin marketplace add Apertur3/headroom

claude plugin install headroom@headroom

macOS, Linux, Windows (experimental). No telemetry. Zero runtime dependencies.

Not related to headroomlabs-ai/headroom, the context-compression project.


Install

Node 22.13 or newer. The npm package is headroomd; the Homebrew formula is apertur3/tap/headroom. Both install the headroom command.

npm install -g headroomd

or, on macOS and Linux: brew install apertur3/tap/headroom

finds your logins, runs the doctor, asks before each change

headroom setup

one block per account: percent used, reset time and pace state per window

headroom

Claude usage comes from Claude Code's statusline. Add this to ~/.claude/settings.json (or the settings.json of each other profile), or chain an existing statusline with headroom statusline --chain ' ':

{ "statusLine": { "type": "command", "command": "headroom statusline" } }

Alongside it, Headroom runs Claude Code's own /usage at most every 10 minutes (it adds the scoped meters the statusline does not carry; the statusline never runs under claude -p, so it can go stale between runs). headroom doctor and headroom status say which is in use. Headroom never edits your Claude settings files.

For Claude Code, install the plugin after installing headroomd with npm or Homebrew:

claude plugin marketplace add Apertur3/headroom

claude plugin install headroom@headroom

It bundles the Headroom skill, the MCP server registration and a quota line on every prompt. Using it alongside headroom hook install does not print the quota line twice. See Claude Code plugin for requirements and uninstall commands.

Already running Claude Code or another agent? Copy skills/headroom/SKILL.md into its skills directory and say "set up headroom".

Without the plugin, headroom setup offers to register the MCP server for your default Claude Code profile. To register it by hand, or in another profile:

claude mcp add --scope user headroom -- headroom mcp

CLAUDE_CONFIG_DIR=~/.claude-work claude mcp add --scope user headroom -- headroom mcp

Agents without MCP, Codex for example, call the CLI. Then give your agents the instructions in For agents. The MCP tools and example calls are in docs/mcp-and-agents.md.

Manual setup and optional configuration

The three commands above are the short path. Discovery on its own:

headroom accounts discover   # finds Claude, Codex, Antigravity, Grok and Kimi logins

On macOS and Linux, brew install apertur3/tap/headroom installs the same package and adds a brew services start headroom service.

By hand, the same steps are one command:

headroom setup                # discovery, doctor, service, MCP registration -- asks before each change

Run headroom notify configure to choose notification channels, a preset and overrides. Run headroom update only when you choose to install a newer package; headroom uninstall reverses setup, and headroom completion prints a shell completion script.

accounts discover prints what it wrote (Wrote ~/.headroom/accounts.toml (4 accounts). Next: headroom doctor) and, the first time, seeds ~/.headroom/policy.toml and routing.toml from examples/ so headroom can --owner works immediately with the example action classes (claude-fable, codex-build, gemini-bulk) -- edit routing.toml to match your accounts.

Keep an optional second profile that is deliberately logged out without polling it: add enabled = false to its [[accounts]] block, or run headroom accounts disable . It remains configured and can be restored with headroom accounts enable .

Full walkthrough, including what each step grants and why: docs/quickstart.md.

status/doctor check the npm registry at most once a day (a plain GET of the headroomd version, no account data) and print a one-line notice when a newer headroomd is out; run headroom update (never automatic) to install it. Set update_check = false in ~/.headroom/policy.toml to turn the check off -- see Staying up to date.


For agents

Paste this into the CLAUDE.md or AGENTS.md your agents read, and replace the placeholders with your own action classes, meters and agent name. The agent then checks Headroom before it dispatches work, instead of asking you.

## Usage limits (Headroom)

Check Headroom before you start work on a subscription. Do not ask me about usage or reset times.

  • headroom can --owner : exit 0 means go, exit 2 means no. Any other exit is an error: treat it as no. Classes are the [consumes] entries in ~/.headroom/routing.toml.
  • On no, try the next class in your fallback list. If none has room, run headroom wait --meter --until-reset --max 6h (exit 3 means it timed out), then run headroom can again before you start anything.
  • Start a job with headroom run --meter --need : --owner -- , for example --need 5h:10 for 10 percent of the 5-hour window. It reserves the points, runs the command and releases them when it exits. Exit 2 means refused; otherwise it returns the command's own exit code.
  • UNKNOWN means there is no trustworthy reading. Treat it as no. Never pass --allow-unknown unless I ask for it.
  • For the full picture, read headroom --json, not the human view.
  • In Claude Code with the Headroom MCP server, quota_can answers the same question as headroom can.

To put live quota in front of the agent on every turn, run headroom hook install --agent claude (or answer yes in headroom setup). Each Claude Code prompt then carries one line the daemon wrote at its last poll, with its age, for about 60 tokens per turn; headroom line prints the same line for any agent. Claude Code on macOS and Linux only for now; Windows, Codex and Gemini hooks are not supported yet.

A plain can is advisory. A reservation tells other agents that use Headroom the points are taken; it does not limit what the job itself spends, and it cannot stop tools that do not use Headroom. The longer version, with pace states, leases and reserves, is skills/headroom/SKILL.md.


Platform support and known limitations

7 sources read 3 OSes tested in CI 1 local daemon, one call per decision 0 telemetry (one opt-out update check)

Sources: five subscription services (Claude, Codex, Kimi, and the experimental Antigravity and Grok) and two local server types (vLLM and llama.cpp). A stale or failed reading prints UNKNOWN , never a number. Full writeup · Reproduce it

PlatformStatus
macOSThe primary platform: daily use on one machine, plus CI. Antigravity needs macOS 14 or later
LinuxCI on Ubuntu; cold install also checked by hand on ARM64
WindowsExperimental. Tests run in CI. On Windows 11, headroom install-service registers a "Headroom Daemon" task that starts immediately and serves a per-user named pipe whose name is a hash only. headroom uninstall --home asks the running daemon to shut down over that pipe, removes the task and the home, and exits 0. After an in-place upgrade, headroom install-service restarts the daemon onto the new version, except a daemon started by 0.2.6 or older, which has no shutdown request and must be stopped by hand once (end node.exe in Task Manager). Verified on Windows 11: MCP registration (claude mcp add --scope user headroom -- headroom mcp shows Connected) and a real Claude login read (fresh on the first poll). Not verified on Windows: a slow stop (the 27 second wait is covered by unit tests only) and start at logon and across reboots. Full detail below
AntigravityExperimental. Depends on a private local endpoint that the vendor can change
GrokExperimental. Reads the Grok CLI's undocumented chat-proxy endpoint and presents itself as the Grok CLI

The full table: tests, CI, install checks, Windows, vendor endpoints

Testsnpm test (vitest), run on every push on macOS, Ubuntu and Windows; some tests are POSIX-only and skip on Windows. Current counts are in the CI logs; method and limits: docs/verification.md
CI platformsmacOS, Ubuntu and Windows (macos-latest, ubuntu-latest, windows-latest): lint, tests, build, npm pack --dry-run, privacy sweep, npm audit
Daily useone macOS machine; this is the only environment a person uses every day
Install from the packed tarballscripted cold-install smoke test (smoke-cold.sh) runs in the release workflow; also checked by hand on macOS and on Linux ARM64
Windowsexperimental. On Windows 11, headroom install-service registers a "Headroom Daemon" task that starts immediately and serves a per-user named pipe whose name is a hash only. headroom uninstall --home asks the running daemon to shut down over that pipe, removes the task and the home, and exits 0. After an in-place upgrade, headroom install-service restarts the daemon onto the new version, except a daemon started by 0.2.6 or older, which has no shutdown request and must be stopped by hand once (end node.exe in Task Manager). Verified on Windows 11: MCP registration (claude mcp add --scope user headroom -- headroom mcp shows Connected) and a real Claude login read (fresh on the first poll). Not verified on Windows: a slow stop (the 27 second wait is covered by unit tests only) and start at logon and across reboots. Earlier, 0.2.4 was installed on Windows 11 and accounts discover, doctor, status / can / gate / dashboard (UNKNOWN, never a fake number) and the HTML report permissions worked. The process watchdog is inactive on Windows. PowerShell's default execution policy blocks the npm and headroom .ps1 shims; use cmd, or relax the policy

| W

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx