Mixpanel is the event-centric product analytics tool many growth and marketing teams use to track funnels and retention. Connecting Mixpanel to clariBI lets you ask about events, funnels, and retention without leaving the analysis tool.
Why connect Mixpanel
Mixpanel reports are powerful but bound to its UI. Asking cross-cohort or cross-time-window questions usually means building a JQL query.
With Mixpanel connected, the AI engine handles cohort selection, funnel definition, and result summarization.
How the connection works
clariBI talks to Mixpanel through its hosted MCP server at https://mcp.mixpanel.com/mcp. Authentication uses an OAuth flow that clariBI registers itself for (no developer console setup on your side). Tokens stay encrypted server-side and never leave clariBI in clear form.
sequenceDiagram
actor U as You
participant C as clariBI
participant V as Mixpanel
U->>C: Click Authorize with Mixpanel
C->>V: Open OAuth authorization
V-->>U: Grant read access?
U->>V: Approve
V-->>C: Authorization code
C->>V: Exchange code for tokens
V-->>C: Access + refresh tokens
C->>C: Encrypt and store credentials
C-->>U: Connection ready
Available tools
clariBI exposes the read-only Mixpanel tools that the vendor's MCP server publishes at connection time. Write operations (create, update, delete, send, refund) are filtered out by a name-pattern blocklist before any tool reaches the analysis engine, so connecting Mixpanel cannot modify data on the vendor side.
The exact tool inventory depends on the Mixpanel features your account has access to. After connecting, try a few natural-language questions to see what Mixpanel data clariBI can pull.
Data flow during analysis
When you ask a question that maps to Mixpanel, the AI engine routes to the right tool, reads the result, and pairs the answer with a chart you can pin to a dashboard.
sequenceDiagram
actor U as You
participant C as clariBI
participant AI as AI engine
participant V as Mixpanel
U->>C: Ask a question about event and retention analytics
C->>AI: Plan the analysis
AI->>V: Call the right tool
V-->>AI: Tool result
AI->>AI: Summarize and chart
C-->>U: Answer plus visual
Setting up the connection
- Open Data Sources in the clariBI sidebar.
- Click Add data source.
- Open the MCP Servers tab.
- Click the Mixpanel card.
- Click Authorize with Mixpanel.
- Sign in to Mixpanel in the popup window and grant the requested read scopes.
- Back in clariBI, give your data source a name.
- Click Finish.
Permissions and data access
clariBI requests project and service-account read scopes. No events can be ingested, and no funnels or segments can be modified. Disconnect from Mixpanel settings or from clariBI Settings.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| "Service account required" | Mixpanel API access is service-account-based. | Create a service account in Mixpanel project settings, then authorize from clariBI. |