API and MCP

Your data, from code or an assistant.

What you get

Stats, Management and Events APIs with scoped keys.

An OpenAPI 3.1 document.

An MCP server for AI assistants.

Status

9 of 9 related capabilities shipped. Read from Supermetry's feature matrix on every build.

API and MCP capabilities compared
FeatureSupermetryPlausibleUmamiOpenPanel
Server-side events API, with examplesShippedYesYesYes
Stats API: summaryShippedYesYesYes
Stats API: timeseries, breakdowns, realtimeShippedYesYesYes
API: sessions, raw events, properties, suggestionsShippedNoYesYes
API key management through the API, scoped keyskeys:manage, no escalationShippedYesscopesYesNo
API reference in the app + typed clientShippedYesdocsYesclientYes
Sites / goals / funnels APIShippedLimitednot in CEYesYes
MCP server for AI assistantsShippedNot verifiedYesYes
Fast local, full CI, and API-session end-to-end test lanesShippedNot verifiedNot verifiedNot verified

Recent changes

The latest user-facing changes from the project history.

  • Period summary in the tracking pixel stats API
  • Period summary in the project stats API
  • Create scoped, site-limited and expiring API keys from the dashboard
  • Add the API key scope picker
  • Publish the API key management contract
  • Expose public API key management

Full changelog

Set up api and mcp in a few minutes.

Open the guide