mcpField
A
API Meter

API Meter

Remote
api-meter-lab.pages.devData & Analytics

About API Meter

API Meter is a remote MCP server for per-customer API usage analytics. It supports account setup, provides instrumentation snippets, and reports or exports usage by customer, endpoint, or plan.

Key features

  1. 01Create an API Meter account
  2. 02Get ingestion code snippets
  3. 03View monthly usage breakdowns
  4. 04Export billing-ready usage data

Use cases

  1. 01Set up API usage tracking
  2. 02Add ingestion code to a service
  3. 03Review usage by customer or endpoint
  4. 04Export usage records for billing

MCP support

Exposes account creation, ingestion-snippet retrieval, usage reporting, and export tools through a remote Streamable HTTP MCP endpoint. Usage queries and exports require a dashboard key.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://api-meter-lab.pages.dev/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npmapi-meter-mcp1.0.0

Tools

Details

From the project README

API Meter MCP server

Remote MCP server for API Meter: per-customer API usage analytics by Canada Site Ops.

Tools

ToolAuthWhat it does
create_accountnone (5 signups/hour per network)Sign up an API: returns slug, ingest key, dashboard key (shown once)
get_ingest_snippetnoneServer code for express, hono, fastapi, flask, django, go or curl
get_usagedashboard key (msd_...)Monthly usage by customer, endpoint or plan, with an agent_requests bucket (plan labels ending in -agent)
export_usagedashboard keyBilling-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: [email protected]

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.