Skip to content
MCP server

API Meter

Per-customer API usage analytics: sign up, get ingest snippets, read usage by endpoint

Install
Pricing
Freemium
Platforms
Web, API, CLI
Runs
Locally or Remotely
Version
1.0.1
Listing updated
2 days ago

About API Meter

API Meter is a freemium MCP server for analytics and data. It can run locally on your machine or as a hosted remote server.

API Meter is a proxy-based analytics service for small API teams that have outgrown logs. Point clients at an API Meter URL and it forwards each request to your origin unchanged, recording only method, normalised endpoint, customer, plan, status and latency. Returning X-MSA-Customer-Id and X-MSA-Plan headers from your origin gives cleaner per-customer data; without them it falls back to a hashed API key. If you prefer to keep your URL, a few lines of server code for Express, Hono, FastAPI or Flask do the same job.

Through MCP, an assistant can sign you up, hand back ingest snippets and read usage by customer and endpoint. The dashboards cover error rate and p95 latency, top endpoints, heaviest customers and plans, a month-to-date meter with an 80% warning, and a monthly per-customer CSV export for usage billing.

The site stores no bodies, headers, query strings or IP addresses, and runs on Cloudflare. It is in a beta with early-access pricing that may change, and a shared platform limit of about 100,000 proxied requests per day, so the vendor suggests keeping a way to reach your origin directly.

Install

Run in a terminal

claude mcp add --transport http api-meter https://api-meter-lab.pages.dev/mcp

Add to Settings → Connectors → Add custom connector

https://api-meter-lab.pages.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "api-meter": {
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "api-meter": {
      "type": "http",
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "api-meter": {
      "serverUrl": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "api-meter": {
      "type": "http",
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}

What it does

Per-customer analytics
Counts requests by customer, endpoint and plan with error rate and p95 latency.
One base-URL change
A proxy forwards traffic unchanged; a server-side snippet is the alternative.
Usage meter
Shows month-to-date requests against your tier with a warning at 80%.
Billing export
Monthly per-customer counts as CSV for usage-based billing.
Minimal data kept
No request or response bodies, headers, query strings or IP addresses are stored.
Stdio or remote
Available as an npm package and as a streamable HTTP endpoint.

Good for

  • See which customers drive the most API traffic
  • Spot customers approaching their plan limit
  • Export monthly usage for per-request billing
  • Find the slowest or most error-prone endpoint
  • Get set-up snippets for an API from an assistant

Pricing

Freemium

Free to 250K requests/month; Indie CA$19/month for 2M, CA$3 per extra started million (early-access pricing)

Prices change. Check api-meter-lab.pages.dev before you buy.

API Meter FAQ

What does it cost?

Free up to 250,000 requests a month; Indie is CA$19 a month for 2M requests, then CA$3 per started million. Prices are early-access and may change.

Will it break my API if I exceed the free tier?

The site says traffic keeps flowing; recording pauses at 125% of the limit.

What data is stored?

Timestamp, method, normalised endpoint, customer ID, plan, status, latency and byte counts, summed per minute.

Do I need to change my code?

Only the base URL; tagging customers with two response headers is optional.

Is there a beta limit?

Yes, all APIs share about 100,000 proxied requests per day on Cloudflare's free plan.

Is API Meter free?

API Meter has a free plan, with paid plans for more usage or features.

How do I add API Meter to Claude Code?

Run this command in your terminal: claude mcp add --transport http api-meter https://api-meter-lab.pages.dev/mcp

What are the best alternatives to API Meter?

The closest alternatives to API Meter are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to API Meter

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data