rybbit-mcp
The rybbit-mcp server provides 32 tools to query and manage a Rybbit Analytics instance directly from MCP-compatible AI clients, covering real-time visitors, site management, user behavior, events, errors, performance, funnels, goals, and journeys.
Site Management: List/create/delete/update sites, look up site IDs by domain, update tracking config (IP tracking, session replay, error tracking, bot blocking, excluded IPs/countries, etc.), and verify SDK integration.
Real-Time & Overview: Get live active user counts, aggregated metrics (sessions, pageviews, unique users, bounce rate, session duration), time-series trends with configurable bucket granularity, and geographic session data for map visualization.
Metrics & Dimensions: Break down metrics by browser, OS, country, city, page, UTM parameters, referrer, device type, channel, entry/exit pages, app version, and more. Also supports page title analysis and user retention cohorts.
Sessions: List sessions with filters (IP, identified users, min duration, dimension), get full session details including page views, events, user traits, device info, and event timeline.
Users: List users with search/sort/filters, view detailed profiles (traits, session history, activity summary), query user trait keys/values, find users by trait, get per-user event breakdowns, and per-day session counts.
Events: List raw events, discover custom event names and counts, get property breakdowns for specific events, view event count trends as time series, and track outbound link clicks.
Error Tracking: Get error type summaries, individual error instances with stack traces, and error trends over time.
Performance (Web Vitals): Get Core Web Vitals (LCP, CLS, INP, FCP, TTFB) with p50/p75/p90/p99 percentiles, broken down by page, browser, or OS, with time-series trend support.
Funnels: List saved funnels, analyze ad-hoc funnels with custom steps (conversion rates & drop-off), get sessions that reached or dropped off at specific steps, and create/delete funnels.
Goals: List, create, update, and delete goals (path-based or event-based with property filters); get sessions that completed a specific goal.
User Journeys: Analyze common page navigation sequences across sessions with configurable step depth (2–10 steps).
Filtering & Time Ranges: Filter by 22+ dimensions with 8 comparison types. Use absolute dates (YYYY-MM-DD) or relative time (pastMinutesStart), with IANA timezone support. Built-in pagination for large datasets.
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"
Related MCP server: agentops-mcp
Quick Start
Installation (npx — recommended)
No install needed. Just configure your MCP client to run via npx:
{
"mcpServers": {
"rybbit": {
"command": "npx",
"args": ["-y", "@nks-hub/rybbit-mcp"],
"env": {
"RYBBIT_URL": "https://your-rybbit-instance.com",
"RYBBIT_API_KEY": "your-api-key"
}
}
}
}Add this to your ~/.claude/settings.json or project .claude/settings.json.
CLI shorthand:
claude mcp add rybbit -e RYBBIT_URL=https://your-instance.com -e RYBBIT_API_KEY=your-key -- npx -y @nks-hub/rybbit-mcpInstallation (from source)
For development or contributing:
git clone https://github.com/nks-hub/rybbit-mcp.git
cd rybbit-mcp
npm install && npm run buildThen point your MCP config to the local build:
{
"mcpServers": {
"rybbit": {
"command": "node",
"args": ["path/to/rybbit-mcp/build/index.js"],
"env": {
"RYBBIT_URL": "https://your-rybbit-instance.com",
"RYBBIT_API_KEY": "your-api-key"
}
}
}
}Usage
Ask Claude Code anything about your analytics data. The MCP tools are automatically available.
Features
Feature | Description |
32 Analytics Tools | Complete coverage of Rybbit API — overview, metrics, sessions, users, events, errors, performance, funnels, goals, journeys, site management |
Flexible Auth | API key (recommended) or email/password authentication |
Smart Filtering | Filter by 22 dimensions (browser, country, UTM, page, device, etc.) with 8 comparison types |
Time Ranges | Date ranges ( |
Time Series | Configurable bucket granularity from minutes to years |
Pagination | Built-in page/limit support for large datasets |
Response Truncation | Auto-truncation at 25k chars to prevent context bloat |
Actionable Errors | Error messages guide the LLM toward correct tool usage |
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 (32)
Configuration & Site Management
Tool | Description |
| Get server version and configuration |
| List all sites and organizations |
| Create a new site (type: |
| Delete a site permanently |
| Look up site ID by domain name |
| Update site tracking config (IP, errors, replay, etc.) |
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 by IP, identified users, min duration, and pagination |
| Full session detail with events and user traits |
Users
Tool | Description |
| Users with search, sort (first/last seen, pageviews, sessions, duration), and identified-only filter |
| User detail with traits and activity |
| Trait keys, values, or find users by trait |
| Per-user event count breakdown |
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
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
# Type checking
npx tsc --noEmitRequirements
Node.js: 18+
Rybbit Analytics: Self-hosted or cloud instance
Contributing
Contributions are welcome! For major changes, please open an issue first.
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'feat: description')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Support
📧 Email: dev@nks-hub.cz
🐛 Bug reports: GitHub Issues
📖 MCP Protocol: modelcontextprotocol.io
License
MIT License — see LICENSE for details.
Links
@nks-hub/rybbit-ts — TypeScript tracking SDK
rybbit-flutter-sdk — Flutter/Dart tracking SDK
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nks-hub/rybbit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server