MCP server
Agent Billing Primitives (Dirtsmith)
io.github.throttler300/mcp-usage-metering
Checked 28 Nov 2026, 11:13 UTC · Connected to it and listed its tools
Usage metering, spend cap (reserve before pay), lease lock, semaphore, heartbeat for agents. Free tr
Working at last checkAbout 2,311 tokens per request once connected5 tools
https://gap-functions.bfurrow26.workers.dev/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 5
- Token cost
- About 2,311 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 28 Nov 2026, 11:13 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http mcp-usage-metering https://gap-functions.bfurrow26.workers.dev/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.mcp-usage-metering] url = "https://gap-functions.bfurrow26.workers.dev/mcp"
Gemini CLI
{"mcpServers":{"mcp-usage-metering":{"httpUrl":"https://gap-functions.bfurrow26.workers.dev/mcp"}}}
Cursor
{"mcpServers":{"mcp-usage-metering":{"url":"https://gap-functions.bfurrow26.workers.dev/mcp"}}}
VS Code
{"servers":{"mcp-usage-metering":{"type":"http","url":"https://gap-functions.bfurrow26.workers.dev/mcp"}}}
Antigravity
agy mcp add mcp-usage-metering https://gap-functions.bfurrow26.workers.dev/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"mcp-usage-metering","server_url":"https://gap-functions.bfurrow26.workers.dev/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"mcp-usage-metering","server_url":"https://gap-functions.bfurrow26.workers.dev/mcp"}
Tools
agent_heartbeat_registry~394 tokens
Heartbeat registry / dead-man switch / liveness check for AI agents: agents beat with an interval and grace; list_stale shows which agents went silent or crashed. Idempotent, shared by namespace. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); free first call, no APIagent_lease_lock~390 tokens
Distributed lock / lease lock (mutex) for AI agents: acquire, renew, release a named lock with TTL and a monotonic fencing token so only one agent runs a job at a time. Idempotent, shared by namespace, no Redis needed. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); fagent_semaphore~438 tokens
Counting semaphore / concurrency limit for AI agents: at most N agents hold a slot at once (rate limit parallel workers), TTL permits with fencing tokens, auto-expire on crash. Idempotent, shared by namespace. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); free firstagent_spend_ledger~498 tokens
Agent spend cap / budget ledger: set a budget, reserve before pay (atomic, never overspends even with many agents in parallel), then settle or release. Idempotent, shared by namespace. Spending limit, budget guard, cost control for AI agents. Every call requires a tiny solved packet (returned in themcp_usage_metering~591 tokens
Usage metering for MCP tools and AI agents: record a billable usage event per tool call (idempotent, idempotency_key dedupes retries) and get an invoice line preview. Per-call billing, usage-based pricing, metered billing for MCP servers. Every call requires one solved task: a tiny data packet, OR (
Browse
Related MCP servers
- Agent Metering
Usage metering + SLA accounting for agent services (the meter behind x402 micropayments). - Recao
Rank a competitor's EU App Store ads by longevity. From Apple's official Ad Repository. - Relm CRM
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server. - Usage Bill Reconstructor
Recomputes a usage-based bill from a customer-supplied tariff (graduated per-meter tiers, optiona... - Conduit Router — Governed MCP Routing
Governed MCP routing: every agent call spend-capped, metered, sealed with a verifiable receipt. - Amberflo MCP by usefulapi
Query and manage Amberflo metering & billing: customers, meters, usage, plans, invoices, prepaid. - Polar MCP by usefulapi
Products, customers, orders, subscriptions, benefits, revenue metrics and refunds. - API Meter
Per-customer API usage analytics: sign up, get ingest snippets, read usage by customer and endpoint.
Badge for your README
[](https://aptlynx.net/servers/io.github.throttler300/mcp-usage-metering)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents