Mixpanel MCP server
Query Mixpanel events, funnels, retention, cohorts, and user profiles.
0 stars
Reviews
Write oneNobody has reviewed Mixpanel yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Mixpanel tools (7, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_funnelGet funnel conversion data. Requires a funnel ID from your Mixpanel project.
get_retentionGet cohort retention data. See how many users come back over time.
get_top_eventsGet the most frequently tracked events in a time window.
list_eventsList all tracked event names in your Mixpanel project.
query_eventsQuery raw event data from Mixpanel. Segment events by time range and properties.
query_profilesSearch and query user profiles in Mixpanel.
run_jqlwrite actionExecute a raw JavaScript Query Language (JQL) script against Mixpanel. For advanced custom queries.
Public scan report
scanner v0.1.10 · 2026-11-01 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 85 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Mixpanel compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 7
- the typical server has 7
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
What its tools let an agent do: 6 read · 1 run or deploy
Release history: 2 versions in the registry since 2026-08-08, latest 2026-09-21, typically one every 44 days.
Install Mixpanel in Claude Code, Cursor or VS Code
Runs npx -y @mrfentmen/mixpanel-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mixpanel-mcp -- npx -y @mrfentmen/mixpanel-mcp
What the publisher says
From the Mixpanel repository's README, as published. We do not edit it. Read it on GitHub
Mixpanel MCP
An MCP server for Mixpanel product analytics. Query events, funnels, retention, cohorts, and user profiles through natural language.
What it does
Connect your Mixpanel analytics to any MCP client. Ask questions like "What are our top events this week?" or "Show me retention for users who signed up last month" and get structured answers.
Tools
- query_events. Raw event data with time ranges and filters.
- gettopevents. Most frequently tracked events.
- get_funnel. Multi-step funnel conversion rates.
- get_retention. Cohort retention over days, weeks, or months.
- query_profiles. Search and filter user profiles.
- run_jql. Execute raw JavaScript Query Language for custom analysis.
- list_events. All tracked event names in your project.
Authentication
Set these environment variables:
export MIXPANEL_SERVICE_ACCOUNT="your-service-account"
export MIXPANEL_SERVICE_SECRET="your-service-secret"
export MIXPANEL_PROJECT_ID="your-project-id"Service accounts are created in Mixpanel under Project Settings > Service Accounts.
Install
npx mixpanel-mcpClaude Desktop setup
{
"mcpServers": {
"mixpanel": {
"command": "npx",
"args": ["-y", "mixpanel-mcp"],
"env": {
"MIXPANEL_SERVICE_ACCOUNT": "your-account",
"MIXPANEL_SERVICE_SECRET": "your-secret",
"MIXPANEL_PROJECT_ID": "your-project-id"
}
}
}
}Example usage
Ask Claude:
"What are our top 10 events this week?"
"Show me the conversion funnel for funnel ID 12345"
"Get retention for users who signed Up in the last 30 days"
"Run a JQL query to find users who purchased more than 3 times"
"List all events we are tracking"
"Search for user profiles with email containing @gmail.com"
JQL support
JQL (JavaScript Query Language) lets you write custom analysis scripts. Example:
function main() {
return People().filter(function (user) {
return user.properties.plan === "premium"
})
}License
MIT
Nothing above is checked by us. What we check is on the safety report.
Mixpanel: common questions
- Is Mixpanel MCP server safe?
- Mostly: it is graded B (75/100). Read the Mixpanel safety report
- How do I install Mixpanel?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Mixpanel need an API key?
- Yes. The registry entry asks for
MIXPANEL_TOKEN,MIXPANEL_API_SECRET. - Is Mixpanel maintained?
- The last commit was 88 days ago (2026-08-08). The latest release is v1.0.3.
- How does Mixpanel compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.