# Mixpanel [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/pipeworx-io/mcp-mixpanel  
**GitHub Stars:** 0  
**npm Downloads (last month):** 927  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mixpanel

## Description
Mixpanel MCP — wraps Mixpanel Data Export API (mixpanel.com/api)

## Tools
Capabilities this server exposes over MCP:

- **get_events** — Query event data from Mixpanel for a date range. Returns event counts and properties. Example: get_events({ from_date: "2024-01-01", to_date: "2024-01-31", event: "Sign Up", _apiKey: "your_api_secret" })
- **get_funnels** — Get funnel conversion data from Mixpanel. Shows step-by-step conversion rates. Example: get_funnels({ funnel_id: "12345", from_date: "2024-01-01", to_date: "2024-01-31", _apiKey: "your_api_secret" })
- **get_retention** — Get user retention cohort data from Mixpanel. Shows how many users return over time. Example: get_retention({ from_date: "2024-01-01", to_date: "2024-01-31", _apiKey: "your_api_secret" })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## 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:

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

The local option starts the package with `npx`:

```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.

_Full upstream README: https://allmcps.com/mcp/mixpanel/readme_

