API Meter MCP
A remote MCP server for API Meter that allows AI agents to create accounts, fetch ingest snippets for various frameworks, and read API usage analytics grouped by customer, endpoint, or plan.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api-meter-lab.pages.dev/mcpWhat you can do with it
- Create an API Meter account via agent
- Fetch code snippets for server-side ingest
- Read per-customer API usage totals
- Export usage data in CSV format
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- api-meter 1.0.0
- MCP protocol
- 2025-06-18
- Tools
- 4 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
create_account — Create an API Meter 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.
{
"type": "object",
"required": [
"email",
"api_name",
"origin_url"
],
"properties": {
"email": {
"type": "string",
"description": "Contact email for the API owner (stored hashed)"
},
"api_name": {
"type": "string",
"description": "API name, 2-60 chars"
},
"origin_url": {
"type": "string",
"description": "Public https origin of the API, e.g. https://api.example.com"
}
}
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}get_ingest_snippet — Get an 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.
{
"type": "object",
"required": [
"framework"
],
"properties": {
"slug": {
"type": "string",
"description": "Optional: your slug, filled into the snippet"
},
"framework": {
"enum": [
"express",
"fastify",
"nextjs",
"hono",
"fastapi",
"flask",
"django",
"go",
"curl"
],
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}get_usage — Get usage summary
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).
{
"type": "object",
"required": [
"slug",
"dashboard_key"
],
"properties": {
"slug": {
"type": "string"
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 200,
"minimum": 1
},
"month": {
"type": "string",
"description": "YYYY-MM, default current UTC month"
},
"group_by": {
"enum": [
"customer",
"endpoint",
"plan"
],
"type": "string",
"default": "customer"
},
"dashboard_key": {
"type": "string",
"description": "msd_... key from signup"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}export_usage — Export usage rows
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.
{
"type": "object",
"required": [
"slug",
"dashboard_key"
],
"properties": {
"slug": {
"type": "string"
},
"view": {
"enum": [
"detail",
"customers"
],
"type": "string",
"default": "detail"
},
"month": {
"type": "string"
},
"format": {
"enum": [
"json",
"csv"
],
"type": "string",
"default": "json"
},
"dashboard_key": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 340 ms
- 95th percentile latency
- 340 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 340 ms · metadata changed · 4 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http api-meter-mcp-pages https://api-meter-lab.pages.dev/mcpCodex
codex mcp add api-meter-mcp-pages --url https://api-meter-lab.pages.dev/mcpCursor
{
"mcpServers": {
"api-meter-mcp-pages": {
"url": "https://api-meter-lab.pages.dev/mcp"
}
}
}Cline
{
"mcpServers": {
"api-meter-mcp-pages": {
"type": "streamableHttp",
"url": "https://api-meter-lab.pages.dev/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"api-meter-mcp-pages": {
"type": "http",
"url": "https://api-meter-lab.pages.dev/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http api-meter-mcp-pages https://api-meter-lab.pages.dev/mcpClaude Desktop
{
"mcpServers": {
"api-meter-mcp-pages": {
"url": "https://api-meter-lab.pages.dev/mcp"
}
}
}Windsurf
{
"mcpServers": {
"api-meter-mcp-pages": {
"serverUrl": "https://api-meter-lab.pages.dev/mcp"
}
}
}Let your agent find its tools
Find servers like API Meter MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.