# Mixpanel MCP for AI Agents AI Agent Connect

> Mixpanel (Event Analytics & Insights) MCP lets you query product analytics and user behavior directly through your AI client. It handles event trends, conversion funnels, and user cohorts so you don't have to dig through the Mixpanel dashboard manually.

## Overview
- **Category:** growth-engine
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_za0bZA1Wr6brk8w5R9DFN6qC1CkfFkNOj9uEkBN2/ai-agent-connect
- **Tags:** product-analytics, user-behavior, conversion-funnels, event-tracking, retention-metrics, cohort-analysis

## Description

Most product teams spend way too much time clicking through tabs and filters just to figure out why a specific feature is underperforming. You have to open a browser, wait for a dashboard to load, and then try to remember which date range or property filter you applied last time. This Connector changes that workflow by making your data conversational. Instead of manual digging, you just ask your agent what the conversion rate is for a specific cohort, and it gives you the number in seconds. It pulls the data, calculates the curves, and gives you the facts so you can make decisions based on what is actually happening in the app. By adding this to your Vinkius setup, you turn your chat window into a real-time analytics terminal. You can audit user profiles, check event volumes, and grab raw logs for deep-dive investigations without ever touching a spreadsheet or a complex UI. It is about moving from how do I find this to just tell me this. You get to spend less time on data plumbing and more time on actual strategy.

## Tools

### query_funnel
Get conversion data for a specific funnel. It shows you exactly where users are dropping out of a flow.

### list_funnels
Get a list of all saved funnel configurations. Use this to see what journeys you are currently tracking.

### query_insights
Query complex dashboard insights. This pulls high-level metrics from your existing Mixpanel dashboards.

### query_profiles
Search for specific user profiles using properties. It lets you find and audit specific user traits or plan types.

### query_retention
Calculate user retention curves for your project. This gives you a clear look at how long users stick around over time.

### query_segmentation
Break down an event by specific properties like device or region. This provides granular details on user behavior.

### query_top_events
Find the top 20 events by volume. It is the fastest way to see what is actually happening in your app.

### query_events
Query aggregate Mixpanel event counts over time. This lets you track engagement spikes or dips across specific dates.

### export_events
Export raw event data logs. Use this for deep-dive investigations or moving data into other tools.

### list_cohorts
See all your saved behavioral cohorts in one list. It helps you quickly identify which segments you already have defined.

## Prompt Examples

**Prompt:** 
```
What are our top 5 events for the last 48 hours?
```

**Response:** 
```
### Top 5 Events (Last 48 Hours)

| Event Name | Volume |
| :--- | :--- |
| **Session Start** | 45,000 |
| **Page View** | 38,000 |
| **Button Click** | 12,000 |
| **Search Query** | 8,000 |
| **Checkout Success** | 2,000 |

Would you like me to segment the **Checkout Success** events by region?
```

**Prompt:** 
```
Show me the retention for the 'New Signups' cohort from last month.
```

**Response:** 
```
### Retention Curve: New Signups (Feb 2026)

*   **Day 1:** 45%
*   **Day 7:** 18%
*   **Day 30:** 12%

This cohort showed a 5% higher retention than the January group. Should I check the retention for 'Pro' users specifically?
```

**Prompt:** 
```
Which region has the highest 'Purchase' volume?
```

**Response:** 
```
### Purchase Volume by Region

Based on the last 30 days, here is the breakdown:

*   **North America:** 12,450 purchases
*   **Europe:** 8,900 purchases
*   **Asia Pacific:** 5,200 purchases
*   **LATAM:** 1,100 purchases

Would you like to see a breakdown by device type for the North America region?
```

## Capabilities

### Query event counts over time
Get aggregate counts for any event to see how engagement fluctuates over specific dates.

### Calculate funnel drop-offs
Identify exactly where users are leaving your onboarding or checkout flows.

### Generate retention curves
See how long users stick around for different cohorts with automated calculations.

### Break down events by properties
Split any event data by region, device, or plan type for granular insights.

### Retrieve user profile metadata
Search for and audit specific user traits and company information instantly.

### List behavioral cohorts
Get the size and details of your saved user segments without opening a dashboard.

### Export raw event logs
Extract atomic logs for external reporting or deep-dive data investigations.

## Use Cases

### The Funnel Leak
A PM notices a drop in signups. They ask the agent to check the Onboarding funnel. The agent uses query_funnel to show a 40% drop-off at the Verify Email step.

### The Retention Check
A growth lead wants to see if a new feature helped retention. They ask for the retention curve for the Beta Users cohort using query_retention.

### The Behavior Audit
An analyst needs to know which regions have the highest Add to Cart volume. They ask the agent to use query_segmentation to break down events by region.

### The Profile Deep Dive
A support lead needs to see the traits of a high-value user. They ask the agent to use query_profiles to find a user with a Pro plan and Enterprise metadata.

## Benefits

- Stop manual dashboard building. Use query_events to get high-level trends instantly without clicking through the Mixpanel UI.
- Identify funnel leaks faster. Use query_funnel to see exactly where users are dropping out of your onboarding or checkout flows.
- Get instant cohort sizes. Use list_cohorts to see how many users are in your Power User or Churn Risk segments.
- Analyze retention on the fly. Use query_retention to compare different cohorts without setting up new reports.
- Audit user profiles quickly. Use query_profiles to check specific user traits and metadata during a support investigation.
- Simplify data exports. Use export_events to grab raw logs for your external reporting pipelines without manual CSV downloads.

## How It Works

The bottom line is you get a conversational interface for your entire Mixpanel data set.

1. Subscribe to the Connector and grab your Mixpanel Service Account credentials.
2. Input your Project ID and keys into your AI client's configuration.
3. Ask questions about your user behavior and get instant data summaries.

## Frequently Asked Questions

**Can I use the Mixpanel MCP to see my conversion funnels?**
Yes. You can ask your agent to pull conversion data for any of your saved funnels. It will show you exactly where users are dropping out of the journey.

**How does the Mixpanel MCP help with user retention?**
It allows you to calculate and view retention curves for specific cohorts instantly. You can compare different user groups to see which ones stay active longer.

**Can I query specific user profiles with this Connector?**
Yes, you can search for user profiles using specific traits like plan type or region. This is great for auditing user metadata during support investigations.

**Does the Mixpanel MCP support event segmentation?**
It does. You can ask your agent to break down any event by properties like device, region, or other custom attributes to get more granular data.

**Can I export raw data from Mixpanel using this?**
You can use the export tool to grab raw event logs. This is useful for deep-dive investigations or when you need to move data into other reporting pipelines.

**How do I connect my Mixpanel data to my AI agent?**
You just need your Mixpanel Service Account credentials and your Project ID. Once you add these to your Connector configuration, your agent can access the data.

**Can I see how many users are in my saved cohorts?**
Yes. You can ask the agent to list your cohorts, and it will provide the current size metrics for each behavioral segment you have saved.

**Can I query my conversion funnels through my agent?**
Yes. Use the `query_funnel` tool with a specific Funnel ID and date range. Your agent will retrieve the step-by-step conversion percentages and drop-off counts, allowing you to identify exactly where users are leaving your flow.

**How do I filter user profiles using specific properties through a conversation?**
The `query_profiles` tool allows your agent to execute JQL expressions. You can ask your agent to find users matching literal conditions like `properties['plan'] == 'pro'`, and it will retrieve the corresponding profiles and metadata securely.

**Can my agent check user retention for my application?**
Absolutely. Use the `query_retention` tool by providing a 'born' event (first action) and a recurring 'return' event. Your agent will compute the N-Day retention curve, showing you how sticky your product is for specific user cohorts.