Your analytics, inside your editor.
Ship a feature in Cursor or Claude Code, then ask “did it work?” without leaving the buffer. Answers are computed from deterministic reports — never generated SQL — and a CI test guarantees the editor's answer equals the dashboard's.
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 47 tools and 13 built-in prompts (instrument-my-app, whats-broken-today, weekly-review, and more). Answers are computed from exact, deterministic reports — funnels, retention, paths — never LLM-generated SQL, and a CI agreement test asserts the editor's answer always equals the dashboard's for the same question. 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 from $9/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 Solo $9/mo (unlimited sites, 250k events) or Pro $19/mo (3 seats, 2M events); overage is $5/million 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.