Your analytics, inside Copilot.
Ship a feature with GitHub Copilot in VS Code, then ask “did it work?” in the chat panel. One connect command writes the MCP server into VS Code's mcp.json with the right key, and that one connection operates every project in your org (pass project="checkout" to any tool). Because Copilot's 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 with GitHub Copilot?
smolanalytics is open-source (MIT) web and product analytics you ask from GitHub Copilot in VS Code. Copilot's agent mode reads MCP servers from VS Code's user mcp.json, and the quirk that trips people up is the top-level key there is `servers`, not `mcpServers`. `smolanalytics connect vscode` writes that file with the right key for you, pointing Copilot at your org's single cloud MCP endpoint with your org token, so Copilot picks up the tools without you hand-editing JSON. 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 even 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, Copilot gets 94 tools and 15 built-in prompts (instrument-my-app, whats-broken-today, weekly-review, and more). Because Copilot's 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 CI when an event your tracking plan expects stops firing, and it runs against existing PostHog data via --source=posthog before you migrate. You bring your own model (Copilot's), 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 (2M events, 2 instances) or Scale $49/mo (5M events, 10 instances); overage is a flat $6 per million, dashboard never locks. Asking from Copilot is never metered: it's your model.
Stop alt-tabbing to a dashboard.
Wire it into Copilot in one command, gate your instrumentation in CI, and get the real number where you already work.