Field notes, product
Ask your analytics in plain language, on your own server
Most analytics tools that answer questions keep the answers in their cloud, or send you to Claude first. There is a third way: a chat that is the product itself, on a server you already run.
. 8 min read.
It is Monday morning and signups look low. You could open the dashboard, find the signups chart, set the period, then open the server log in another tab and scroll. Or you could type "why did signups dip this week?" and read the answer.
Plenty of tools now say they let you do the second thing. They mean quite different things by it.
The short answer
Yes, you can ask your analytics questions in plain language on your own server, with a tool whose chat is the product and not an add-on to a hosted dashboard. You install it on a server you already have, open it in the browser and ask. A good answer comes back in a few sentences, with a chart and the query that produced the numbers, and the data never leaves your disk unless you send it to an AI model you chose.
What does "chat with your analytics" mean today?
Mostly, it means a hosted dashboard with an AI panel on the side. You type a question about traffic, pages or sources, and the answer comes from data that already lives in that vendor's cloud. Other tools have no chat at all and expect you to open Claude or Cursor and connect them to your data first.
Both work. Neither is what you want if the point is to keep your logs, visits and events on a machine you control and still ask them things in plain words.
How do analytics tools let you ask questions?
There are three setups. The difference is where you type, where the data lives, and whether an assistant has to be open before you can ask.
- Side panel
- You ask in their dashboard
- Data in their cloud
- PostHog AI, Swetrix Ask AI, Simple Analytics
- MCP only
- You ask in Claude or Cursor
- No chat in the tool
- Umami, Plausible through its API
- Chat first
- You ask in the app
- Data on your own server
- StatsRaven
A side panel on a hosted dashboard
PostHog has PostHog AI, Swetrix has Ask AI on its cloud plans, and Simple Analytics has an AI assistant. You already use their dashboard, and the AI answers questions about the reports that product keeps. It is the simplest path if you do not want to run a server. It does not help if the reason you want to ask is to keep the data at home.
MCP only: you ask in Claude or Cursor
Some tools give your assistant a way to query the data over MCP, and the conversation happens in Claude, Cursor or whatever you already use. Umami has an MCP server and no chat of its own. Google Analytics also offers an official read-only MCP server that runs on your machine, next to its own reports. Plausible has neither a chat nor an official MCP server, so people use its Stats API.
That is a clean setup if you live in your assistant all day. But you never open the analytics tool to ask. You open the assistant, and the analytics tool is a data source behind it.
Chat as the main screen, on your server
The third shape is the one this note is about. You install a product on your own server, open it in the browser, and the chat is where you start. It is not a panel next to dashboards you had to build first, and Claude is optional.
What should an answer look like?
A paragraph on its own is hard to trust. A useful answer has three parts: a short reply in plain words, a chart that backs it up, and the query that produced the numbers, so you can check it or run it again. And you should be able to ask a follow-up in the same thread without explaining the context again.
Here is a thread on the sample data of the public demo:
The first answer says when the dip was, by how much, and what it was not: visits held, so fewer of the same number of people signed up. The chart is a saved query, not a picture. SQL shows the query that counted the signups, and Pin to sheet keeps the chart on a sheet, where it runs again each time you open it.
The follow-up says "that day" and nothing more. The thread already knows which day. Because StatsRaven keeps web visits, product events and server logs in one place, the same question can move from a count of signup events to the status codes of the signup requests. If you already collect nginx or other server logs, this is where they pay off.
Some words only make sense for your product. "Signup", "active" or "logged in" can mean different things in different apps, so when a question depends on one, StatsRaven asks what you mean, checks your answer against the data, and can keep it on Teach. Later questions use the same meaning.
You can start a question from other screens too: from Live, which shows who is on your sites right now, and from a person's card, where Ask about it opens chat about that one person.
What leaves your server when you ask?
StatsRaven is one binary with storage and queries built in. There is no Postgres or ClickHouse to install, no plan has an event quota, and the data stays on your disk. The only thing that can leave is what the chat sends to the AI model, and you choose that model in Settings, AI:
- Anthropic, with your own API key.
- OpenAI-compatible: OpenAI, Google Gemini, Mistral, OpenRouter, or a local Ollama or vLLM server, where the key is optional.
- None: no chat in StatsRaven, and you ask from Claude or Cursor over MCP instead.
With a local model on the same machine, the chat's requests go to that machine and nowhere else.
With a cloud provider, each chat request carries the list of your projects and fields, named patterns, what you taught StatsRaven, your question, and the results of the queries the chat runs. Those results can include paths, referrers, browser families and event fields. Your key stays on your server, and requests go from there straight to the provider, never through us. IP addresses and emails in log search results are always masked, and for editors and viewers, fields marked sensitive in Settings, Privacy are replaced by codes before anything leaves. The AI docs list all of it.
Already in Claude? Ask from there
If you spend the day in Claude, Cursor or VS Code, you can add StatsRaven as an MCP server and ask from the conversation you already have open:
claude mcp add --transport http statsraven https://stats.example.com/mcp
On that path StatsRaven needs no AI key. Claude does the asking, and your server runs the queries. Sign-in, tokens and other clients are in the Claude and MCP docs. It is one way in, and the chat in the app does not depend on it.
When is a hosted tool the better choice?
If you do not want to run a server at all, a hosted tool with an AI panel is simpler, and that is a real advantage. Nobody has to install anything, update it or watch the disk. If your team already lives in PostHog, its AI sits next to replays, feature flags and experiments, which StatsRaven does not have. And if all you want is the free self-hosted classic and you already run PostgreSQL, Umami with its MCP server and your own assistant is a reasonable setup.
StatsRaven is not a fit if you want a hosted service with nothing to run, need session replay, heatmaps or A/B tests, want a drag-and-drop dashboard builder, or need a vendor-managed SLA. It fits if you run several products, already have a server or are happy to rent a small one, want answers without building dashboards, and need the data to stay on your own machine. The comparison pages go through each tool side by side.
What StatsRaven does with this
You install StatsRaven with one command on a Linux server, and the quickstart takes you from there to your first question. Chat is the first screen. It reads your web visits, product events and server logs in one question, answers with a chart and its query, asks when a word is yours to define, and lets you pin what you want to keep. Features shows the rest.
Free is $0 forever for one project, with no event quota and 7 days of data. Chat, MCP and the SQL API are included, and no account is needed. Core is $49 once, plus VAT, for three projects, with unlimited users and data kept as long as your disk allows. It includes a year of updates. After that, updates are $19 a year, plus $5 for each project pack, if you want them, and StatsRaven keeps working on the versions you already have if you do not. A project pack adds five more projects for $29. You can also try everything for 30 days with no card, with up to 20 projects; when the trial ends, StatsRaven goes back to Free and nothing is deleted.
Or open the demo first and ask it why signups dipped this week. On your own server, it answers about your own data.
Questions
Can I ask my analytics questions in plain language on my own server?
Yes. A self-hosted tool with its own chat runs on your server, and you ask it in the browser the way you would ask a colleague. StatsRaven answers with a short reply, a chart and the query behind it, and the data stays on your disk.
Do I need Claude or an MCP client to ask StatsRaven a question?
No. StatsRaven has its own chat, with an AI key you choose or a local model. If you already work in Claude, Cursor or VS Code, you can add StatsRaven as an MCP server and ask from there instead, with no AI key in StatsRaven at all.
Can StatsRaven's chat use a local model?
Yes. Pick OpenAI-compatible in Settings, AI and give the address of a local server such as Ollama or vLLM. The key is optional for local servers. When the model runs on the same machine, the chat's requests stay on it.
What does a cloud AI provider see when I ask a question?
The list of your projects and fields, named patterns, what you taught StatsRaven, your question, and the results of the queries the chat runs. IP addresses and emails in log search results are always masked, and fields marked sensitive are replaced by codes for editors and viewers.
Is there a demo I can try without installing?
Yes, at demo.statsraven.com, with sample data and no sign-up. The chat there answers a fixed set of questions, such as why signups dipped this week. On your own install it answers anything about your own data.
How much does StatsRaven cost?
Free is $0 for one project with 7 days of data, chat included. Core is $49 once plus VAT for three projects, with a year of updates, then $19 a year if you want them. A 30-day trial of everything needs no card.