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, and that one connection operates every project in your org (pass project="checkout" to any tool). Because Cascade 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 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 your org's single cloud MCP endpoint into ~/.codeium/windsurf/mcp_config.json with your org token, the file Windsurf reads its MCP servers from, so Cascade can call the tools. That one connection operates your whole org: pass project="checkout" to any of the 94 tools and it routes to that project's own instance, and you can provision a new project with create_project without opening a browser. Your secret read key stays server-side, never in your editor config, and the org token is permanent, so you set it up once and it persists. Once connected, Windsurf gets 94 tools and 15 built-in prompts (instrument-my-app, whats-broken-today, weekly-review, and more). Because Cascade 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 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 $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 (2M events, 2 instances) or Scale $49/mo (5M events, 10 instances); overage is a flat $6 per million, 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.