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.

  • Org notification channel routes and OpenAPI
  • Add the GitHub stars API client and strings
  • Accept the admin API key on instance admin routes
  • Add the admin API key system user
  • Period summary in the tracking pixel stats API
  • Period summary in the project stats API

Full changelog

Set up api and mcp in a few minutes.

Open the guide