API Meter
소규모 B2B API를 위한 고객별 API 사용량 분석. 고객, 엔드포인트, 요금제별로 요청 수를 집계하며, MCP 도구 create_account, get_ingest_snippet, get_usage, export_usage를 제공합니다. 무료 티어는 월 250K 요청입니다. 원격 엔드포인트(Streamable HTTP): https://api-meter-lab.pages.dev/mcp
호스팅형 MCP 서버
npx add-mcp 'https://api-meter-lab.pages.dev/mcp'Claude Code, Codex, Cursor 등에 설치됩니다
문서
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).
npm (stdio bridge + ingest helper)
npx -y api-meter-mcp runs a stdio bridge to the hosted server for clients that only launch local servers; the same package exports createMeter() (batched, fail-open ingest + Express middleware). Source in npm/, package https://www.npmjs.com/package/api-meter-mcp
mcp.js is the Cloudflare Pages Function that serves the endpoint. License: MIT. Contact: canada.site.ops@gmail.com