Skip to main content

Budgetary: estimate token spend

io.github.thriftell/budgetary

v0.13.0Updated Aug 10, 2026stdio · npm

Pre-flight token-spend estimate (range, scenario, confidence) for a coding task, or an abstention.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add budgetary -e 'BUDGETARY_API_KEY=<your-budgetary-api-key>' -- npx -y @budgetary/[email protected]

Configuration

2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • BUDGETARY_API_KEY
    Env var· required· secret
    Budgetary API key (bg_live_ or bg_test_ prefix). Get one at https://budgetary.tools.
  • BUDGETARY_HOST
    Env var· optional
    Optional tag naming the MCP host this server runs under — e.g. claude-code, cursor, codex, copilot. It labels each estimate with where it came from, and an explicit value overrides the host name the MCP handshake reports. Free-form; defaults to "mcp" when unset.

Listed in the official MCP Registry since Aug 10, 2026. Mirrored daily; last checked Nov 26, 2026.