Skip to main content
Glama
T-Campbell18

Mixpanel MCP Server

by T-Campbell18

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MIXPANEL_REGIONNoMixpanel region, either 'US' (default) or 'EU'US
MIXPANEL_API_SECRETNoProject API secret (legacy authentication method)
MIXPANEL_PROJECT_IDYesYour Mixpanel project ID
MIXPANEL_SERVICE_ACCOUNT_PASSWORDNoService account password for authentication
MIXPANEL_SERVICE_ACCOUNT_USERNAMENoService account username for authentication

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_events

Query event data with segmentation. Returns time-series event counts, optionally segmented by a property.

top_events

Get the most common events over the last day. Returns event names ranked by volume.

event_properties

Get the top properties for a specific event. Returns property names ranked by prevalence.

query_funnels

Query a saved funnel by ID. Returns conversion rates and drop-off at each step.

list_funnels

List all saved funnels in the project. Returns funnel IDs and names.

query_retention

Query retention data. Shows how many users come back after an initial event.

frequency_report

Get a frequency report (addiction report). Shows how often users perform an event within a time window.

query_profiles

Query user profiles using the Engage API. Filter and retrieve user profile data.

user_activity

Get a user's activity stream. Returns recent events for a specific user.

query_insights

Run an Insights report. Flexible analytics query supporting multiple event types.

run_jql

Run a JQL (JavaScript Query Language) script against Mixpanel data. Allows complex custom queries.

segmentation_sum

Get the sum of a numeric event property over time. Useful for tracking totals like revenue.

segmentation_average

Get the average of a numeric event property over time. Useful for tracking averages like order value.

list_cohorts

List all cohorts in the project. Returns cohort IDs, names, and metadata.

export_events

Export raw event data as NDJSON. Returns individual events with all properties. Capped at 5000 events.

list_annotations

List all annotations in the project. Annotations are notes attached to specific dates.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/T-Campbell18/mcp-mixpanel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server