# API Meter

> API Meter is a freemium MCP server for analytics and data. Per-customer API usage analytics: sign up, get ingest snippets, read usage by endpoint. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API, CLI
- **Website:** https://api-meter-lab.pages.dev
- **Repository:** https://github.com/surface-ops/api-meter-mcp
- **MCP Registry name:** io.github.Surface-ops/api-meter
- **Categories:** analytics and data, developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api-meter-lab.pages.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "api-meter": {
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/api-meter
