Enforce AI budgets before the model call and track cost per customer across 10 providers.
Connect Remote server
claude mcp add --transport http spendline https://www.spendline.ai/mcp --header "x-spendline-key: <X_SPENDLINE_KEY>"
{
"mcpServers": {
"spendline": {
"url": "https://www.spendline.ai/mcp",
"headers": {
"x-spendline-key": "<X_SPENDLINE_KEY>"
}
}
}
}
{
"servers": {
"spendline": {
"type": "http",
"url": "https://www.spendline.ai/mcp",
"headers": {
"x-spendline-key": "<X_SPENDLINE_KEY>"
}
}
}
}
Settings > Connectors > Add custom connector
URL: https://www.spendline.ai/mcp
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools 10 found in our last check
spendline_when_to_useReturn 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…
spendline_list_providersReturn 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…
spendline_get_integration_instructionsReturn 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 `on…
spendline_get_onboarding_instructionsReturn 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…
spendline_check_integration_statusVerify 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 cust…
spendline_get_spendReturn spend for the current UTC month and a look-back window, optionally grouped by customer, agent, model, provider or workflow. Read-only.
spendline_list_budgetsReturn 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_policiesReturn 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_scopesReturn 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_budgetCreate 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 bud…
Headers
| Name | Description |
|---|---|
x-spendline-keyOptional, secret | Spendline API key. Optional: public selection and integration tools work without it; spend, budget and policy tools require it. |
Details
| Endpoint | https://www.spendline.ai/mcp (Streamable HTTP) |
| First published | 8 Sep 2026 |
| Last updated | 8 Sep 2026 |
| Registry name | ai.spendline/spendline |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
