API Meter
Per-customer API usage analytics: sign up, get ingest snippets, read usage by customer and endpoint.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http api-meter 'https://api-meter-lab.pages.dev/mcp'
{
"mcpServers": {
"api-meter": {
"type": "http",
"url": "https://api-meter-lab.pages.dev/mcp"
}
}
}
api-meter-mcpclaude mcp add api-meter -- npx -y api-meter-mcp@1.0.0
{
"mcpServers": {
"api-meter": {
"command": "npx",
"args": [
"-y",
"api-meter-mcp@1.0.0"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
API Meter MCP server
Remote MCP server for API Meter: per-customer API usage analytics by Canada Site Ops.
- URL:
https://api-meter-lab.pages.dev/mcp(Streamable HTTP, JSON responses, stateless; no session or OAuth) - Metadata: https://api-meter-lab.pages.dev/.well-known/mcp
Tools
| Tool | Auth | What it does |
|---|---|---|
create_account | none (5 signups/hour per network) | Sign up an API: returns slug, ingest key, dashboard key (shown once) |
get_ingest_snippet | none | Server code for express, hono, fastapi, flask, django, go or curl |
get_usage | dashboard key (msd_...) | Monthly usage by customer, endpoint or plan, with an agent_requests bucket (plan labels ending in -agent) |
export_usage | dashboard key | Billing-ready rows (detail or customers), JSON or CSV |
AI agent traffic is normal usage: counted and billed like any request.
Client config
{ "mcpServers": { "api-meter": { "url": "https://api-meter-lab.pages.dev/mcp" } } }
Pass the dashboard key only to agents you trust. Free to 250K requests/month; Indie CA$19/month for 2M (beta, Stripe test mode).
mcp.js is the Cloudflare Pages Function that serves the endpoint. License: MIT. Contact: canada.site.ops@gmail.com
Frequently asked questions
What is API Meter?
Per-customer API usage analytics: sign up, get ingest snippets, read usage by customer and endpoint.
How do I install API Meter?
It runs as a remote server. In Claude Code: claude mcp add --transport http api-meter 'https://api-meter-lab.pages.dev/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does API Meter need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is API Meter open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains API Meter?
It is published by Surface-ops. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.