Koskamo

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.

API Meter MCP logo, by Canada Site OpsCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-01Published by Canada Site Ops
MCP endpoint (Streamable HTTP)
https://api-meter-lab.pages.dev/mcp
Vendor documentation

What 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

Community listingRegistry 1.0.1
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
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

API Meter counts API requests per customer, endpoint and plan. Use create_account to sign up an API, get_ingest_snippet to wire it, then get_usage / export_usage with the dashboard key.

Tools

4 advertised

create_account — Create an API Meter account
Advertised by the server during the last successful anonymous check.
Open-world

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.

create_account input schema
{
  "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"
    }
  }
}
create_account annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
get_ingest_snippet — Get an ingest snippet
Advertised by the server during the last successful anonymous check.
Advertised read-only

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_ingest_snippet input schema
{
  "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"
    }
  }
}
get_ingest_snippet annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
get_usage — Get usage summary
Advertised by the server during the last successful anonymous check.
Advertised read-only

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).

get_usage input schema
{
  "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"
    }
  }
}
get_usage annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
export_usage — Export usage rows
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

export_usage input schema
{
  "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"
    }
  }
}
export_usage annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http api-meter-mcp-pages https://api-meter-lab.pages.dev/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add api-meter-mcp-pages --url https://api-meter-lab.pages.dev/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable api-meter-mcp-pages in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "api-meter-mcp-pages": {
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "api-meter-mcp-pages": {
      "type": "streamableHttp",
      "url": "https://api-meter-lab.pages.dev/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start api-meter-mcp-pages and inspect its tools.
VS Code configuration
{
  "servers": {
    "api-meter-mcp-pages": {
      "type": "http",
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http api-meter-mcp-pages https://api-meter-lab.pages.dev/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "api-meter-mcp-pages": {
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.