Claude Code
◐ actuals: auto with the pluginSet up Budgetary so you give me a pre-flight token-spend estimate before large tasks.
Do exactly this, and nothing more:
1. Ask me for my Budgetary API key first (it starts with bg_test_ or bg_live_). If I don't give you one, stop and tell me — do not invent or read one from anywhere.
2. Add a single MCP server named "budgetary" from the published npm package:
claude mcp add budgetary --env BUDGETARY_API_KEY=<the key I gave you> --env BUDGETARY_HOST=claude-code -- npx -y @budgetary/mcp
3. Then tell me, in one line: that command wires the "estimate" tool only. Automatic actuals — the session-end hook that submits what a run really cost — come with the Claude Code plugin (/plugin marketplace add thriftell/budgetary-clients, then /plugin install budgetary@budgetary). Do not install it unless I ask.
This only registers one MCP server (it exposes an "estimate" tool). It does not edit my code, read my repository, or install anything else. Do not write the key to any other file or commit it.Before you start, call the Budgetary "estimate" tool on this task and show me what it returns — the token range, the scenario, and the confidence — then wait for my go-ahead:
"Refactor the auth middleware to use async sessions and update the tests."
If Budgetary returns a "no read" (it can't confidently estimate this one), just tell me that plainly. Don't guess a number.Actuals: automatic with the Claude Code plugin — that is what wires the session-end hook that submits your real token counts. The command above adds the estimate tool alone: estimates work, and until that hook is in place you submit actuals yourself from the real session transcript (npx @budgetary/mcp on-session-end --transcript <file>), so you never type a number. Run npx @budgetary/mcp doctor to see whether an automatic submission has ever run on this machine — it prints the hook to add if none has.