Betterlytics
Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http betterlytics 'https://betterlytics.io/api/mcp' --header 'Authorization: <Bearer token created in Dashboard > Settings > MCP. Enter the full value including the scheme, e.g. '\''Bearer btl_...'\''>'
{
"mcpServers": {
"betterlytics": {
"type": "http",
"url": "https://betterlytics.io/api/mcp",
"headers": {
"Authorization": "<Bearer token created in Dashboard > Settings > MCP. Enter the full value including the scheme, e.g. 'Bearer btl_...'>"
}
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
Web analytics, session replay, error tracking, Core Web Vitals and uptime monitoring in one open-source tool
Website | Demo | Docs | Features | Contribute
Why Betterlytics?
Most teams piece together how their website is doing from four or five tools: one for traffic, one for session replay, one for errors, one for uptime and one for performance. Betterlytics puts all of it in one dashboard, on one data model and one bill. It runs without cookies, is hosted in the EU or on your own servers, and never shares data with third parties. It is built on Rust and ClickHouse and open source under AGPL-3.0.
Want to see it in action? Explore the live demo.
Features
| Category | Features |
|---|---|
| Core Analytics | Page views, visitors, bounce rate, traffic sources, geographic insights, device analytics, real-time data, custom events |
| Advanced Analytics | Session replay, user journeys, funnels, time period comparisons, annotations, outbound link tracking |
| Performance Monitoring | Core Web Vitals (LCP, INP, CLS, TTFB), uptime monitoring, SSL certificate monitoring, public status pages with custom domain support |
| Error Tracking | Client-side errors captured and grouped automatically, with stack traces and links to the session replay |
| Privacy & Compliance | Cookieless tracking, GDPR/CCPA/PECR ready, EU hosting, data anonymization, open source |
| Access & Security | Role-based access control, two-factor authentication, OAuth (Google, GitHub) |
| Developer Experience | Simple script tag, framework SDKs (React, Next.js), self-hosting option, ~3.5KB payload |
| AI Agents | Built-in MCP server, so Claude, Codex or any MCP client can query your traffic, funnels, errors and uptime |
Getting Started
Betterlytics can be used as a managed cloud service or self-hosted on your own infrastructure.
| Cloud | Self-Hosted | |
|---|---|---|
| Get started free | Setup guide | |
| Setup | Instant, ready in 30 seconds | Manual installation via Docker |
| Infrastructure | Managed by us (EU-based) | Managed by you |
| Updates | Automatic | Manual |
| Data location | EU cloud infrastructure | Your own servers |
| Cost | Free tier available, paid plans to scale | Your infrastructure costs only |
| Support | Included | Community |
Dashboard Preview
Overview
Geography Insights
User Journey Diagram
Events and Live Event Insights
Core Web Vitals
Uptime & SSL Monitoring
... and much more
Ideas & Suggestions
Have an idea for Betterlytics? We'd love to hear it!
- Start a discussion to share ideas or ask questions
- Found a bug? Open an issue
- Want to contribute code? Check out CONTRIBUTING.md
License & Attribution
This project is licensed under the AGPL-3.0 License.
Third-Party Components
Betterlytics includes components from other open source projects. See THIRD-PARTY-LICENSES.md for detailed attribution and license information.
Community
Join our small community of developers and privacy advocates:
- Discord - Get help, share ideas, and connect with other users and developers
- Bluesky - Follow us for updates and announcements
- GitHub Issues - Report bugs and request features
- GitHub Discussions - Ask questions and share feedback
If you find Betterlytics useful, consider giving it a star!
Questions fréquentes
Qu'est-ce que Betterlytics ?
Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.
Comment installer Betterlytics ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http betterlytics 'https://betterlytics.io/api/mcp' --header 'Authorization: <Bearer token created in Dashboard > Settings > MCP. Enter the full value including the scheme, e.g. '\''Bearer btl_...'\''>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Betterlytics ?
Oui. Il attend Authorization, à renseigner dans sa configuration.
Betterlytics est-il open source ?
Oui. Son code est sur GitHub sous licence AGPL-3.0.
Qui maintient Betterlytics ?
Il est publié par betterlytics. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.