Mixpanel MCP
Mixpanel MCP enables natural language queries for product data analysis and session replay insights, simplifying complex analytics and boosting team productivity.
How to Install and Use Mixpanel MCP
Mixpanel MCP is a tool that lets you analyze your Mixpanel data using natural language. This means you can ask questions in plain English and get insights without needing to write complex queries. Here’s a simple guide to help you install and start using Mixpanel MCP, with easy steps and example commands.
Step 1: Get Ready with Permissions and Access
Before you begin, make sure your organization’s admin has turned on Mixpanel MCP. This is important because MCP needs special access to work.
- The admin needs to go to Settings > Org > Overview in Mixpanel.
- They should turn on the Enable MCP toggle.
- After this is done, all users in the organization can use MCP.
- Users will only see data from projects they already have permission to access.
Once this is set, you’re ready for the next step.
Step 2: Choose Your Setup Option
Mixpanel MCP works with various AI tools like Claude, Cursor, and Google Gemini CLI. Pick one tool that fits you best. Here are the common setup methods:
Option 1: Claude Pro
If you have Claude Pro, follow these steps:
- Open claude.ai or the Claude desktop app.
- Go to Settings > Connectors > Add Custom Connector.
- Enter the integration details:
- Name:
Mixpanel - URL (use the link for your region, for example US:
https://mcp.mixpanel.com)
- Name:
- Click Connect and follow the authorization steps to link your Mixpanel account.
Option 2: Claude Free
For Claude Free users who want a simple command line setup:
-
Open the Claude desktop app.
-
Navigate to Settings > Developer > Edit Config.
-
Add this configuration (example for US region):
{ "mixpanel_url": "https://mcp.mixpanel.com" } -
Run the command in the terminal to authorize:
mcp authorize --region us -
Follow the link you get to authorize Mixpanel access.
Option 3: Cursor
If you use Cursor:
-
Open the Cursor app.
-
Go to Settings > MCP & Integrations > MCP Tools > New MCP Server.
-
Paste the MCP configuration JSON:
{ "server_url": "https://mcp.mixpanel.com" } -
In terminal, run:
mcp authorize --region us -
Complete authorization via the browser link.
Option 4: Google Gemini CLI
For those using Google Gemini CLI:
-
Install Gemini CLI:
npm install -g @google/gemini/cli -
Authenticate with Google:
gemini auth login -
Configure Mixpanel MCP as remote server:
gemini server add mixpanel https://mcp.mixpanel.com gemini server authorize mixpanel -
Follow the browser authorization link to connect Mixpanel.
Step 3: Start Asking Questions
Now that Mixpanel MCP is set up and connected, you can begin asking questions about your data with simple natural language commands. For example:
- “What Mixpanel projects do I have access to?”
- “Which channels drive the most users?”
- “Show me signup conversion rates by source.”
- “Analyze session replays for user feedback.”
These questions use the power of Mixpanel MCP to give instant insights without dashboard navigation or technical queries.
Step 4: Tips for Success
- Start with a test or demo project to make sure everything works well.
- Always follow your organization’s security rules when sharing data.
- Train your team on how to ask natural language questions for better results.
- Use the Mixpanel Lexicon to understand the events and properties in your data.
By following these easy steps, you can install and use Mixpanel MCP to unlock powerful product analytics with simple conversation.