llmkit_budget_status
Check budget limits and remaining balance
See what your AI coding sessions cost — read straight off your own machine with no account — and query spend, budgets and sessions from an LLMKit gateway when you have one.
LABSCO SUMMARY
The local tools are the immediate payoff: they read what Claude Code and Cline already record and answer what this session cost, which project has consumed the most, how much caching saved, and — less commonly available — which subagent inside the current session is doing the spending. The gateway half adds shared budgets with admission control, where estimated spend is reserved before the request leaves and an over-budget request is rejected rather than discovered later; that half needs a key the project says it cannot currently issue.
A cost server with two halves. The local half reads the session data Claude Code and Cline already write on your machine and needs no account. The gateway half queries an LLMKit proxy, which reserves estimated spend before dispatching a request and refuses one that will not fit the budget.
Published as @f3d1/llmkit-mcp-server and launched over stdio with npx. The local tools require nothing at all — they read session files the coding tools already produce. The gateway tools need an existing LLMKit API key, and the repository states that account creation and key management are temporarily unavailable while the authenticated service is restored, so without a key already in hand the local half is what works.
One command — npx -y @f3d1/llmkit-mcp-server
USE CASES
One call totals the current session across every detected coding tool, with nothing to configure first.
Projects ranked by cumulative spend, and inside the current session, the subagents that account for it.
llmkit_local_cache puts a figure on what caching saved rather than leaving it as an assumption.
The forecast projects the month from your real local usage and sets it against a Max subscription.
Totals and top models for a period, then the same spend grouped by provider, model, session or day.
Budget limits and remaining balance, plus a proxy health check so a failure later is not a surprise.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
llmkit_budget_statusCheck budget limits and remaining balance
llmkit_cost_queryQuery cost breakdown grouped by provider, model, session, or day
llmkit_healthCheck proxy health and response time
llmkit_list_keysList all API keys with status and creation date
llmkit_local_agentsSubagent cost attribution for the current Claude Code session. Shows which agents cost the most.
llmkit_local_cacheCache savings analysis across all detected AI coding tools. Shows how much prompt caching saved.
llmkit_local_forecastMonthly cost projection based on local AI tool usage. Compares to Max subscription.
llmkit_local_projectsCumulative cost across all projects and sessions from all detected AI coding tools, ranked by spend.
llmkit_local_sessionCurrent session cost across all detected AI coding tools (Claude Code, Cline). No API key needed.
llmkit_session_summaryGet recent proxy sessions with cost, duration, and models used
llmkit_usage_statsGet usage statistics (spend, requests, top models) for a time period
BEFORE YOU INSTALL
11 tools when we connected.
npx on PATH
LLMKIT_API_KEY in your environment
CONTEXT COST
Rated by the size of the 11 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"llmkit-mcp-server": {
"command": "npx",
"args": [
"-y",
"@f3d1/llmkit-mcp-server"
]
}
}
}LLMKIT_API_KEY is optional and only for the six gateway tools; the five local tools need no key. If you have one, set LLMKIT_API_KEY in the server's environment: in a config file, add an "env" entry with it next to "args"; on the command line, export it before running npx.
npx -y @f3d1/llmkit-mcp-server