AgentBill MCP
@marketinglior-pixel
About AgentBill MCP
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.
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"
}
}
}
}Tools
No tools detected
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
FAQ from AgentBill MCP
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.
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.
What is the free tier?
1,000 preflight calls per month are free. No credit card required.
How do I get an API key?
Get your API key at https://agentbill.fly.dev/register.
How do I install AgentBill MCP?
Install with pip install agentbill-sdk.
Frequently asked questions
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.
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.
What is the free tier?
1,000 preflight calls per month are free. No credit card required.
How do I get an API key?
Get your API key at https://agentbill.fly.dev/register.
How do I install AgentBill MCP?
Install with `pip install agentbill-sdk`.
Basic information
More Other MCP servers
Codelf
unbugA search tool helps dev to solve the naming things problem.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
ghidraMCP
LaurieWiredMCP Server for Ghidra
Comments