Betterlytics MCP
Lets your AI agent query your Betterlytics web analytics: traffic, funnels, user journeys, errors and uptime.
180 stars on GitHubby BetterlyticsLicense AGPL-3.0Updated 18 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://betterlytics.io/api/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http betterlytics https://betterlytics.io/api/mcp --header "Authorization: <your value>"
What to fill in
| Name | What it is | Required |
|---|---|---|
Authorization | Bearer token created in Dashboard > Settings > MCP. Enter the full value including the scheme, e.g. 'Bearer btl_...' | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
How much traffic did my site get this week compared to last week?
Where do visitors drop off in my signup funnel?
What it is
Betterlytics is an open-source, cookieless web analytics tool with session replay, error tracking, Core Web Vitals and uptime monitoring. Its built-in MCP server lets your agent ask about your site's traffic, funnels, journeys, errors and uptime in plain language.
What it can do
- Query traffic and page views
- Query funnels and user journeys
- Query client-side errors
- Query uptime monitoring
- Cover Core Web Vitals and other dashboard data
When to use
- βΊWhen you want a quick answer about last week's traffic without opening the dashboard
- βΊWhen you check which step of a funnel loses visitors
- βΊWhen you investigate website errors or downtime
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
signals-scout-web-analyticsLets your agent watch website traffic by source for sudden drops, lost campaign tracking and landing pages that stop holding visitors.google-analytics-automationAutomates Google Analytics tasks like reports and funnels. Useful for analyzing website data without manual intervention.seo-matomoLets your agent read Matomo analytics for organic traffic, top pages, devices, countries and keywords, as a privacy-focused alternative to Google Analytics.Frequently asked questions
Is it free and open source?
Betterlytics is open source under AGPL-3.0. The cloud has a free tier and paid plans. Self-hosting costs only your infrastructure.
Is it official?
Yes. The MCP server is built into Betterlytics, made by the same project.
Does it use cookies?
No. Betterlytics tracking is cookieless.
Where is data stored?
On EU cloud infrastructure, or on your own servers if you self-host.
Which sign-in options exist?
The dashboard supports OAuth with Google and GitHub, and two-factor authentication.
Where is the MCP guide?
At betterlytics.io/docs/dashboard/mcp.
If it does not work
- βΊFollow the MCP page at betterlytics.io/docs/dashboard/mcp for the exact connection steps.
- βΊMake sure your site already sends data, otherwise queries return nothing.
- βΊRestart your AI app after adding the remote server.
5 new skills a week. 1 minute to read.