Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions pages/docs/features/mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Code, Callout } from 'nextra/components'
---
## Overview

The Mixpanel Model Context Protocol (MCP) integration enables organizations to analyze product data using conversational AI. Teams can query events, funnels, and user behavior through AI interfaces (Claude, Cursor, etc.) using natural language, eliminating the need for complex dashboard navigation or technical query languages.
The Mixpanel Model Context Protocol (MCP) integration enables organizations to analyze product and replay data using conversational AI. Teams can query events, session replays, funnels, and user behavior through AI interfaces (Claude, Cursor, etc.) using natural language, eliminating the need for complex dashboard navigation or technical query languages.

<Callout type="info">
**Beta Feature:** Help us improve this integration by sharing your feedback [here](https://docs.google.com/forms/d/e/1FAIpQLSchV5qoyiI9tmtxOkDF_4So5KKR1iiZzuqcPbwMOphQC_lEVA/viewform?usp=header).
Expand All @@ -36,6 +36,10 @@ The MCP integration provides access to all core Mixpanel analysis capabilities t
- Data Quality: Monitor and detect volume anomalies in data ingestion (`get_data_volume_anomalies`)
- Lexicon Integration: Get direct links to event definitions and documentation in Mixpanel Lexicon (`get_lexicon_detail_url`)

### Qualitative Analysis

- Session Replays: Analyze a specific user's replays in combination with event data (`get_user_replays_data`)

### Query Capabilities

- Natural Language Filtering: Use complex boolean expressions for data filtering
Expand Down Expand Up @@ -94,7 +98,7 @@ brew install node
2. Go to **Settings** → **Connectors** → **Add Custom Connector**
3. Configure the integration:
- **Integration Name:** Mixpanel (or preferred name)
- **Integration URL:** `https://mcp.mixpanel.com/sse`
- **Integration URL:** `https://mcp.mixpanel.com/mcp`
4. Click **Connect** and complete Mixpanel authorization

For additional information on setting up Claude connectors, see [Claude's connector documentation](https://support.anthropic.com/en/articles/11724452-browsing-and-connecting-to-tools-from-the-directory).
Expand All @@ -119,7 +123,7 @@ For additional information on setting up Claude connectors, see [Claude's connec
"args": [
"-y",
"mcp-remote",
"https://mcp.mixpanel.com/sse",
"https://mcp.mixpanel.com/mcp",
"--allow-http"
]
}
Expand Down Expand Up @@ -154,7 +158,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --static-oauth-client-metadata '{
"args": [
"-y",
"mcp-remote",
"https://mcp.mixpanel.com/sse",
"https://mcp.mixpanel.com/mcp",
"--allow-http"
]
}
Expand Down Expand Up @@ -206,7 +210,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --static-oauth-client-metadata '{
"args": [
"-y",
"mcp-remote",
"https://mcp.mixpanel.com/sse",
"https://mcp.mixpanel.com/mcp",
"--allow-http"
]
}
Expand Down Expand Up @@ -242,7 +246,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --static-oauth-client-metadata '{
- Provide these values:
- Name: Mixpanel MCP
- Description: The MCP integration provides access to all core Mixpanel analysis capabilities through natural language queries.
- MCP Server URL: https://mcp.mixpanel.com/sse
- MCP Server URL: https://mcp.mixpanel.com/mcp
- Authentication type: OAuth
- Click Create and then connect to Mixpanel and follow the OAuth flow to authorize Mixpanel access.

Expand Down Expand Up @@ -278,6 +282,18 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --static-oauth-client-metadata '{
- Query: "Compare user behavior across different feature roll outs"
- Business Value: Measure feature impact and optimize product decisions

**User Feedback Analysis**
- Query: "Why did this user submit negative feedback? Analyze their session replays."
- Business Value: Understand user context and behavior patterns by analyzing replay footage in combination with your event data.

**Usage Analysis**
- Query: "What features does this user use most? Analyze their session replays"
- Business Value: Better understand specific customers usage patterns without needing to build reports or watch dozens of replays

**Troubleshooting User Issues**
- Query: "This user reported an issue; what happened in their replays?"
- Business Value: Accelerate support investigations by getting instant answers that combine events and replay context

### Key Benefits

**Democratized Analytics**
Expand All @@ -289,6 +305,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --static-oauth-client-metadata '{
- Reduce time-to-insight from minutes to seconds
- Eliminate context switching between tools
- Enable real-time decision making
- Save hours daily by analyzing replays and events together without manually piecing together

**Strategic Value**
- Accelerate product discovery processes
Expand Down Expand Up @@ -327,7 +344,7 @@ npx -y mcp-remote https://mcp.mixpanel.com/sse --static-oauth-client-metadata '{
- **Protocol:** Model Context Protocol (MCP)
- **Connection:** Server-sent events (SSE)
- **Authentication:** OAuth with Mixpanel
- **Endpoint:** `https://mcp.mixpanel.com/sse`
- **Endpoint:** `https://mcp.mixpanel.com/mcp`

---

Expand Down