Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MIXPANEL_REGION | No | Mixpanel region, either 'US' (default) or 'EU' | US |
| MIXPANEL_API_SECRET | No | Project API secret (legacy authentication method) | |
| MIXPANEL_PROJECT_ID | Yes | Your Mixpanel project ID | |
| MIXPANEL_SERVICE_ACCOUNT_PASSWORD | No | Service account password for authentication | |
| MIXPANEL_SERVICE_ACCOUNT_USERNAME | No | Service account username for authentication |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |