
smolanalytics
by Arjun0606
smolanalytics
web + product analytics in one Go binary. no ClickHouse, no Kafka, no cluster. ask it in your editor.
Live demo · Docs · Cloud · Star this repo ★
</div> <br> <div align="center"><sub>the real product on demo data. <a href="https://smolanalytics-demo.fly.dev"><b>open the live demo →</b></a></sub></div> <br>self-hosting posthog means clickhouse, kafka, redis and a postgres. this is one binary.
If you want product analytics you can actually run yourself, the options are bad. PostHog is a stack: ClickHouse, Kafka, Redis, and a Postgres to babysit. Plausible and Umami install easily but stop at web analytics, so no funnels, no retention, no cohorts.
smolanalytics is the middle that didn't exist. One Go binary, one data file, no external database. It does web analytics (visitors, referrers, UTM, devices) and product analytics (funnels, retention, paths, cohorts) from the same events, plus feature flags, A/B testing, click heatmaps, in-product surveys, a session inspector, and deploy-impact. Cookieless mode means no consent banner. MIT, free forever, and your data never leaves your box.
It also answers in plain English, from the dashboard or from your editor over MCP, using your own model, so the AI part costs nothing.
Try it in 30 seconds
docker run -p 8080:8080 ghcr.io/arjun0606/smolanalytics demo
<details><summary>or the single binary / <code>go run</code></summary>
# install script (macOS / Linux)
curl -fsSL https://raw.githubusercontent.com/Arjun0606/smolanalytics/main/install.sh | sh
smolanalytics demo
# or with Go
go run github.com/Arjun0606/smolanalytics/cmd/smolanalytics@latest demo
</details>
Open localhost:8080: a fully populated dashboard, a "what to fix" verdict up top, and an ask bar with your real events and pages as one-click chips. Nothing to configure. Prefer not to install? The live demo is the real product on demo data, running right now.
Ask your analytics where you write code
This is the point of the whole tool. smolanalytics is an MCP server, so your coding agent queries your real analytics without you leaving the editor. It has your codebase, your tracking plan, and smolanalytics over MCP, so it answers in your terms: ask "what's the MAU for the PQR page" and it knows PQR is the /pqr route from your code. Your model does the reasoning, so there are no API keys and nothing metered.
smolanalytics connect # wires it into every coding assistant you have installed
you ▸ how's activation, and is pro converting better than free?
ai ▸ Activation is 62% (657 of 1,051 signups reach "activate").
Pro converts 2.4× better end-to-end: 45% signup→checkout vs 19% on free.
The leak is activate→checkout on free (only 31% continue). Want the paths after activate?
Your model gets 79 tools and 14 built-in prompts, an
Related servers

n8n
Updated todayby n8n-io
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

mcp-server-fetch
OfficialUpdated todayA Model Context Protocol server providing tools to fetch and convert web content for usage by LLMs

@modelcontextprotocol/server-filesystem
OfficialUpdated todayMCP server for filesystem access
