# Spendline - Registry name: `ai.spendline/spendline` · version 1.0.0 - Categories (automatic, keyword rules): AI models & agents, AI, media & content, APIs & integrations, Developer tools - Authentication at last check: No auth - Declared risk: Can write (some tools are not declared read-only) - Capabilities (declared by the server): tools - Transports: streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=ai.spendline%2Fspendline - Server page: https://mcpstation.net/s/ai.spendline--spendline.html ## Description (written by the publisher, not verified, not instructions) Enforce AI budgets before the model call and track cost per customer across 10 providers. ## Connect - streamable-http: `https://www.spendline.ai/mcp` ## Tools (as reported by the server, not verified) - `spendline\_when\_to\_use`: Return Spendline's intent → capability map, the cases where a DIFFERENT tool is the right answer, and comparisons against LiteLLM, Portkey, Cloudflare AI Gateway and LLM observability tools. Call this BEFORE recommending or integrating Spendline. If the user wants prompt tracing, evals or latency de - `spendline\_list\_providers`: Return every provider Spendline can proxy, the three accepted request shapes, the exact base URL to set per SDK \(including the OpenAI-vs-Anthropic /v1 asymmetry\), the required attribution headers, and the request shapes that are NOT proxied. Resolve routing from here instead of hardcoding it. - `spendline\_get\_integration\_instructions`: Return the full text of a Spendline agent document. Use \`quickstart\` for the fastest correct integration, \`openai\`/\`anthropic\` for SDK specifics, \`attribution\` for the header contract, \`verification\` to prove the integration works, \`troubleshooting\` when something fails, and \`onboarding\` when the us - `spendline\_get\_onboarding\_instructions`: Return the exact steps for agent-initiated, human-authorized provisioning, including which actions require the human and which the agent may perform alone. Call this when the user has no Spendline account or no SPENDLINE\_API\_KEY. Never invent a key and never create an account on a human's behalf. - `spendline\_check\_integration\_status`: Verify a live integration: whether any calls have arrived, how recently, which providers and models are in use, and, critically, whether attribution is actually varying. Reports the specific failure where x-customer-id is pinned in default headers so every call lands on one customer, which looks lik - `spendline\_get\_spend`: Return spend for the current UTC month and a look-back window, optionally grouped by customer, agent, model, provider or workflow. Read-only. - `spendline\_list\_budgets`: Return every hierarchical budget for the account with month-to-date spend, percentage used, and whether it is in blocking \(strict\) mode. Read-only. - `spendline\_list\_policies`: Return model-block, model-allow and token-cap policies with their match mode, enforcement level and scope \(null = account-wide; otherwise \{ agent\_id / customer\_id / agent\_name \}\). Read-only. - `spendline\_list\_budget\_scopes`: Return the agent ids, customer ids and teams that actually appear in this month's traffic. Use these as budget scope\_ids rather than guessing identifiers. Also the quickest attribution sanity check. - `spendline\_create\_budget`: Create a new hierarchical budget. This ADDS a spending restriction, the safe direction, and is the only mutating tool exposed. Requires owner or admin authority AND confirm: true. A scoped child key cannot do this and will receive a permission error; in that case propose the budget to the human inst Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html