Basic information
About AgentBill MCP Server
Preflight spend control for AI agents. Block runaway agent loops before they start - not after the bill arrives. Per-request cost ceilings, budget checks, and outcome-based metering in 2 MCP tool calls.
AgentBill MCP is a MCP server in the Other category listed in the AddMCP.net directory, published by marketinglior-pixel. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: agents, billing, cost-control, langchain, llm.
Connection details
https://agentbill.dev/mcp
Setup
claude mcp add agentbill --transport http https://agentbill.dev/mcp
[mcp_servers.agentbill] url = "https://agentbill.dev/mcp"
{
"mcpServers": {
"agentbill": {
"url": "https://agentbill.dev/mcp"
}
}
}
{
"servers": {
"agentbill": {
"type": "http",
"url": "https://agentbill.dev/mcp"
}
}
}
AgentBill MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"agentbill": {
"command": "uvx",
"args": [
"agentbill-mcp"
],
"env": {
"AGENTBILL_API_KEY": "your-api-key"
}
}
}
}
AgentBill MCP tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is AgentBill MCP?
AgentBill MCP is a preflight gate for AI agent runs. It blocks runaway loops before they start by enforcing a budget ceiling at the invocation level.
How to use AgentBill MCP?
Install the SDK with pip install agentbill-sdk. Configure the client with an API key, then call preflight() before an agent run and record_event() after to log usage. Two tool calls are required: one to check budget, one to record the cost.
Key features of AgentBill MCP
- Blocks runaway loops before they cause damage
- Budget enforcement at the invocation level, not monthly
- Simple two-tool workflow:
preflight()thenrecord_event() - Free tier: 1,000 preflight calls per month
- No credit card required for free tier
Use cases of AgentBill MCP
- Prevent a single long-running research loop from blowing your budget
- Enforce per-agent-run cost ceilings for AI agents
- Add budget checks before any expensive agent action
- Replace blunt monthly caps with granular per-invocation control
Frequently asked questions
1 How is AgentBill MCP different from monthly caps?
Monthly caps don't catch a bad single run. One 3-hour research loop can blow your budget before the cap triggers. AgentBill enforces a ceiling at the invocation level.
2 How does it work?
Call preflight() before the agent runs to check the budget. If approved, the agent runs. Then call record_event() to log usage for billing.
3 What is the free tier?
1,000 preflight calls per month are free. No credit card required.
4 How do I get an API key?
Get your API key at https://agentbill.fly.dev/register.
5 How do I install AgentBill MCP?
Install with pip install agentbill-sdk.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In