Staats

io.github.MrViolets/staats · v1.0.1 · cloud-and-infra

Staats is up but requires authentication (oauth).

Cookieless web analytics your coding agent reads: traffic answers, deploy impact, what broke.

Endpoint: https://api.staats.ai/functions/v1/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeNeeds auth
Auth neededoauth
Tool count–
Latency–
Last checked (UTC)2026-11-30T21:15:15.438Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T21:15:15.438ZNeeds auth362initialize: HTTP 401
2026-11-28T11:40:13.278ZNeeds auth1274initialize: HTTP 401
2026-11-26T03:40:28.616ZNeeds auth1206initialize: HTTP 401
2026-11-23T21:25:55.001ZNeeds auth1302initialize: HTTP 401
2026-11-21T17:15:25.297ZNeeds auth764initialize: HTTP 401
2026-11-19T14:30:17.963ZNeeds auth1933initialize: HTTP 401
2026-11-17T12:50:25.382ZNeeds auth1084initialize: HTTP 401
2026-11-15T12:35:45.940ZNeeds auth1946initialize: HTTP 401
2026-11-13T13:45:55.581ZNeeds auth1310initialize: HTTP 401
2026-11-11T15:50:36.070ZNeeds auth1281initialize: HTTP 401
2026-11-09T19:10:34.575ZNeeds auth1480initialize: HTTP 401
2026-11-07T23:45:23.290ZNeeds auth1321initialize: HTTP 401
2026-11-06T05:25:48.436ZNeeds auth971initialize: HTTP 401
2026-11-04T11:50:27.970ZNeeds auth1696initialize: HTTP 401
2026-11-02T19:15:23.663ZNeeds auth1793initialize: HTTP 401
2026-11-01T03:50:26.639ZNeeds auth926initialize: HTTP 401
2026-10-30T13:20:22.713ZNeeds auth1152initialize: HTTP 401
2026-10-28T23:30:11.417ZHealthy1114
2026-10-27T10:05:16.102ZHealthy1968
2026-10-25T22:00:14.837ZHealthy2201

Tools (15)

get_site_contextWhat a site is and what the owner wants from it, plus its data-retention settings. Well-known keys: description, goals, audience, notes (open agenda items to check at session start and clear when handled), events (event name -> meaning), funnel (canonical conversion steps). Read this before making r
update_site_contextSave or amend what a site is for. Provided context fields are merged into the existing context (events merges per entry); a null value deletes its key. name/domain update the site record itself.
what_changedNotable movements in the period without scanning raw numbers: statistically unusual traffic days, referrer surges and first-time referrers, pages whose share of traffic jumped, alongside the annotations recorded in the same period. period: '7d' default.
what_brokeSigns of visitors hitting problems in the period: JS errors the tracker captured (new_error, error_spike: each with a sanitized sample message, source, line, affected visitor count, and the nearest annotation, i.e. the deploy that most plausibly introduced it), plus behavioral friction: pairs of pag
get_overviewTraffic pulse: visitor/pageview totals vs the previous period, top pages, top referrers, and a per-day series. period: relative like '24h', '7d' (default), '4w'. Includes quota status: if it is approaching, grace, or blocked, tell the owner plainly and include the upgrade link the result provides. A
queryBreak a metric down by a dimension with optional equality filters. Metrics: visitors, pageviews, events. Dimensions: path, referrer_domain, utm_source, utm_medium, utm_campaign, device, browser, os, country, name, day. period: '24h'/'7d'/'4w' style, or ISO from/to.
funnelOrdered conversion funnel across up to 5 steps within the period. Each step is a pageview path ({kind:'path', value:'/pricing'}) or a custom event ({kind:'event', value:'signup'}); a visitor counts for step N only after completing step N-1. Visitor identity rotates daily for privacy, so journeys spa
journeysThe routes visitors actually take, grouped into identical sequences and counted, busiest first. Use this when you do NOT already know the steps: funnel measures a path you name, journeys discovers the ones you did not think to check. A step is a pageview path (/pricing) or a custom event marked with
record_annotationMark a moment on a site timeline: a deploy, a content change, or a campaign start. Call this every time you ship a change to the site. ts defaults to now. Write a specific, present-tense description ("Shipped new pricing page hero", never "updates"), one annotation per meaningful change. When known,
list_annotationsRecorded deploy/change markers, newest first. period defaults to '90d'.
compare_aroundBefore/after impact of a recorded annotation: visitors and pageviews in the N days preceding vs following it (window_days, default 7). The after-window is clamped to now. If the annotation recorded routes, the result also reports per-route pageviews before vs after. Wait a few days after shipping. I
list_sitesAll sites on this account, with the public site codes used in their script tags and the ready-to-paste script_tag for each.
create_siteCreate a new site on this account and get its script tag. This connection already covers the new site: installing the script tag is the only setup the site needs. The response includes ready-made privacy policy wording: offer to add it to the site's privacy page (confirm with the owner before editin
delete_sitePERMANENTLY delete a site and ALL its analytics data (every event and annotation). Irreversible. Confirm with the owner before calling; pass confirm: the site's exact domain.
portfolio_overviewVisitors and pageviews for every site this account can use, owned and shared alike, with change vs the previous period, busiest first. Shared sites are flagged. period: '7d' default.