Usage Lab
dev.pages.usage-lab/usage-lab
Record idempotent usage events and read monthly per-customer rollups (Usage Lab metering API).
- Website
- usage-lab.pages.dev/docs/mcp/
- Server address
https://usage-lab.pages.dev/mcp(streamable-http)- Version
- 0.1.0
- Author
- usage-lab.pages.dev (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 11, 2026)
How to install it
The server optionally accepts a header: Authorization. Replace YOUR_KEY with your key.
Claude Code
In a terminal:
claude mcp add --transport http usage-lab https://usage-lab.pages.dev/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (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://usage-lab.pages.dev/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://usage-lab.pages.dev/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"usage-lab": {
"url": "https://usage-lab.pages.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"usage-lab": {
"type": "http",
"url": "https://usage-lab.pages.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}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, 09:47 (test run by L’Atlas)
- Response time
- 295 ms (whole test)
- Tools found
- 6
- Announced name
- usage-lab 0.1.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (6)
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_existsrecord_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.
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
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
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/dev.pages.usage-lab/usage-lab)HTML
<a href="https://lagora.dev/en/entry/dev.pages.usage-lab/usage-lab"><img src="https://lagora.dev/badge/dev.pages.usage-lab/usage-lab.svg?lang=en" alt="dev.pages.usage-lab/usage-lab on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.