Agent Billing Primitives (Dirtsmith)
io.github.throttler300/mcp-usage-metering
Usage metering, spend cap (reserve before pay), lease lock, semaphore, heartbeat for agents. Free tr
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/throttler300/mcp-usage-metering
- Server address
https://gap-functions.bfurrow26.workers.dev/mcp(streamable-http)- Version
- 1.4.0
- Author
- throttler300 (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 4, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Claude Code
In a terminal:
claude mcp add --transport http mcp-usage-metering https://gap-functions.bfurrow26.workers.dev/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://gap-functions.bfurrow26.workers.dev/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://gap-functions.bfurrow26.workers.dev/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"mcp-usage-metering": {
"url": "https://gap-functions.bfurrow26.workers.dev/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"mcp-usage-metering": {
"type": "http",
"url": "https://gap-functions.bfurrow26.workers.dev/mcp"
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:36 (test run by L’Atlas)
- Response time
- 456 ms (whole test)
- Tools found
- 5
- Announced name
- dirtsmith-gap-functions 1.0.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (5)
mcp_usage_metering
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. Eagent_spend_ledger
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 agentagent_lease_lock
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 aagent_semaphore
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 solagent_heartbeat_registry
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 (re
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
Agent Billing Primitives (Dirtsmith) · L’Agora · Tested on
[Agent Billing Primitives (Dirtsmith) — L’Agora](https://lagora.dev/en/entry/io.github.throttler300/mcp-usage-metering)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.throttler300/mcp-usage-metering)HTML
<a href="https://lagora.dev/en/entry/io.github.throttler300/mcp-usage-metering"><img src="https://lagora.dev/badge/io.github.throttler300/mcp-usage-metering.svg?lang=en" alt="io.github.throttler300/mcp-usage-metering on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
Record Batch Gate (Dirtsmith) Local
io.github.throttler300/dirtsmith-evidence-quote-check Local
work-access-tools Responds