The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Staats listing page.
Cookieless web analytics your coding agent reads. No dashboard: your agent answers traffic questions, marks deploys, measures before and after impact, and flags errors and visitor friction, all over one MCP connection.
This is the public home of the hosted Staats MCP server. The server runs at Staats, there is nothing to install.
Sign in at staats.ai (free tier: 10,000 monthly events, 1 site, all tools). Your account view gives you a one-line connect snippet with your key embedded:
Cursor, Windsurf, Codex, and raw URL snippets are in the MCP docs. Clients that prefer header auth can send Authorization: Bearer YOUR_ACCOUNT_KEY to https://api.staats.ai/functions/v1/mcp.
One connection covers every site on your account, current and future.
14 tools, including:
get_overview, query, funnel, journeys: traffic answers with statistical honestyrecord_annotation, compare_around: mark deploys, measure before/after impactwhat_changed, what_broke: notable movements, JS errors, and visitor friction, attributed to the nearest deploycreate_site, list_sites, site context tools: your agent sets up new sites itselfUnauthenticated connections get initialize and tools/list, so you can inspect the full tool surface before creating an account.
One script tag per site, ~1.5 KB compressed, no cookies, no personal identifiers, no consent banner needed:
Custom events via data-staats attributes or window.staats('event_name'). Passive JS error capture included on every tier.