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
| Users (last 30 days) | 0 |
| Handshake | Healthy |
| Auth needed | None |
| Tool count | 6 |
| Latency | 356 ms |
| Last checked (UTC) | 2026-11-30T06:50:19.729Z |
| Checked (UTC) | Status | Latency | Error |
|---|---|---|---|
| 2026-11-30T06:50:19.729Z | Healthy | 356 | |
| 2026-11-27T21:40:53.829Z | Healthy | 580 | |
| 2026-11-25T14:00:33.238Z | Healthy | 3709 | |
| 2026-11-23T08:35:59.650Z | Healthy | 1632 | |
| 2026-11-21T04:50:37.466Z | Healthy | 750 | |
| 2026-11-19T02:15:12.119Z | Healthy | 1364 | |
| 2026-11-17T00:50:23.353Z | Healthy | 207 | |
| 2026-11-15T01:00:41.680Z | Healthy | 693 | |
| 2026-11-13T02:20:23.006Z | Healthy | 528 | |
| 2026-11-11T04:40:37.774Z | Healthy | 1051 |
get_docs | Quickstart 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_meters | List the meters on your Usage Lab account (key, name, aggregation sum | count | unique_count). Needs your API key (Authorization: Bearer). |
create_meter | Create 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_events | Record 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_rollups | Monthly 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_account | Your account: plan, event and meter limits, event_count and first_event_at (GET /api/v1/account). Needs your API key. |