Agent billing primitives: usage metering, shared spend ledger with reserve-before-pay, lease lock.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Hosted distributed lease lock for agents: acquire/renew/release a named lock with a TTL and a monotonic fencing token so only one agent does a job at a time. Share state by namespace
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
claude mcp add --transport http mcp-usage-metering https://gap-functions.bfurrow26.workers.dev/mcp
Tool list last changed Nov 3, 2026.
Hosted distributed lease lock for agents: acquire/renew/release a named lock with a TTL and a monotonic fencing token so only one agent does a job at a time. Share state by namespace
| Argument | Type | Description |
|---|---|---|
| ttl_s | integer | |
| action* | string | |
| source | any | |
| caller_id | string | |
| holder_id | string | |
| lock_name* | string | |
| namespace* | string | |
| idempotency_key* | string |
{
"type": "object",
"title": "LeaseLockInput",
"required": [
"namespace",
"action",
"lock_name",
"idempotency_key"
],
"properties": {
"ttl_s": {
"type": "integer",
"title": "Ttl S",
"default": 60,
"maximum": 3600,
"minimum": 1
},
"action": {
"enum": [
"acquire",
"renew",
"release",
"status"
],
"type": "string",
"title": "Action"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source",
"default": null
},
"caller_id": {
"type": "string",
"title": "Caller Id",
"default": "demo_caller"
},
"holder_id": {
"type": "string",
"title": "Holder Id",
"default": "",
"pattern": "^[A-Za-z0-9._:/-]*$",
"maxLength": 128
},
"lock_name": {
"type": "string",
"title": "Lock Name",
"pattern": "^[A-Za-z0-9._:/-]+$",
"maxLength": 128,
"minLength": 1
},
"namespace": {
"type": "string",
"title": "Namespace",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 128,
"minLength": 16
},
"idempotency_key": {
"type": "string",
"title": "Idempotency Key",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 128,
"minLength": 8
}
},
"additionalProperties": false
}Hosted shared spend ledger for agents: set a budget ceiling, atomically reserve before paying (never overspends, even with many agents at once), then settle or release. Idempotent. Share state by namespace
| Argument | Type | Description |
|---|---|---|
| memo | string | |
| ttl_s | integer | |
| action* | string | |
| source | any | |
| budget_id* | string | |
| caller_id | string | |
| namespace* | string | |
| limit_micros | integer | |
| amount_micros | integer | |
| reservation_id | any | |
| idempotency_key* | string |
Record a metered usage event for any MCP tool call and return an invoice line preview (dry run)
| Argument | Type | Description |
|---|---|---|
| units | integer | |
| source | any | |
| metadata | object | |
| caller_id | string | |
| tool_name* | string | |
| unit_label | string | |
| tool_version* | string | |
| idempotency_key* | string | |
| end_customer_ref* | string | |
| unit_price_cents | integer |
{
"type": "object",
"title": "MeteringInput",
"required": [
"tool_name",
"tool_version",
"end_customer_ref",
"idempotency_key"
],
"properties": {
"units": {
"type": "integer",
"title": "Units",
"default": 1,
"maximum": 1000000,
"minimum": 1
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source",
"default": null
},
"metadata": {
"type": "object",
"title": "Metadata",
"maxProperties": 20,
"additionalProperties": {
"type": "string"
}
},
"caller_id": {
"type": "string",
"title": "Caller Id",
"default": "demo_caller"
},
"tool_name": {
"type": "string",
"title": "Tool Name",
"pattern": "^[A-Za-z0-9._/-]+$",
"maxLength": 128,
"minLength": 1
},
"unit_label": {
"type": "string",
"title": "Unit Label",
"default": "call",
"maxLength": 32,
"minLength": 1
},
"tool_version": {
"type": "string",
"title": "Tool Version",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"idempotency_key": {
"type": "string",
"title": "Idempotency Key",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 128,
"minLength": 8
},
"end_customer_ref": {
"type": "string",
"title": "End Customer Ref",
"maxLength": 128,
"minLength": 1
},
"unit_price_cents": {
"type": "integer",
"title": "Unit Price Cents",
"default": 0,
"maximum": 100000,
"minimum": 0
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 3, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
What changed in this server's tools since we started watching, newest first. Each change is scanned again.
Hosted distributed lease lock for agents: acquire/renew/release a named lock with a TTL and a monotonic fencing token so only one agent does a job at a time. Share state by namespace
Hosted shared spend ledger for agents: set a budget ceiling, atomically reserve before paying (never overspends, even with many agents at once), then settle or release. Idempotent. Share state by namespace
{
"type": "object",
"title": "SpendLedgerInput",
"required": [
"namespace",
"action",
"budget_id",
"idempotency_key"
],
"properties": {
"memo": {
"type": "string",
"title": "Memo",
"default": "",
"maxLength": 200
},
"ttl_s": {
"type": "integer",
"title": "Ttl S",
"default": 900,
"maximum": 86400,
"minimum": 5
},
"action": {
"enum": [
"set_budget",
"reserve",
"settle",
"release",
"status"
],
"type": "string",
"title": "Action"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source",
"default": null
},
"budget_id": {
"type": "string",
"title": "Budget Id",
"pattern": "^[A-Za-z0-9._:/-]+$",
"maxLength": 128,
"minLength": 1
},
"caller_id": {
"type": "string",
"title": "Caller Id",
"default": "demo_caller"
},
"namespace": {
"type": "string",
"title": "Namespace",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 128,
"minLength": 16
},
"limit_micros": {
"type": "integer",
"title": "Limit Micros",
"default": 0,
"maximum": 1000000000000,
"minimum": 0
},
"amount_micros": {
"type": "integer",
"title": "Amount Micros",
"default": 0,
"maximum": 1000000000000,
"minimum": 0
},
"reservation_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 128,
"minLength": 8
},
{
"type": "null"
}
],
"title": "Reservation Id",
"default": null
},
"idempotency_key": {
"type": "string",
"title": "Idempotency Key",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 128,
"minLength": 8
}
},
"additionalProperties": false
}