Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rybbit-mcpShow me the top pages by bounce rate this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@nks-hub/rybbit-mcp
MCP server for Rybbit Analytics — query statistics, errors, users, sessions, funnels, goals, and performance metrics directly from Claude Code or any MCP-compatible client.
Why?
Instead of manually checking the Rybbit dashboard, let your AI assistant query analytics data directly:
"How many users visited the site today?"
"Show me the top pages by bounce rate this week"
"What errors occurred in the last hour?"
"Show user journey from homepage to checkout"
"Compare browser usage between mobile and desktop"
Quick Start
1. Install
npm install -g @nks-hub/rybbit-mcpOr clone and build:
git clone https://github.com/nks-hub/rybbit-mcp.git
cd rybbit-mcp
npm install && npm run build2. Configure Claude Code
Add to your ~/.claude/settings.json or project .claude/settings.json:
{
"mcpServers": {
"rybbit": {
"command": "node",
"args": ["C:/path/to/rybbit-mcp/build/index.js"],
"env": {
"RYBBIT_URL": "https://your-rybbit-instance.com",
"RYBBIT_API_KEY": "your-api-key"
}
}
}
}3. Use
Ask Claude Code anything about your analytics data. The MCP tools are automatically available.
Authentication
Supports two authentication methods:
Method | Environment Variables | Use Case |
API Key |
| Recommended for production |
Email/Password |
| Development/testing |
Both require RYBBIT_URL pointing to your Rybbit instance.
Tools (27)
Configuration
Tool | Description |
| Get server version and configuration |
| List all sites and organizations |
Real-time & Overview
Tool | Description |
| Current active users count |
| Aggregated metrics (sessions, pageviews, users, bounce rate, duration) |
| Metrics as time-series with configurable buckets |
| Geographic session data with coordinates for map visualization |
Metrics & Dimensions
Tool | Description |
| Breakdown by dimension (browser, OS, country, page, UTM, etc.) |
| User retention cohort analysis |
Sessions
Tool | Description |
| Session list with filtering and pagination |
| Full session detail with events and user traits |
Users
Tool | Description |
| Identified users with session counts and traits |
| User detail with traits and activity |
| Trait keys, values, or find users by trait |
Events
Tool | Description |
| Raw event records with filtering |
| Custom event names and counts |
| Property breakdowns per event |
| Event count trends over time with configurable buckets |
| Outbound link clicks with URLs and counts |
Errors
Tool | Description |
| Error types/counts, individual instances, or timeseries for a specific error |
Performance (Web Vitals)
Tool | Description |
| Core Web Vitals (LCP, CLS, INP, FCP, TTFB) with percentiles |
| Web Vitals trends over time |
Funnels & Goals
Tool | Description |
| Saved funnels with step definitions |
| Ad-hoc funnel analysis with custom steps |
| Sessions that reached or dropped off at a funnel step |
| Goals with conversion metrics |
| Sessions that completed a specific goal |
Journeys
Tool | Description |
| User navigation path analysis |
Common Parameters
All analytics tools support these optional parameters:
Parameter | Type | Description |
| string | Site identifier (required) |
| string | Start date |
| string | End date |
| string | IANA timezone (e.g., |
| array | Filter array |
| number | Minutes ago (alternative to date range) |
Filter Parameters
browser, operating_system, language, country, region, city, device_type, referrer, hostname, pathname, page_title, querystring, event_name, channel, utm_source, utm_medium, utm_campaign, utm_term, utm_content, entry_page, exit_page, user_id
Filter Types
equals, not_equals, contains, not_contains, regex, not_regex, greater_than, less_than
Time Buckets
minute, five_minutes, ten_minutes, fifteen_minutes, hour, day, week, month, year
Requirements
Node.js >= 18
Rybbit Analytics instance (self-hosted or cloud)
Related
rybbit-io/rybbit — Rybbit Analytics platform
@nks-hub/rybbit-ts — TypeScript tracking SDK
rybbit-flutter-sdk — Flutter/Dart tracking SDK
rybbit-app — Flutter mobile client
License
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.