L'Atlas / Serveurs MCP / API Meter

API Meter

io.github.Surface-ops/api-meter

Serveur MCP OK

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
Surface-ops (espace de noms du registre)
Dépôt
github.com/Surface-ops/api-meter-mcp
Site
api-meter-lab.pages.dev
Version
1.0.1
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://api-meter-lab.pages.dev/mcp Streamable HTTP
Paquets
api-meter-mcp 1.0.0 npm stdio
Outils
4
Catégories
—
Dernière mise à jour
26 oct. 2026
Publication
26 oct. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.Surface-ops/api-meter.svg)](https://latlas.dev/mcp/io.github.Surface-ops/api-meter)
HTML
<a href="https://latlas.dev/mcp/io.github.Surface-ops/api-meter"><img src="https://latlas.dev/badge/fiche/io.github.Surface-ops/api-meter.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://api-meter-lab.pages.dev/mcp
Dernier résultat
OK 28 nov. 2026, 09:58
Temps de réponse
340 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
api-meter 1.0.0
Outils
4

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:58OK340 ms4

Outils exposés (4, réponse à tools/list, 28 nov. 2026)

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.

ParamètreTypeRequisDescription
emailstringouiContact email for the API owner (stored hashed)
api_namestringouiAPI name, 2-60 chars
origin_urlstringouiPublic https origin of the API, e.g. https://api.example.com

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.

ParamètreTypeRequisDescription
frameworkenum: "express" | "fastify" | "nextjs" | "hono" | "fastapi" | "flask" | "django" | "go" …oui
slugstringnonOptional: your slug, filled into the snippet

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

ParamètreTypeRequisDescription
slugstringoui
dashboard_keystringouimsd_... key from signup
monthstringnonYYYY-MM, default current UTC month
group_byenum: "customer" | "endpoint" | "plan"non
limitintegernon

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.

ParamètreTypeRequisDescription
slugstringoui
dashboard_keystringoui
monthstringnon
viewenum: "detail" | "customers"non
formatenum: "json" | "csv"non

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://api-meter-lab.pages.dev/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http api-meter https://api-meter-lab.pages.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : api-meter ; URL : https://api-meter-lab.pages.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : api-meter ; Server URL : https://api-meter-lab.pages.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "api-meter": {
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "api-meter": {
      "type": "http",
      "url": "https://api-meter-lab.pages.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "api-meter": {
      "url": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "api-meter": {
      "httpUrl": "https://api-meter-lab.pages.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.api-meter]
url = "https://api-meter-lab.pages.dev/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.