L'Atlas / MCP servers / Agent Billing Primitives (Dirtsmith)
MCP server

Agent Billing Primitives (Dirtsmith)

io.github.throttler300/mcp-usage-metering

MCP server OK 5 tools

Get a review See pricing

Usage metering, spend cap (reserve before pay), lease lock, semaphore, heartbeat for agents. Free tr

Technical sheet

Author
throttler300 (registry namespace)
Repository
github.com/throttler300/mcp-usage-metering
Site
—
Version
1.4.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://gap-functions.bfurrow26.workers.dev/mcp Streamable HTTP
Tools
5
Categories
AI, agents and memory
Last updated
4 Nov 2026
Published
4 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.throttler300/mcp-usage-metering.svg?lang=en)](https://latlas.dev/en/mcp/io.github.throttler300/mcp-usage-metering)
HTML
<a href="https://latlas.dev/en/mcp/io.github.throttler300/mcp-usage-metering"><img src="https://latlas.dev/badge/statut/mcp/io.github.throttler300/mcp-usage-metering.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.throttler300/mcp-usage-metering.svg?lang=en)](https://latlas.dev/en/mcp/io.github.throttler300/mcp-usage-metering)
HTML
<a href="https://latlas.dev/en/mcp/io.github.throttler300/mcp-usage-metering"><img src="https://latlas.dev/badge/fiche/io.github.throttler300/mcp-usage-metering.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://gap-functions.bfurrow26.workers.dev/mcp
Last result
OK 28 Nov 2026, 08:36
Response time
456 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
dirtsmith-gap-functions 1.0.0
Tools
5

History

DateResultResponseTools
28 Nov 2026, 08:36OK456 ms5

Exposed tools (5, from tools/list, 28 Nov 2026)

mcp_usage_metering

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. Every call requires one solved task: a tiny data packet, OR (this tool only) a public item: one line of public-domain text plus a deterministic format conversion (snake_case, word count, uppercase) with a known answer, returned as item_alternative; answer it within 2 s via item:{item_id, answer}. Verified answers are stored and readable at GET /items. Free first call, no API key (GET /try). Pay-ahead: every response carries next_work_packet; pass work_answer {work_packet_id, labels} on your next call (under 2 s) instead of solving a fresh packet. That work is our own internal classification (Buyer Zero), not customer data.

ParameterTypeRequiredDescription
caller_idstringno
end_customer_refstringyes
idempotency_keystringyes
metadataobjectno
sourcestring | nullno
tool_namestringyes
tool_versionstringyes
unit_labelstringno
unit_price_centsintegerno
unitsintegerno

agent_spend_ledger

agent_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 agents. Every call requires a tiny solved packet (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_spend_ledger).

ParameterTypeRequiredDescription
actionenum: "set_budget" | "reserve" | "settle" | "release" | "status"yes
amount_microsintegerno
budget_idstringyes
caller_idstringno
idempotency_keystringyes
limit_microsintegerno
memostringno
namespacestringyes
reservation_idstring | nullno
sourcestring | nullno
ttl_sintegerno

agent_lease_lock

agent_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 a tiny solved packet (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_lease_lock).

ParameterTypeRequiredDescription
actionenum: "acquire" | "renew" | "release" | "status"yes
caller_idstringno
holder_idstringno
idempotency_keystringyes
lock_namestringyes
namespacestringyes
sourcestring | nullno
ttl_sintegerno

agent_semaphore

agent_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 solved packet (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_semaphore).

ParameterTypeRequiredDescription
actionenum: "acquire" | "release" | "status"yes
caller_idstringno
holder_idstringno
idempotency_keystringyes
max_slotsintegerno
namespacestringyes
permit_idstringno
semaphorestringyes
sourcestring | nullno
ttl_sintegerno

agent_heartbeat_registry

agent_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 (returned in the reply, 2 s, one try); free first call, no API key (GET /try?tool=agent_heartbeat_registry).

ParameterTypeRequiredDescription
actionenum: "beat" | "status" | "list_stale"yes
agent_idstringno
caller_idstringno
grace_sintegerno
idempotency_keystringyes
interval_sintegerno
namespacestringyes
notestringno
sourcestring | nullno

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://gap-functions.bfurrow26.workers.dev/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http mcp-usage-metering https://gap-functions.bfurrow26.workers.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mcp-usage-metering ; URL : https://gap-functions.bfurrow26.workers.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mcp-usage-metering ; Server URL : https://gap-functions.bfurrow26.workers.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mcp-usage-metering": {
      "url": "https://gap-functions.bfurrow26.workers.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mcp-usage-metering": {
      "type": "http",
      "url": "https://gap-functions.bfurrow26.workers.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mcp-usage-metering": {
      "url": "https://gap-functions.bfurrow26.workers.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mcp-usage-metering": {
      "httpUrl": "https://gap-functions.bfurrow26.workers.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mcp-usage-metering]
url = "https://gap-functions.bfurrow26.workers.dev/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Agent Billing Primitives (Dirtsmith) · L’Atlas · Tested on

Markdown
[Agent Billing Primitives (Dirtsmith) — L’Atlas](https://latlas.dev/en/mcp/io.github.throttler300/mcp-usage-metering)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.