API Meter
io.github.Surface-ops/api-meter
Per-customer API usage analytics: sign up, get ingest snippets, read usage by customer and endpoint.
- Repository
- github.com/Surface-ops/api-meter-mcp
- Website
- api-meter-lab.pages.dev/
- Server address
https://api-meter-lab.pages.dev/mcp(streamable-http)- Version
- 1.0.1
- Author
- Surface-ops (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 26, 2026)
How to install it
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http api-meter https://api-meter-lab.pages.dev/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://api-meter-lab.pages.dev/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://api-meter-lab.pages.dev/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"api-meter": {
"url": "https://api-meter-lab.pages.dev/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"api-meter": {
"type": "http",
"url": "https://api-meter-lab.pages.dev/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add api-meter -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"api-meter": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"api-meter": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"api-meter": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 09:58 (test run by L’Atlas)
- Response time
- 340 ms (whole test)
- Tools found
- 4
- Announced name
- api-meter 1.0.0
- Protocol
- MCP 2025-06-18
- Next test
- Dec 5, 2026
See the tools (4)
create_account
Sign up an API for API Meter (free to 250K requests/month). Returns the slug, ingest key, dashboard key and proxy URL. Keys are shown once: store them. Limited to 5 signups per hour per network.get_ingest_snippet
Copy-paste server code that reports each request (method, route, status, latency, customer, plan) to API Meter. Batched, fail-open, never blocks your API.get_usage
Monthly (UTC) usage for one API, grouped by customer, endpoint or plan. Includes an agent bucket: requests whose plan label ends in '-agent' (AI agent / bot traffic, counted and billed like any request).export_usage
Billing-ready monthly usage rows (same as /api/export): view=detail (customer x plan x method x endpoint) or view=customers. Returns JSON rows, or CSV text with format=csv.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.surface-ops/api-meter)HTML
<a href="https://lagora.dev/en/entry/io.github.surface-ops/api-meter"><img src="https://lagora.dev/badge/io.github.surface-ops/api-meter.svg?lang=en" alt="io.github.Surface-ops/api-meter on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
GroundLock Responds