Your analytics, inside Cursor.
Ship a feature in Cursor or Claude Code, then ask “did it work?” without leaving the buffer. Because the agent has your code and tracking plan, you can ask by your own names (“MAU for the PQR page”) and it resolves them to routes. Answers are computed from deterministic reports, never generated SQL.
what analytics works inside Cursor and Claude Code?
smolanalytics is an open-source (MIT) web and product analytics tool built to be asked from your editor. It ships an MCP server: `smolanalytics connect` wires it into Claude Code, Cursor, and other MCP clients, exposing 94 tools and 15 built-in prompts (instrument-my-app, whats-broken-today, weekly-review, and more). On the cloud it is one connection for the whole org: add your org's MCP endpoint once (the API token from Settings, at /api/mcp), then query or manage any project by passing project="the-name" to any of those tools, and provision new projects with create_project, no browser. The secret read key stays server-side, and the token is permanent, so you set it up once. Because the agent also has your codebase and tracking plan, you can ask in your own terms, like "what's the MAU for the PQR page", and it resolves PQR to the /pqr route before querying. Answers are computed from exact, deterministic reports (funnels, retention, paths), never LLM-generated SQL. A plan-as-code gate (`smolanalytics plan check`) fails your CI when an event your tracking plan expects stops firing, and it can run against existing PostHog data via --source=posthog before you migrate anything. You bring your own model, so asking is never metered. Self-host the single Go binary free forever, or use the cloud at smolanalytics.com: 14-day full trial, then $19/month.
built for the agent loop
Honest pricing: self-hosting is free forever, one MIT-licensed Go binary. The cloud is a 14-day full trial, then Pro $19/mo (unlimited sites, 2M events included) or Scale $49/mo (5M events included); past that it's a flat $6/M and the dashboard never locks. Asking from your editor is never metered: it's your model.
Stop alt-tabbing to a dashboard.
Wire it into your editor in one command, gate your instrumentation in CI, and get the real number where you already work.