Connects Claude to Convalytics analytics dashboards for Convex apps. Exposes read-only query access to page views, sessions, bounce rates, referrers, device breakdowns, and custom product events tracked from your Convex mutations. Useful when you want to ask questions about user behavior, conversion funnels, or feature adoption without switching to the web dashboard. The MCP endpoint runs at api.convalytics.dev/mcp and works over streamable HTTP, so no local server setup needed. Pairs with their Convex component that handles server-side event ingestion, which can't be blocked by ad blockers like client-side analytics.
Public tool metadata for what this MCP can expose to an agent.
list_projectsList all Convalytics projects on the team this token belongs to. Useful when the agent needs to confirm the project it's querying against. No arguments.List all Convalytics projects on the team this token belongs to. Useful when the agent needs to confirm the project it's querying against. No arguments.
No parameter schema in public metadata yet.
get_usageReturn the current month's custom-event usage, monthly quota, retention days, and plan name for the team.Return the current month's custom-event usage, monthly quota, retention days, and plan name for the team.
No parameter schema in public metadata yet.
top_pagesReturn the top pages for a specific project, ranked by views in a time window. Default window is the last 7 days. Use list_projects first if you don't know the project name. Returns path, views, uniqueVisitors, and percentage of total views for each page. Pass `user` to see pa...5 paramsReturn the top pages for a specific project, ranked by views in a time window. Default window is the last 7 days. Use list_projects first if you don't know the project name. Returns path, views, uniqueVisitors, and percentage of total views for each page. Pass `user` to see pa...
userstringlimitnumbersincenumberuntilnumberprojectstringtop_referrersReturn the top referring hosts for a specific project, ranked by visit count in a time window. Includes '(direct)' for visits with no referrer. Default window is the last 7 days.4 paramsReturn the top referring hosts for a specific project, ranked by visit count in a time window. Includes '(direct)' for visits with no referrer. Default window is the last 7 days.
limitnumbersincenumberuntilnumberprojectstringpageviews_countCount page views for a specific project in a time window. Page views are the automatic hits captured by the browser script tag (separate from custom events). Use this for web-traffic questions like 'how many pageviews in the last 24 hours'. Default window is the last 7 days. P...4 paramsCount page views for a specific project in a time window. Page views are the automatic hits captured by the browser script tag (separate from custom events). Use this for web-traffic questions like 'how many pageviews in the last 24 hours'. Default window is the last 7 days. P...
userstringsincenumberuntilnumberprojectstringevents_countCount CUSTOM PRODUCT events for a specific project in a time window, optionally filtered to one event name and/or one user. Custom events are emitted by explicit analytics.track() calls in app code (signup_completed, payment_succeeded, etc.). This does NOT count page views — u...5 paramsCount CUSTOM PRODUCT events for a specific project in a time window, optionally filtered to one event name and/or one user. Custom events are emitted by explicit analytics.track() calls in app code (signup_completed, payment_succeeded, etc.). This does NOT count page views — u...
namestringuserstringsincenumberuntilnumberprojectstringrecent_eventsReturn the most recent custom events for a specific project, optionally filtered to one event name and/or one user. PII (userEmail, userName, props) is redacted by default; pass redact: false to include them.5 paramsReturn the most recent custom events for a specific project, optionally filtered to one event name and/or one user. PII (userEmail, userName, props) is redacted by default; pass redact: false to include them.
namestringuserstringlimitnumberredactbooleanprojectstringuser_activityComposite snapshot of a specific user's activity on a project. Returns an identity block (visitorId, userEmail, userName, firstSeen, lastSeen), total pageviews, total custom events, session count, top pages this user visited, their most-fired event names, and their 20 most rec...4 paramsComposite snapshot of a specific user's activity on a project. Returns an identity block (visitorId, userEmail, userName, firstSeen, lastSeen), total pageviews, total custom events, session count, top pages this user visited, their most-fired event names, and their 20 most rec...
userstringsincenumberuntilnumberprojectstringweekly_digestComposite snapshot of a project's web analytics over a lookback window. Returns unique visitors, pageviews, sessions, bounce rate, average session duration, top 5 pages, top 5 referrers, total custom events, and top 5 event names. Includes period-over-period comparison against...3 paramsComposite snapshot of a project's web analytics over a lookback window. Returns unique visitors, pageviews, sessions, bounce rate, average session duration, top 5 pages, top 5 referrers, total custom events, and top 5 event names. Includes period-over-period comparison against...
daysnumbercomparebooleanprojectstringWeb analytics and product event tracking built for Convex apps.
Dashboard: convalytics.dev
Convalytics gives Convex apps two things:
Everything flows into a single dashboard. Projects auto-provision on first event — no account required to start tracking.
npx convalytics init
This auto-provisions a project, installs the Convex component, patches convex/convex.config.ts, creates convex/analytics.ts with the write key inlined, inserts the browser script tag into index.html, and installs a skill file for AI agents. Works with Cursor, Claude Code, and other AI coding agents out of the box.
| Package | Description |
|---|---|
convalytics-dev | Convex component for server-side event tracking |
convalytics | CLI for zero-config project setup |
convalytics/
convex/ # Convex backend — dashboard API, ingest, billing, auth
src/ # React frontend — dashboard UI
cli/ # CLI (published as convalytics on npm)
The Convex component (convalytics-dev on npm) lives in its own repo:
Dan-Cleary/convalytics-convex-component
npm install
npm run dev
This starts both the Vite frontend and convex dev in parallel.
io.github.infoinlet-marketplace/mcp-observability
betterdb-inc/monitor
com.mcparmory/datadog
thotischner/observability-mcp
io.github.tantiope/datadog-mcp
io.github.us-all/datadog