API Meter is an MCP server published by io.github.Surface-ops, hosted at api-meter-lab.pages.dev. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 4 tools, including create_account, get_ingest_snippet, get_usage, export_usage.
Per-customer API usage analytics: sign up, get ingest snippets, read usage by customer and endpoint.
2 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Sign up an API for API Meter (free to 250K requests/month). Returns the slug, ingest key, dashboard key and proxy URL. Keys are shown once: store them. Limited to 5 signups per hour per network.
| Parameter | Type | Description |
|---|---|---|
| email * | string | Contact email for the API owner (stored hashed) |
| api_name * | string | API name, 2-60 chars |
| origin_url * | string | Public https origin of the API, e.g. https://api.example.com |
{
"name": "create_account",
"title": "Create an API Meter account",
"description": "Sign up an API for API Meter (free to 250K requests/month). Returns the slug, ingest key, dashboard key and proxy URL. Keys are shown once: store them. Limited to 5 signups per hour per network.",
"inputSchema": {
"type": "object",
"required": [
"email",
"api_name",
"origin_url"
],
"properties": {
"email": {
"type": "string",
"description": "Contact email for the API owner (stored hashed)"
},
"api_name": {
"type": "string",
"description": "API name, 2-60 chars"
},
"origin_url": {
"type": "string",
"description": "Public https origin of the API, e.g. https://api.example.com"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Copy-paste server code that reports each request (method, route, status, latency, customer, plan) to API Meter. Batched, fail-open, never blocks your API.
| Parameter | Type | Description |
|---|---|---|
| slug | string | Optional: your slug, filled into the snippet |
| framework * | string | one of ["express","fastify","nextjs","hono","fastapi","flask","django","go","curl"] |
{
"name": "get_ingest_snippet",
"title": "Get an ingest snippet",
"description": "Copy-paste server code that reports each request (method, route, status, latency, customer, plan) to API Meter. Batched, fail-open, never blocks your API.",
"inputSchema": {
"type": "object",
"required": [
"framework"
],
"properties": {
"slug": {
"type": "string",
"description": "Optional: your slug, filled into the snippet"
},
"framework": {
"enum": [
"express",
"fastify",
"nextjs",
"hono",
"fastapi",
"flask",
"django",
"go",
"curl"
],
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Monthly (UTC) usage for one API, grouped by customer, endpoint or plan. Includes an agent bucket: requests whose plan label ends in '-agent' (AI agent / bot traffic, counted and billed like any request).
| Parameter | Type | Description |
|---|---|---|
| slug * | string | |
| limit | integer | |
| month | string | YYYY-MM, default current UTC month |
| group_by | string | one of ["customer","endpoint","plan"] |
| dashboard_key * | string | msd_... key from signup |
{
"name": "get_usage",
"title": "Get usage summary",
"description": "Monthly (UTC) usage for one API, grouped by customer, endpoint or plan. Includes an agent bucket: requests whose plan label ends in '-agent' (AI agent / bot traffic, counted and billed like any request).",
"inputSchema": {
"type": "object",
"required": [
"slug",
"dashboard_key"
],
"properties": {
"slug": {
"type": "string"
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 200,
"minimum": 1
},
"month": {
"type": "string",
"description": "YYYY-MM, default current UTC month"
},
"group_by": {
"enum": [
"customer",
"endpoint",
"plan"
],
"type": "string",
"default": "customer"
},
"dashboard_key": {
"type": "string",
"description": "msd_... key from signup"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}Billing-ready monthly usage rows (same as /api/export): view=detail (customer x plan x method x endpoint) or view=customers. Returns JSON rows, or CSV text with format=csv.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | |
| view | string | one of ["detail","customers"] |
| month | string | |
| format | string | one of ["json","csv"] |
| dashboard_key * | string |
{
"name": "export_usage",
"title": "Export usage rows",
"description": "Billing-ready monthly usage rows (same as /api/export): view=detail (customer x plan x method x endpoint) or view=customers. Returns JSON rows, or CSV text with format=csv.",
"inputSchema": {
"type": "object",
"required": [
"slug",
"dashboard_key"
],
"properties": {
"slug": {
"type": "string"
},
"view": {
"enum": [
"detail",
"customers"
],
"type": "string",
"default": "detail"
},
"month": {
"type": "string"
},
"format": {
"enum": [
"json",
"csv"
],
"type": "string",
"default": "json"
},
"dashboard_key": {
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false
}
}API Meter counts API requests per customer, endpoint and plan. Use create_account to sign up an API, get_ingest_snippet to wire it, then get_usage / export_usage with the dashboard key.
Names, descriptions and schemas were written by the server and are shown as data.