// MCP

Your agent can track, ask, and alert — without leaving the chat.

The EzStat MCP server gives Claude, Cursor, and any Model Context Protocol runner live access to your metrics. It records what happened, answers questions from the real series, and manages alerts. You stay in the conversation; the numbers stay grounded.

Seven tools, by name

  • track_metric — Record a counter or a gauge the moment something happens.
  • ask_ezstat — Ask a plain-English question and get an answer computed from your real series, then verified.
  • read_stat — Pull a structured time series when the agent needs the raw points.
  • list_stats — Discover which stats already exist in the account.
  • create_alert — Set a threshold alert so the agent (or you) is notified.
  • list_alerts — See the alerts already configured.
  • delete_alert — Remove an alert the account no longer needs.

Hosted endpoint, or install in one line

No install: point any MCP client that speaks streamable HTTP at https://mcp.ezstat.dev and send your EzStat API key as Authorization: Bearer <your key>.

Or install the npm package ezstat-mcp-server (registry name dev.ezstat/ezstat-mcp-server):

npx -y ezstat-mcp-server

Drop it into your MCP runner config:

{
  "mcpServers": {
    "ezstat": {
      "command": "npx",
      "args": ["-y", "ezstat-mcp-server"],
      "env": { "EZSTAT_API_KEY": "<your key>" }
    }
  }
}

Then tell the agent which tools to use. HTTP ingest, auth, and examples stay on /docs.

Built for the agent loop

After a deploy, the agent can call track_metric. When you ask how the day went, it calls ask_ezstat. When a threshold matters, it calls create_alert. A free tier — no card — lets you see it live before paying.