Rybbit for developers
Analytics that behaves like good software.
One script tag, or one npm package. A REST API for everything the dashboard shows, an MCP server your agents can operate, and a codebase you can read, audit, and run on your own server.
7-day free trial — or self-host free forever.
Install
One tag. Or one package.
Drop the script on any site, or install @rybbit/js and initialize it in two lines. Autocapture starts immediately; custom events are there when you want them.
Script docs<script
src="https://app.rybbit.io/api/script.js"
data-site-id="YOUR_SITE_ID"
async
></script>npm install @rybbit/js
import rybbit from "@rybbit/js";
await rybbit.init({
analyticsHost: "https://app.rybbit.io/api",
siteId: "YOUR_SITE_ID",
});Stats API
Everything in the dashboard, over HTTP.
Every metric Rybbit shows is available from the REST API with a bearer key — pull traffic into your own tools, build a live feed, or export events to a warehouse. An API playground in the dashboard generates ready-to-use snippets.
API referencecurl "https://app.rybbit.io/api/sites/123/metric?parameter=country&start_date=2026-06-01&end_date=2026-06-30" \
-H "Authorization: Bearer YOUR_API_KEY"{
"data": {
"data": [
{ "value": "US", "count": 8420, "percentage": 54.63 },
{ "value": "GB", "count": 2150, "percentage": 13.95 }
],
"totalCount": 87
}
}Organization keys or personal keys, rate-limited per plan. Sessions, metrics, funnels, goals, errors, and events are all endpoints — see the reference for the full surface.
MCP
Your agent already knows how to use it.
A hosted MCP server sits on top of the full REST API. Your agent reads live traffic, debugs errors, and manages goals — with the same permissions as a teammate.
Set up MCPclaude mcp add --transport http rybbit \
https://app.rybbit.io/api/mcpOpen source
Read the code. Run the code.
Every line of Rybbit is on GitHub under AGPL v3 — including the cloud and enterprise features. Clone it, audit it, and run the full stack on your own VPS with Docker.
git clone https://github.com/rybbit-io/rybbit.git
cd rybbit
./setup.sh your.domain.nameThe setup script brings up the full stack with Docker Compose. Self-hosting is free for personal and business use.
Developer questions, answered plainly.
More ways teams use Rybbit.
Ship analytics in the next ten minutes.
One script tag now — the API, the MCP server, and self-hosting whenever you want them.
7-day free trial. Cancel anytime.