Skip to content
Grok

Budgetary: estimate token spend for Grok

io.github.thriftell/budgetary

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

client:Grok transport:stdio runtime:npm

Install Budgetary: estimate token spend in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "budgetary": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@budgetary/mcp"
      ],
      "env": {
        "BUDGETARY_API_KEY": "<BUDGETARY_API_KEY>",
        "BUDGETARY_HOST": "<BUDGETARY_HOST>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Budgetary: estimate token spend in other clients