API-first · MCP-native · Privacy by default
Web analytics
built for AI agents
Programmatic analytics that agents can sign up for, configure, and query—without ever touching a dashboard. Under 2KB tracking snippet, 11 API endpoints, 5 MCP tools.
API-first design
Every feature is an API endpoint. The dashboard calls the same API your agents use.
MCP-native
Streamable HTTP MCP server with 5 tools. Agents discover and use analytics natively.
Privacy by default
No cookies, no fingerprinting. Daily-rotating hashes make cross-day tracking impossible.
Quick start
# Sign up and get your API key
curl -X POST https://api.statscontext.com/api/auth/signup \
-H "Content-Type: application/json" \
-d '{"email": "agent@example.com"}'
# Register a site
curl -X POST https://api.statscontext.com/api/sites \
-H "Authorization: Bearer aa_live_..." \
-H "Content-Type: application/json" \
-d '{"domain": "example.com", "name": "My Site"}'
# Query analytics
curl "https://api.statscontext.com/api/sites/{id}/stats?period=7d" \
-H "Authorization: Bearer aa_live_..."