Your analytics, inside Windsurf.
Ship a feature in Windsurf, then ask Cascade “did it work?” without leaving the editor. One connect command wires the MCP server in; 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 Windsurf?
smolanalytics is open-source (MIT) web and product analytics you ask from inside Windsurf. It ships an MCP server, and `smolanalytics connect windsurf` writes it into ~/.codeium/windsurf/mcp_config.json — the file Windsurf reads its MCP servers from — so Cascade can call the tools. Once connected, Windsurf gets 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 CI when an event your tracking plan expects stops firing, and it can run against existing PostHog data via --source=posthog before you migrate. You bring your own model, so asking from Cascade 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 $29/mo (3 seats, 2M events); overage is $5/million and the dashboard never locks. Asking from Cascade is never metered — it's your model.
Stop alt-tabbing to a dashboard.
Wire it into Windsurf in one command, gate your instrumentation in CI, and get the real number where you already work.