Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Live subscription limits, resets and budget checks for coding agents over MCP.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"headroom": {
"command": "npx",
"args": [
"-y",
"headroomd",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"headroom": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"headroomd",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Apertur3 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.
按原文从作者的仓库复制。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.
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
headroom setup
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.
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.headroom wait --meter --until-reset --max 6h (exit 3 means it timed out), then run headroom can again before you start anything.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.--allow-unknown unless I ask for it.headroom --json, not the human view.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.
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
| Platform | Status |
|---|---|
| macOS | The primary platform: daily use on one machine, plus CI. Antigravity needs macOS 14 or later |
| Linux | CI on Ubuntu; cold install also checked by hand on ARM64 |
| Windows | Experimental. 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 |
| Antigravity | Experimental. Depends on a private local endpoint that the vendor can change |
| Grok | Experimental. 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
| Tests | npm 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 platforms | macOS, Ubuntu and Windows (macos-latest, ubuntu-latest, windows-latest): lint, tests, build, npm pack --dry-run, privacy sweep, npm audit |
| Daily use | one macOS machine; this is the only environment a person uses every day |
| Install from the packed tarball | scripted cold-install smoke test (smoke-cold.sh) runs in the release workflow; also checked by hand on macOS and on Linux ARM64 |
| Windows | experimental. 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
只显示了开头部分;其余内容请在仓库中阅读