Skip to content

Integration · Company data

Connect Claude & ChatGPT to Mixpanel

Ask your AI how many people signed up last week, how a funnel converts, or how many users came back after their first visit. It reads your Mixpanel project: event counts and breakdowns, saved funnels and Insights reports, retention, frequency, cohorts, user profiles and activity feeds.

Connect Mixpanel free

Free plan, no credit card. Takes about a minute.

Try asking

  • “How many unique users signed up each day last week?”

    The AI counts the Sign Up event per day as unique users for the date range.

  • “How did our onboarding funnel convert in September?”

    It finds the saved funnel and returns its conversion data for the month.

  • “Break down Purchase events by country for the last 30 days.”

    It counts the event over time, split by the values of the country property.

What your AI can do

Events and properties

Count events, split them by property, sum or average numeric properties, and see top events, properties and values.

Funnels, retention and reports

Read saved funnels, retention, frequency and saved Insights reports for any date range.

Users and cohorts

List cohorts, query user profiles and read the event activity of specific users.

  • “What was the total revenue from Purchase events in August?”

    It sums the revenue property on the Purchase event per day for the period.

  • “How many users came back a week after signing up?”

    It runs a retention query with Sign Up as the first event.

  • “Run our Weekly Active Users report.”

    It runs the saved Insights report by its ID, which you find in the report's Mixpanel URL.

18 tools for Mixpanel

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • get_event_countsGet total, unique or average counts for one or more events over time. Required: event (JSON array of names), type, unit, from_date, to_date.
  • get_event_property_averageAverage a numeric expression for an event per day or hour. Required: event, on (expression), from_date, to_date.
  • get_event_property_breakdownCount an event over time broken down by values of one property. Required: event, name (property), type, unit, from_date, to_date. Optional: values.
  • get_event_property_bucketsSplit an event into numeric ranges of a property. Required: event, on (numeric expression), from_date, to_date.
  • get_event_property_sumSum a numeric expression (e.g. a revenue property) for an event per day or hour. Required: event, on (expression), from_date, to_date.
  • get_event_segmentationCount an event over time, optionally split by a property. Required: event, from_date, to_date. Optional: on, where, type (general, unique, average), unit.
  • get_frequencyGet frequency (addiction) data: how often users do an event within each period. Required: from_date, to_date, unit, addiction_unit. Optional: event, where.
  • get_funnelGet conversion data for a saved funnel over a date range. Required: funnel_id, from_date, to_date (YYYY-MM-DD). Optional: unit, on (segment by property), where.
  • get_retentionGet cohort retention: how many users come back after a first event. Required: from_date, to_date. Optional: born_event, event, unit, retention_type, on, where.
  • get_saved_reportRun a saved Insights report and return its results. Required: bookmark_id (the report ID from its Mixpanel URL).
  • get_user_activityGet the event activity feed for specific users. Required: distinct_ids (JSON array), from_date, to_date.
  • list_cohortsChanges dataList saved cohorts with their IDs, names and sizes.
  • list_event_propertiesList the most common properties for an event. Required: event.
  • list_property_valuesList the most common values of an event property. Required: event and name (the property).
  • list_saved_funnelsList saved funnels with their IDs and names.
  • list_todays_top_eventsList today's top events with counts and change from yesterday. Required: type.
  • list_top_event_namesList the most common event names in the last 31 days. Required: type (general, unique or average).
  • query_user_profilesChanges dataQuery user profiles. Optional: where (filter expression), distinct_id or distinct_ids, filter_by_cohort, output_properties, page.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose Mixpanel from the app list.

  2. 2

    Paste your key

    Paste a service account username and secret plus your project ID. In Mixpanel go to Organization settings → Service accounts, click Add service account and give it access to your project. Copy the username and secret right away, because the secret is shown only once.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    Click your name, then Settings › Connectors › Add custom connector. Paste your link as the Remote MCP server URL. Switch it on from the + menu in a chat.

Questions

What can the AI do in Mixpanel?

The AI can read event counts, segmentation and property breakdowns, sums and averages of numeric properties, saved funnels, retention, frequency, saved Insights reports, top events and properties, cohorts, user profiles and user activity feeds.

Does the AI see my Mixpanel credentials?

No. Your Mixpanel service account secret is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on. User profiles and activity feeds can hold personal data, so you can leave query_user_profiles and get_user_activity off and keep the AI to aggregate numbers. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Mixpanel account.

Can the AI change my Mixpanel data?

No. Every Mixpanel tool on PipMCP reads data: events, funnels, retention, reports, cohorts and profiles. None of them sends events, edits profiles or changes reports. The service account also only reaches the projects you gave it access to.

Related integrations

Let your AI work in Mixpanel today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect Mixpanel free

PipMCP is not affiliated with Mixpanel. Product names are trademarks of their owners.