Integrations

How to connect Mixpanel to AI agents?

Connect Mixpanel to Sequel and ask about your product analytics in plain English — events, funnels, retention, segmentation, and active users — from the Sequel app or any AI tool wired up to the MCP server. Skip the drop-downs: describe the report you want and Sequel runs it against Mixpanel's Query API. And because it's just another source, you can join your Mixpanel data with the rest of your stack in a single question. Sequel only ever reads.

What you'll need

  • A Mixpanel account with a project you can read.
  • A Service Account username — looks like my-sa.abc123.mp-service-account.
  • The Service Account secret — shown once when the account is created.
  • Your numeric project ID — under Project Settings → Overview, or the digits after /project/ in any Mixpanel URL.
  • The project's regionus (mixpanel.com) or eu (eu.mixpanel.com). Pick the region the project was created in.

Create a Service Account in Mixpanel

Go to Organization Settings → Service Accounts and create a new account with at least project-level read access — a read role is enough, since Sequel never writes. Copy the username and the secret (the secret is shown only once) before leaving the page.

Connect it

Open a new connection

In the Sequel dashboard, go to Connections → New connection and choose Mixpanel.

Create a Service Account in Mixpanel

In Mixpanel, go to Organization Settings → Service Accounts and create an account with project-level read access. Copy the username and the secret shown at creation.

Fill in the connection form

Paste the Service Account username and secret, enter your numeric project ID, and choose the region (us or eu) the project lives in. Sequel uses the username and secret as HTTP Basic auth.

Test and save

Sequel pings your project against the Mixpanel API. A green check means it's live and ready to query.

What you can query

Sequel exposes Mixpanel as read-only tools over the Query API:

  • Events — list the event names tracked in the project.
  • Event properties — list the properties on a given event.
  • Segmentation — counts, uniques, sums, and averages over any event, grouped by any property, bucketed by minute, hour, day, week, or month.
  • Funnels — list saved funnels, or run conversion and drop-off across any custom step sequence and window.
  • Raw event export — pull row-level events bounded by date range and event name.

Read-only

The connector ships query and export tools only — it can't create or modify reports, funnels, or cohorts. Raw export is rate-limited (60 queries/hour/project), so keep its date range narrow and lean on segmentation for aggregate questions.

Try it

  • "How many users completed 'Subscription Started' last week, by plan?"
  • "Show me the signup → activation funnel conversion for the past 30 days."
  • "Compare DAU for iOS vs Android over the last 60 days."
  • "Which step in funnel 4321 has the biggest drop-off?"

Join it with other sources

Mixpanel is most useful next to your other data. With Stripe and Postgres also connected, ask:

"Match users who completed activation in Mixpanel against paying customers in Stripe, and pull their plan and signup date from Postgres."

Troubleshooting

SymptomLikely fix
401 Unauthorized on connectRe-check the Service Account username and secret for typos. If the secret was lost (it's shown only once), create a new Service Account and use the fresh credentials.
Connects but returns no dataConfirm the project ID and region match — a US project queried against the EU host (or vice versa) returns 401s or empty results.
A report comes back emptyLoosen filters and confirm there are events in the date range; dates are interpreted in the project's timezone.