Mochi
Analytics for Discord bots: command usage, server growth, and bot health in one dashboard. Self-host it and own the data, or use the managed cloud.
Don’t want to self-host? Mochi Cloud is a fully managed, multi-tenant instance of the same open-source Mochi — sign in with Discord and start sending events, no infrastructure required.
Features
- Privacy-friendly — raw user ids are hashed server-side with a per-bot salt and never stored.
- Command analytics — usage counts, success rate, latency, and unique-user metrics.
- Growth tracking — guild joins, leaves, and churn over time, with previous-period comparison.
- Custom events — attach your own metadata for anything the built-in events don’t cover, and explore it per event.
- Error tracking — error events, failing commands, and affected users.
- Health dashboard — per-shard status, gateway ping, and uptime.
- Alerts & digests — Discord webhook alerts for downtime, error spikes, and server drops, plus a weekly summary.
- Realtime activity feed — watch events land as they happen.
- Sharing & embeds — public read-only dashboards, README badges, and embeddable widgets.
- Exports and a Stats API — pull your numbers out
as CSV, JSON, or straight into a
/statscommand. - Per-bot controls — API keys, retention settings, and salt rotation.
How it works
A bot sends events to your Mochi instance through one of the SDKs (or the raw Ingest API). Mochi stores them in ClickHouse, hashes user ids so you never hold raw identifiers, and renders everything in a Next.js dashboard.
Community & support
Questions, bug reports, or feature ideas? Join the Mochi Discord — it’s the fastest way to get help and talk to the people building Mochi. You can also open an issue on GitHub.
Next steps
License
The Mochi server is licensed under AGPL-3.0-or-later. The SDKs are
Apache-2.0. The Mochi name, logos, and branding are not covered by these
licenses and may not be used to imply endorsement or to operate a confusingly
similar hosted service.