Budgetary: estimate token spend
Pre-flight token-spend estimate (range, scenario, confidence) for a coding task, or an…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.13.0
- Listing updated
- 4 days ago
About Budgetary: estimate token spend
Budgetary: estimate token spend is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Pre-flight token-spend estimate (range, scenario, confidence) for a coding task, or an abstention.
Install
Run in a terminal
claude mcp add budgetary --env BUDGETARY_API_KEY='<BUDGETARY_API_KEY>' -- npx -y @budgetary/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"budgetary": {
"command": "npx",
"args": [
"-y",
"@budgetary/mcp"
],
"env": {
"BUDGETARY_API_KEY": "<BUDGETARY_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"budgetary": {
"command": "npx",
"args": [
"-y",
"@budgetary/mcp"
],
"env": {
"BUDGETARY_API_KEY": "<BUDGETARY_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"budgetary": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@budgetary/mcp"
],
"env": {
"BUDGETARY_API_KEY": "<BUDGETARY_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"budgetary": {
"command": "npx",
"args": [
"-y",
"@budgetary/mcp"
],
"env": {
"BUDGETARY_API_KEY": "<BUDGETARY_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"budgetary": {
"command": "npx",
"args": [
"-y",
"@budgetary/mcp"
],
"env": {
"BUDGETARY_API_KEY": "<BUDGETARY_API_KEY>"
}
}
}
}Configuration
BUDGETARY_API_KEYBudgetary API key (bg_live_ or bg_test_ prefix). Get one at https://budgetary.tools.RequiredBUDGETARY_HOSTOptional 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.
Pricing
Open source
Prices change. Check budgetary.tools before you buy.
Budgetary: estimate token spend FAQ
Is Budgetary: estimate token spend free?
Yes. Budgetary: estimate token spend is open source, so you can use and self-host it for free.
How do I add Budgetary: estimate token spend to Claude Code?
Run this command in your terminal: claude mcp add budgetary --env BUDGETARY_API_KEY='<BUDGETARY_API_KEY>' -- npx -y @budgetary/mcp