Mixpanel logo

Mixpanel

Query Mixpanel events, funnels, and retention cohorts through MCP using hosted, HTTP, or local stdio access.

Install Mixpanel

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mixpanel": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-mixpanel"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio mixpanel -- npx -y @pipeworx/mcp-mixpanel

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Mixpanel MCP server exposes Mixpanel Data Export API queries through tools for event data, funnel conversion, and retention cohorts. Connect through the hosted Pipeworx MCP endpoint or run the npm stdio bridge, which forwards requests to the same gateway. Use it when an agent needs date-scoped product analytics or cohort results from Mixpanel. Mixpanel credentials are supplied to the relevant tool as an API key.

Use cases

  • Analyze event counts and properties over a selected date range
  • Inspect step-by-step funnel conversion rates
  • Review retention cohorts and returning-user behavior
  • Ask an agent to route a natural-language Mixpanel analytics question

Key features

  • Mixpanel event queries with counts and properties
  • Funnel conversion analysis by step
  • Retention cohort queries
  • Hosted MCP and local stdio connection options
  • Natural-language routing through Pipeworx meta-tools

Tools3

What Mixpanel lets your agent do. Expand a tool for its parameters.

Verified live~558 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 68d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age40 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @pipeworx/mcp-mixpanel (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads927Package downloads in the last 30 days.
Last commit18d agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.

How Mixpanel works

What Mixpanel MCP server does

Mixpanel MCP server gives MCP-compatible clients access to selected Mixpanel Data Export API operations. Its dedicated tools cover three common analytics tasks: retrieving event counts and properties for a date range, examining funnel conversion by step, and reading retention cohort data that shows how many users return over time.

The integration is unofficial and independent of Mixpanel. It is provided through Pipeworx, whose gateway connects AI agents to external data sources. The server is suited to read-oriented analytics questions rather than event tracking, project administration, or data mutation.

How it works

A hosted MCP connection is available at https://gateway.pipeworx.io/mixpanel/mcp. A client can also connect to the full Pipeworx gateway at https://gateway.pipeworx.io/mcp; the pack endpoint lists the Mixpanel tools directly, while the full gateway lists tools from all available packs.

Pack endpoints also expose shared Pipeworx meta-tools, including ask_pipeworx, discover_tools, search_within, and memory-related tools. The exact tool scope is reported by the connection's initialize response. Through ask_pipeworx, an agent can describe a Mixpanel question in plain language and let the gateway select and populate a tool call.

For clients that use local processes, @pipeworx/mcp-mixpanel runs as a stdio bridge. It forwards requests over the network to the hosted Mixpanel endpoint, so it requires network access and does not provide offline operation.

Setup and configuration

Hosted clients can use this MCP configuration:

config.json
{
  "mcpServers": {
    "mixpanel": {
      "url": "https://gateway.pipeworx.io/mixpanel/mcp"
    }
  }
}

The local option starts the package with npx:

config.json
{
  "mcpServers": {
    "mixpanel": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-mixpanel"]
    }
  }
}

Tool calls accept the Mixpanel API secret through the _apiKey argument. The local bridge can use an optional PIPEWORX_API_KEY environment variable for Pipeworx authentication. Anonymous use is limited to 50 calls per day; a free Pipeworx account raises the limit to 200 calls per day. Set PIPEWORX_META_TOOLS=1 when the local bridge should also list the gateway-wide meta-tools.

The package sends the Pipeworx key as a Bearer token. Requests therefore require network connectivity to the gateway. When operating behind an HTTPS proxy, newer Node.js versions can honor proxy environment settings when NODE_USE_ENV_PROXY=1 is enabled.

Tools and capabilities

  • get_events or mixpanel_get_events: query event data between from_date and to_date, optionally filtering by an event such as Sign Up; results include event counts and properties.
  • get_funnels: retrieve funnel conversion data for a specified funnel_id and date range, including step-by-step conversion rates.
  • get_retention: retrieve retention cohort data for a date range, showing return behavior over time.
  • ask_pipeworx: submit a natural-language question for gateway routing when using a pack or full gateway connection.

The gateway also provides discovery, search, and memory-related shared tools on hosted pack connections. The local bridge lists only the Mixpanel pack by default unless meta-tools are enabled.

Limitations and notes

This integration reads from Mixpanel's Data Export API and does not represent a general Mixpanel administration interface. The integration is unofficial and is not affiliated with, endorsed by, or published by Mixpanel.

The hosted pack endpoint includes shared gateway tools in addition to the Mixpanel tools, which increases the number of schemas shown by tools/list. The local npm bridge avoids those extra tools by default. Pipeworx usage is metered, and the gateway requires a Pipeworx key for higher daily limits. The project is licensed under MIT.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mixpanel

Mixpanel is an MCP server that connects AI agents to Mixpanel’s Data Export API through Pipeworx. Its main tools query event counts and properties, funnel conversion data, and retention cohorts for specified date ranges. It supports hosted MCP connections and a local npm-based stdio bridge that forwards calls to the gateway.

Install it by adding the hosted MCP URL to your client, or run the local bridge with `npx -y @pipeworx/mcp-mixpanel`. The hosted endpoint is `https://gateway.pipeworx.io/mixpanel/mcp`; the local bridge needs network access because it forwards calls to that gateway.

Yes, Mixpanel works with Cursor through the hosted MCP configuration. Add `https://gateway.pipeworx.io/mixpanel/mcp` as the server URL in Cursor, then provide the Mixpanel API secret through the `_apiKey` argument when calling a Mixpanel tool.

Mixpanel tool calls use your Mixpanel API secret in the `_apiKey` argument. The local bridge can separately use `PIPEWORX_API_KEY` for Pipeworx authentication; anonymous Pipeworx use is capped at 50 calls per day, while a free account raises the limit to 200.

Call `get_retention` with `from_date` and `to_date`, plus the Mixpanel API secret in `_apiKey`. The tool returns retention cohort data describing how many users return over time.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMixpanel AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mixpanel?style=directory)](https://allmcps.com/mcp/mixpanel)
HTML Embed
<a href="https://allmcps.com/mcp/mixpanel"><img src="https://allmcps.com/api/badge/mixpanel?style=directory" alt="Mixpanel on AllMCPs" /></a>