Rybbit MCP Server
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 MCP ServerShow me the overview analytics for my main site"
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.
Rybbit MCP Server
Rybbit now ships anofficial MCP server — a hosted, remote endpoint built into Rybbit itself with OAuth and scoped API-key support. This package offers full feature parity with it, plus extra tools it doesn't have (composite summaries, period comparison, batch event ingestion, ~20 additional read endpoints) and a local stdio transport for clients without remote MCP/OAuth support. See How this compares to the official Rybbit MCP.
An MCP (Model Context Protocol) server for the Rybbit Analytics API. It gives MCP-compatible AI assistants access to your Rybbit Analytics data and management capabilities, allowing you to query traffic, sessions, events, users, goals, funnels, performance, errors, and more using natural language. Ask questions like, "How many people visited last week, and what pages did they view?" and get detailed answers.
Installation
No installation required! Use npx to run directly.
Or install globally:
npm install -g rybbit-mcp-serverRelated MCP server: Google Analytics MCP Server
Configuration
Environment Variables
Variable | Required | Default | Description |
| Yes | — | Your Rybbit API key |
| No |
| Base URL for the Rybbit API (for self-hosted instances) |
| No |
| Seconds to cache GET responses in memory ( |
| No | off | Set to |
Getting an API Key
Navigate to Settings → Account in your Rybbit dashboard
Go to the API Keys section
Create a key with a custom name
Copy it immediately (it won't be shown again)
How this compares to the official Rybbit MCP
Compared against the official MCP v0.3.0 (Rybbit v2.7.0, July 2026).
Capability | Official MCP | This package |
Analytics reads (overview, timeseries, breakdowns, live, retention, journeys, web vitals, errors) | ✅ | ✅ |
Sessions, events, users (raw data reads) | ✅ | ✅ |
Goals & funnels (read, analyze, CRUD) | ✅ | ✅ |
Sites & organizations (CRUD, members) | ✅ | ✅ |
Raw read-only ClickHouse SQL ( | ✅ | ✅ |
User identify / traits / GDPR delete | ✅ | ✅ |
Teams & member site-access management | ✅ | ✅ |
Extra read tools (goal sessions, funnel step sessions, performance timeseries & by-dimension, error events & timeseries, session locations, user session counts, event properties, outbound links) | ❌ | ✅ |
Event ingestion ( | ❌ | ✅ |
Batch event ingestion ( | ❌ | ✅ |
Composite digest ( | ❌ | ✅ |
Period-over-period comparison ( | ❌ | ✅ |
Response caching + rate-limit awareness | ❌ | ✅ |
Read-only mode via env flag | ❌ | ✅ |
Local stdio transport (no remote MCP/OAuth support needed) | ❌ | ✅ |
Hosted remote endpoint (nothing to run locally) | ✅ | ❌ |
OAuth authorization flow | ✅ | ❌ |
Both authenticate with the same Rybbit API keys and hit the same public REST API, so
scoped keys (resource:action permissions) work identically: reads need the matching
:read scope, writes need :write (write implies read), and destructive operations
additionally require org admin/owner role. rybbit_run_query needs sql:read;
server-side event ingestion is marked trusted with ingest:write. The official server can approximate read-only operation with a scoped API key; this package's RYBBIT_READ_ONLY flag works with any key and composes with scoped keys.
Usage
With Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"rybbit": {
"command": "npx",
"args": ["rybbit-mcp-server"],
"env": {
"RYBBIT_API_KEY": "your_api_key_here"
}
}
}
}For self-hosted Rybbit instances, add the RYBBIT_URL environment variable:
{
"mcpServers": {
"rybbit": {
"command": "npx",
"args": ["rybbit-mcp-server"],
"env": {
"RYBBIT_API_KEY": "your_api_key_here",
"RYBBIT_URL": "https://your-rybbit-instance.com"
}
}
}
}With Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"rybbit": {
"command": "npx",
"args": ["rybbit-mcp-server"],
"env": {
"RYBBIT_API_KEY": "your_api_key_here",
"RYBBIT_URL": "https://your-rybbit-instance.com"
}
}
}
}Standalone
npx rybbit-mcp-server
# Or if installed globally:
rybbit-mcp-serverExample Questions
You ask... | Tools used |
"How many people visited last week, and what pages did they view?" |
|
"Show the daily traffic trend this month" |
|
"Where is my traffic coming from?" |
|
"Who are my most active users, and what did they do?" |
|
"Trace one visitor's journey" |
|
"How many people are on the site right now?" |
|
"Is the site healthy?" |
|
"How is my signup funnel converting?" |
|
"What are the most common paths through my site?" |
|
"Are users coming back?" |
|
Available Tools
Overview & Metrics
rybbit_get_overview- Get high-level analytics (sessions, pageviews, users, bounce rate)rybbit_get_overview_timeseries- Get time-series analytics datarybbit_get_metric- Get dimensional breakdown by parameter (browser, country, etc.)rybbit_get_live_visitors- Get count of currently active visitors
Sessions
rybbit_get_sessions- Get paginated list of sessionsrybbit_get_session_details- Get detailed session info with eventsrybbit_get_session_locations- Get session locations for map visualization
Events
rybbit_get_events- Get paginated list of events (supports sinceTimestamp/beforeTimestamp cursors)rybbit_get_event_names- Get unique event names with countsrybbit_get_event_properties- Get properties for a specific eventrybbit_get_outbound_links- Get outbound link clicks
Users
rybbit_get_users- Get paginated list of usersrybbit_get_user_sessions- Get sessions for a specific userrybbit_get_user_session_count- Get daily session count for a userrybbit_get_user_info- Get detailed user profile
SQL (Raw Data)
rybbit_run_query- Run read-only ClickHouse SQL against your events (SELECT-only, max 1,000 rows, 10s cap)rybbit_get_query_schema- Get the events-table column schema for writing queries
Users (management)
rybbit_identify_user- Link an anonymous visitor to a user ID and merge traitsrybbit_update_user_traits- Replace a user's profile traits (wholesale replacement)rybbit_delete_user- Permanently erase a user and all their data (GDPR, irreversible)
Goals
rybbit_get_goals- Get goals with conversion metricsrybbit_get_goal_sessions- Get sessions that completed a goalrybbit_create_goal- Create a new goal (path or event-based)rybbit_update_goal- Update goal configurationrybbit_delete_goal- Delete a goal
Funnels
rybbit_get_funnels- Get saved funnelsrybbit_analyze_funnel- Analyze step-by-step conversionrybbit_get_funnel_step_sessions- Get sessions at a funnel steprybbit_create_funnel- Create a new funnelrybbit_delete_funnel- Delete a funnel
Performance (Core Web Vitals)
rybbit_get_performance_overview- Get LCP, CLS, INP, FCP, TTFB metricsrybbit_get_performance_timeseries- Get performance trends over timerybbit_get_performance_by_dimension- Get performance by pathname, country, etc.
Error Tracking
rybbit_get_error_names- Get unique errors with countsrybbit_get_error_events- Get error occurrences with stack tracesrybbit_get_error_timeseries- Get error trends over time
Retention & Journeys
rybbit_get_retention- Get cohort-based retention analysisrybbit_get_journeys- Get common user navigation paths
Organizations & Sites
rybbit_get_organizations- Get your organizationsrybbit_get_organization_members- Get organization membersrybbit_add_organization_member- Add a member to an organizationrybbit_create_site- Create a new siterybbit_get_site- Get site detailsrybbit_update_site- Update site configurationrybbit_delete_site- Delete a siterybbit_get_excluded_ips- Get IPs excluded from trackingrybbit_get_excluded_countries- Get country codes excluded from trackingrybbit_get_private_link_config- Get private-link sharing config (org admin only)
Teams
rybbit_get_teams- List teams with members and site assignmentsrybbit_create_team- Create a team with optional members and sitesrybbit_update_team- Update a team (member/site lists replaced wholesale)rybbit_delete_team- Delete a teamrybbit_update_member_site_access- Restrict a member to specific sites
Event Tracking
rybbit_track_event- Send tracking events (pageview, custom, performance, error, outbound)
Composite & Batch
rybbit_get_site_summary- One-call digest: overview + top pages/referrers/countries/devices/events + live count (~7 API requests)rybbit_compare_periods- Compare overview metrics vs the equal-length preceding period with deltasrybbit_track_events- Send 1-50 tracking events in one call with per-event results
Common Parameters
Time Parameters
Most analytics tools accept time parameters:
startDate/endDate- Date range in YYYY-MM-DD formattimeZone- IANA timezone (e.g., "America/New_York")pastMinutesStart/pastMinutesEnd- Relative time range in minutes
Filters
Filter data using JSON array format:
[
{
"parameter": "country",
"type": "equals",
"value": ["US"]
}
]Filter types: equals, not_equals, contains, not_contains, regex, not_regex, greater_than, less_than
Available parameters: browser, operating_system, device_type, country, region, city, pathname, page_title, hostname, querystring, referrer, utm_source, utm_medium, utm_campaign, user_id, event_name
Rate Limits
The Rybbit API has a rate limit of 500 requests per 10 minutes per API key.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that provides tools to interact with Matomo Analytics API, enabling management of sites, users, goals, segments, and access to analytics reports through a MCP interface.Last updated1138ISC
- -license-quality-maintenanceAn experimental MCP server that enables interaction with Google Analytics APIs, allowing users to retrieve account information, run core reports, and access realtime analytics data through natural language queries.Last updated
- FlicenseAqualityBmaintenanceMCP server for the WhatsMyBudget Analytics API, providing tools to query budget periods, categories, accounts, and summaries.Last updated26
- AlicenseAqualityBmaintenanceExposes Rybbit Analytics as MCP tools for querying site traffic, page views, visitor sessions, and live visitor counts through natural language.Last updated9MIT
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for Vonage API documentation, code snippets, tutorials, and troubleshooting.
Official PicSee MCP server for short links, link management, click analytics, and optional OAuth.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/daikazu/rybbit-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server