Usage Lab

dev.pages.usage-lab/usage-lab · v0.1.0 · docs-and-knowledge

Usage Lab is healthy: it completed an MCP handshake in 356 ms and exposes 6 tools.

Record idempotent usage events and read monthly per-customer rollups (Usage Lab metering API).

Endpoint: https://usage-lab.pages.dev/mcp (streamable-http)

No repository listed · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count6
Latency356 ms
Last checked (UTC)2026-11-30T06:50:19.729Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T06:50:19.729ZHealthy356
2026-11-27T21:40:53.829ZHealthy580
2026-11-25T14:00:33.238ZHealthy3709
2026-11-23T08:35:59.650ZHealthy1632
2026-11-21T04:50:37.466ZHealthy750
2026-11-19T02:15:12.119ZHealthy1364
2026-11-17T00:50:23.353ZHealthy207
2026-11-15T01:00:41.680ZHealthy693
2026-11-13T02:20:23.006ZHealthy528
2026-11-11T04:40:37.774ZHealthy1051

Tools (6)

get_docsQuickstart for the Usage Lab metering API and this MCP server: how to get a free API key, connect, create a meter, record idempotent usage events and read rollups. No API key needed.
list_metersList the meters on your Usage Lab account (key, name, aggregation sum | count | unique_count). Needs your API key (Authorization: Bearer).
create_meterCreate a meter once (POST /api/v1/meters). aggregation: sum (add up value, e.g. tokens), count (number of events, e.g. tool calls) or unique_count (distinct unique_value, e.g. active users). Re-creating an existing key returns meter_exists (harmless). Free plan: 3 meters. Needs your API key.
record_usage_eventsRecord 1-100 usage events in one all-or-nothing batch (POST /api/v1/usage). Every event MUST carry its own idempotency_key; retrying with the same keys is safe (results say created / duplicate / conflict). Needs your API key.
get_meter_rollupsMonthly totals per customer for one meter, recomputed from raw events (GET /api/v1/meters/{meter}/rollups). Returns total_quantity and per-subscription quantity and event_count. Needs your API key.
get_accountYour account: plan, event and meter limits, event_count and first_event_at (GET /api/v1/account). Needs your API key.