agentbill-mcp
AgentBill
Nutzungsbasierte Abrechnung für KI-Agenten. Preflight. Obergrenze pro Anfrage. Kein Stripe.
Stripe sagt dir, wie viel du ausgegeben hast. Zu spät. AgentBill blockiert den Lauf, bevor er beginnt, wenn das Budget es vorgibt.
„In dem Moment, in dem du Stripe als Sicherheitsnetz benutzt, hast du den Lauf bereits verloren.“ — scarlett1908, r/LangChain
Installation
pip install agentbill-sdk
Related MCP server: agent-budget
Schnelleinstieg
from agentbill import AgentBillClient
client = AgentBillClient(api_key="agb_your_key")
check = client.preflight(agent_id="researcher", budget=5.00) if not check.approved: raise Exception("Budget überschritten")
client.record(agent_id="researcher", cost=check.estimated_cost)
Hole dir deinen API-Schlüssel: https://agentbill.fly.dev/register
Was es tut
Preflight. Bevor der Agent läuft, prüft AgentBill: Hat dieser Kunde genug Budget? Wenn nicht, blockiere es, bevor Rechenleistung verbraucht wird.
Obergrenze pro Anfrage. Monatliche Obergrenzen erfassen nicht den schlechten Einzellauf. Eine 3-stündige Forschungsschleife kann dein Budget sprengen, bevor die Obergrenze greift. AgentBill erzwingt eine Obergrenze auf Aufrufebene.
ergebnisbasierte Messung. Du definierst, was als abrechenbares Ereignis zählt. Nicht Bytes, nicht Sekunden. Die geschäftliche Aktion, die der Agent ausgeführt hat.
Kostenloses Kontingent
1.000 Preflight-Aufrufe/Monat. Keine Kreditkarte erforderlich.
Was es NICHT tut
Mehrstufige Workflows mit Zustandsautomaten oder Umkehrlogik (außerhalb des Geltungsbereichs)
Deinen Zahlungsabwickler ersetzen (AgentBill sitzt davor)
No-Code-Dashboard für Nicht-Entwickler
Node.js
npm install agentbill
Warum nicht Stripe
Stripe | AgentBill Preflight-Blockierung: Nein | Ja Obergrenze pro Anfrage: Nein | Ja Blockiert vor der Berechnung: Nein | Ja Für Agenten gebaut: Nein | Ja
MCP-Server
AgentBill liefert einen MCP-Server für die native Integration mit Claude Code, Cursor, Windsurf und jedem MCP-kompatiblen Agenten-Host.
Installation über agentbill-mcp auf PyPI:
uvx agentbill-mcpDer MCP-Server stellt zwei Tools bereit:
preflight(agent_id, customer_id, estimated_units, ceiling)— Budget vor dem Ausführen prüfen. Blockiert, wenn erschöpft.record_event(agent_id, units, customer_id, metadata)— Abrechnung nach Abschluss der Arbeit.
Konfiguration in ~/.claude/settings.json:
{
"mcpServers": {
"agentbill": {
"command": "uvx",
"args": ["agentbill-mcp"],
"env": { "AGENTBILL_API_KEY": "sk_live_..." }
}
}
}Quelle: mcp/ | PyPI: agentbill-mcp | MCP-Registry: io.github.marketinglior-pixel/agentbill-mcp
Gib diesem Repo einen Stern
Wenn Obergrenzen pro Anfrage das sind, was du brauchst, gib diesem Repo einen Stern. Es hilft anderen Entwicklern, es zu finden.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Veqen brings together work and coding agent costs per person and team, product inference costs per customer, agent spending, protection incidents, invoice checks, chargeback and the month-end close. Ask your assistant to investigate recorded spending, compare model prices, review provider keys and incidents, record bills and credits, or manage budgets, alerts, teams and spending policies. Your account role and plan govern access. Provider-key shut-off and agent-card controls require the appropriate role and provider permissions. Destructive actions require confirmation, and organizations can require a second person to approve a shut-off. SDK budget blocking is not a guaranteed spending cap. Work and coding agents are free for up to 3 people; product inference is free up to $1,000 in monthly AI spend. Connect your Veqen account for private organization data. The separate public model-price server needs no account. Estimates remain separate from provider invoices. Setup and permissions: https://veqen-app.com/docs/mcp
Veqen brings together work and coding agent costs per person and team, product inference costs per customer, agent spending, protection incidents, invoice checks, chargeback and the month-end close. Ask your assistant to investigate recorded spending, compare model prices, review provider keys and incidents, record bills and credits, or manage budgets, alerts, teams and spending policies. Your account role and plan govern access. Provider-key shut-off and agent-card controls require the appropriate role and provider permissions. Destructive actions require confirmation, and organizations can require a second person to approve a shut-off. SDK budget blocking is not a guaranteed spending cap. Work and coding agents are free for up to 3 people; product inference is free up to $1,000 in monthly AI spend. Connect your Veqen account for private organization data. The separate public model-price server needs no account. Estimates remain separate from provider invoices. Setup and permissions: https://veqen-app.com/docs/mcp
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for AgentPay — the payment gateway for autonomous AI agents. Fund a wallet once, give your agent the key, and it discovers, provisions, and pays for tool APIs on its own. One key, every tool.112 npm1MIT
- AlicenseNot gradedqualityDmaintenanceBudget management and cost tracking MCP server for autonomous agents, enabling budget creation, cost recording, spending projections, and alert rules.MIT
- AlicenseAqualityCmaintenanceMCP server that enables AI agents to request human approval before spending money, check approval status, verify signed tokens, and manage API keys.9MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that reports AI agent costs (tokens, latency, dollars) with per-tenant isolation via OAuth, and includes an ADK agent for natural-language queries.Apache 2.0