Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get experiment results interpretation guidance
MIXPANEL_MCP_GET_EXPERIMENT_RESULTS_INTERPRETATION_GUIDANCEReturns best-practice guidance for interpreting Mixpanel experiment results and making ship/iterate/kill decisions. Call this when the user is analyzing, interpreting, or making a decision based on experiment results — including reviewing a concluded experiment, asking about p-values, lift, SRM, or whether to ship. The response is the canonical results interpretation document; follow it when reasoning about results. No input parameters. Equivalent to reading the `guidance://experiments/results-interpretation` MCP resource — provided as a tool for clients that don't read resources directly.
Get experiment setup guidance
MIXPANEL_MCP_GET_EXPERIMENT_SETUP_GUIDANCEReturns best-practice guidance for designing a Mixpanel experiment before launch. Call this when the user is creating, configuring, or troubleshooting an experiment setup — including writing a hypothesis, picking metrics, sizing the experiment, or choosing a testing model. The response is the canonical setup guidance document; follow it when proposing or validating experiment configuration. No input parameters. Equivalent to reading the `guidance://experiments/setup` MCP resource — provided as a tool for clients that don't read resources directly.
Get feature flag
MIXPANEL_MCP_GET_FEATURE_FLAGRequired tools: Get-Business-Context (call it once per conversation, before this tool). Get full configuration for a specific feature flag. Returns metadata, variants, rollout rules, experiment link, and UI URL. For listing flags, use List-Feature-Flags.
Get feature flag lifecycle guidance
MIXPANEL_MCP_GET_FEATURE_FLAG_LIFECYCLE_GUIDANCEReturns best-practice guidance for managing a Mixpanel feature flag after creation — staged rollout, kill-switch, hygiene/cleanup, archival, exposure tracking, and experiment linkage. Call this when the user is rolling out, monitoring, killing, archiving, or cleaning up an existing feature flag, or asking about exposure tracking or flag-to-experiment links. The response is the canonical lifecycle guidance document; follow it when reasoning about post-creation flag operations. No input parameters. Equivalent to reading the `guidance://feature-flags/lifecycle` MCP resource — provided as a tool for clients that don't read resources directly.
Get feature flag setup guidance
MIXPANEL_MCP_GET_FEATURE_FLAG_SETUP_GUIDANCEReturns best-practice guidance for creating and configuring a Mixpanel feature flag. Call this when the user is creating, configuring, or troubleshooting a feature-flag setup — including choosing the flag type (Feature Gate vs Dynamic Config vs Experiment-backed), naming the flag, defining variants, or deciding on initial rollout. The response is the canonical setup guidance document; follow it when proposing or validating feature-flag configuration. No input parameters. Equivalent to reading the `guidance://feature-flags/setup` MCP resource — provided as a tool for clients that don't read resources directly.
Get issues
MIXPANEL_MCP_GET_ISSUESRequired tools: Get-Business-Context (call it once per conversation, before this tool). Get all data quality issues for a Mixpanel project. Returns rich context with human-readable descriptions, event/property names, timestamps, and variance details. Filter by event name, property name, issue type, status, date range, or search by description.
Get lexicon url
MIXPANEL_MCP_GET_LEXICON_URLRequired tools: Get-Business-Context (call it once per conversation, before this tool). Return a Mixpanel Lexicon transformations detail URL for an event or property. Provide either event or property along with project_id. Custom events are detected automatically and linked to the Lexicon custom-events route. If workspace_id is omitted, the tool will choose the 'All project data' workspace. Use this when the user wants to change event/property metadata such as display name and description.
Get live events
MIXPANEL_MCP_GET_LIVE_EVENTSRequired tools: Get-Business-Context (call it once per conversation, before this tool). Recent events streaming into a project, newest first, with event name, time, and distinct ID. Use it to confirm newly instrumented events are arriving, or to debug what just happened for one user. Present the complete returned numbered Markdown table exactly as returned, with columns # | Event | Time | Distinct ID. Render it as a table, without a code fence. Include every row, preserving duplicates, row numbers, and newest-first order. Time is formatted as YYYY-MM-DD HH:MM:SS in the project's timezone, with daylight-saving time applied for each event. Do not group events, calculate counts, add a Count column, collapse events into "Other", truncate the listing, or replace it with a summary. Do not add commentary, comparisons with previous results, or inferred properties. Missing distinct IDs must remain marked as missing. This tool only returns these three fields; changing filters or the limit does not expose additional properties. For event definitions, tags, or verified status use Get-Events; for counts, trends, conversion, or paths use Run-Query. An event can exist in Get-Events without arriving, and can arrive before Get-Events knows it. An empty result means nothing has arrived yet, not a failure. Params: project_id (int), workspace_id (int), event_names (list of exact names to filter to), search (free text across properties, e.g. a distinct id or email), limit (default 15, max 100), paging_window (days back, default and max 30), from_date / to_date ("YYYY-MM-DD", default today in the project's timezone).
Get lookup table
MIXPANEL_MCP_GET_LOOKUP_TABLERequired tools: Get-Business-Context (call it once per conversation, before this tool). Read a lookup table by id or name, or list all lookup tables. Provide `data_group_id` or `name` to get one table's schema (columns), row count, and a capped preview of its rows. Omit both to list every lookup table in the project (metadata only) — useful for discovering table names/ids. The `id` returned for each table is the `data_group_id` you pass back to this tool or to Update-Lookup-Table. A single table's `mapped_properties` lists the properties it is mapped to (the list mode only says whether any exist). Each of its `columns` is a lookup table property: to query one, use the pair [mapped_property, column] as Run-Query's `propertyName`. List-Properties lists these pairs too. The preview is capped by `preview_limit` (default 100) and may be smaller than `row_count` — it is a sample, not the full table. Use it to inspect the schema and existing values; to change rows, send only the rows you want to add/overwrite (`upsert_rows`) or remove (`delete_keys`) to Update-Lookup-Table, which applies the delta to the full table for you.
Get metric
MIXPANEL_MCP_GET_METRICRequired tools: Get-Business-Context (call it once per conversation, before this tool). Get full definition for a saved metric. Returns complete metric structure (events, formulas, filters, aggregation). An entry with `anyOf` counts any of those events. Formula metrics return `formula` (e.g. "A / B"), where A, B, ... are the entries in order; an entry with only `metricId` is a saved metric (call Get-Metric for it). A funnel metric's entry has `funnel`: its `steps` in order, or `savedFunnelId` when it runs a saved funnel; with neither, its steps could not be read. Use to inspect, copy, or verify metric configuration.
Get projects
MIXPANEL_MCP_GET_PROJECTSIf you have not yet called Get-Business-Context this conversation, call it FIRST — it may resolve project nicknames, acronyms, or org-specific terms in the user's request and tell you which project to pick without listing them. Get projects that are accessible to current user. Returns the project's id, name, workspaces and context. Use this and prompt the user to select a project from the available projects.
Get project token
MIXPANEL_MCP_GET_PROJECT_TOKENRequired tools: Get-Business-Context (call it once per conversation, before this tool). A project's Mixpanel tracking token — the value an SDK is initialized with to send events to api.mixpanel.com/track. Use it when instrumenting tracking. This is NOT the API Secret or a service account, which are what reading data OUT of Mixpanel needs. Do not call this for those. Reading the token needs project owner or admin access, so a permission error means the user should ask an org admin rather than retrying. Treat the value as a credential: give it to the user, and keep it out of files, logs, and commits. Params: project_id (int).
Get property values
MIXPANEL_MCP_GET_PROPERTY_VALUESRequired tools: Get-Business-Context (call it once per conversation, before this tool). Get values for one or more properties, returned as a table. properties: one or more property names. With a single property the result is a one-column table of its distinct values. With multiple Event properties the result has one column per property so you can see which values co-occur on the same events. Prefer this over the deprecated single-string 'property' alias. property: DEPRECATED alias for a single-element 'properties'. Use 'properties' instead. Passing both 'property' and 'properties' with conflicting values is an error. result_mode (Event properties only): - 'grouped' (default): deduped combinations of the property values with a 'count' column, sorted by count descending. - 'expanded': one row per event occurrence, with a 'time' column, sorted by time. Use this to inspect raw, high-cardinality values (e.g. free-text) alongside their co-occurring properties. limit: maximum rows to return (default 100, max 1000). When results are truncated a trailing note row makes the cap explicit. from_date / to_date (YYYY-MM-DD): query window for the returned values. For the multi-property and expanded paths this defaults to the trailing ~30 days; for the single-property distinct-values path, omitting it falls back to the server's default trailing window. For Event properties, the 'event' parameter is required. User properties support only a single property in grouped mode.
Get query schema
MIXPANEL_MCP_GET_QUERY_SCHEMAGet the full instructions and JSON schema for building a full Mixpanel query. Call this to learn all available fields and options for the 'report' parameter in Run-Query. Run-Query accepts only Mixpanel report JSON, not SQL. report_type: 'insights', 'funnels', 'flows', or 'retention'.
Get report
MIXPANEL_MCP_GET_REPORTRequired tools: Get-Business-Context (call it once per conversation, before this tool). Retrieve a saved report's metadata from a Mixpanel project. Optionally include the report results if it's a queryable report type. Returns report metadata (id, name, type, creator info, timestamps) but NOT the query definition. To build a similar query, call Get-Query-Schema for the report type, then Run-Query.
Get tracking plan
MIXPANEL_MCP_GET_TRACKING_PLANRequired tools: Get-Business-Context (call it once per conversation, before this tool). Read one tracking plan with its member events and each event's status. Use it to check implementation progress: an event with status 'planned' has not been received yet, 'live' means Mixpanel is receiving it. A member carrying no id or status has no event definition in the project at all. Call this before removing events from a plan, since removal matches on the exact member name. Params: - project_id (int, required): Mixpanel project the plan belongs to. - plan_id (str, required): The plan to read. Call List-Tracking-Plans to find it by name when the id is not already in hand. - include_properties (bool, optional): Also return the properties declared on each event, which costs more to resolve. An empty list means nothing was declared, not necessarily that the event has no properties. Omit when only membership and status matter; the events then carry no properties field at all.
Get user replays data
MIXPANEL_MCP_GET_USER_REPLAYS_DATARequired tools: Get-Business-Context (call it once per conversation, before this tool). Get session replays information. Provide either a distinct_id (with from_date and to_date) to find all replays for a user, OR a list of specific replay_ids (up to 20) to analyze directly. Optionally include event_properties (up to 5) to fetch specific property values for each event. Each replay includes a replay_url when available. When linking to a replay, always use replay_url verbatim — NEVER construct, guess, or modify replay URLs yourself. If replay_url is absent, state that no direct link is available instead of fabricating one.
List annotations
MIXPANEL_MCP_LIST_ANNOTATIONSRequired tools: Get-Business-Context (call it once per conversation, before this tool). List annotations in a project, newest first. Annotations are dated notes on Mixpanel charts that mark events such as deploys, campaigns or incidents. Check them when explaining a spike or dip in a chart, and before Create-Annotation to avoid duplicates. Parameters: - project_id (int): the project. - from_date, to_date (str, optional): inclusive day bounds; see date formats below. - tags (list[str], optional): tag names; returns annotations having any of them. - workspace_id (int, optional): limit to one workspace's annotations. Dates accept 'YYYY-MM-DD', 'YYYY-MM-DD HH:MM:SS' or ISO 8601 ('YYYY-MM-DDTHH:MM:SS', optionally with 'Z' or a UTC offset, which is converted to the project's timezone). Values without an offset are project-local time. Returned dates are ISO 8601 (YYYY-MM-DDTHH:MM:SS) in the project's timezone.
List automations
MIXPANEL_MCP_LIST_AUTOMATIONSRequired tools: Get-Business-Context (call it once per conversation, before this tool). List the current user's Automations in a project. An Automation (also called an agent flow or KPI Monitor, type metric_monitor) analyzes one metric with an AI agent, on a schedule or when the metric meets a threshold condition, and delivers a digest of its findings by email or Slack. Automations are personal: each user sees and edits only their own. Each Automation has its id, name, status (draft, active, paused or archived; only active ones run), frequency, last_run, last_triggered and graph_nodes: one entry per step (trigger, metric_analysis, notification). Call Get-Automation for one Automation, or Get-Automation-Run-History to see how its runs went. Params: - project_id (int, required): Mixpanel project.
List cohorts
MIXPANEL_MCP_LIST_COHORTSRequired tools: Get-Business-Context (call it once per conversation, before this tool). List all cohorts in a Mixpanel project. Returns a lightweight list of cohort headers (id, name, description, count, verified). Use the optional `query` parameter to filter by name (case-insensitive substring match). Results are ordered verified-first. Prefer verified cohorts (verified=True) when choosing a cohort that matches the user's request; fall back to unverified cohorts only when no verified cohort fits. Unverified cohorts are still returned and may be used. `workspace_id` is optional here: omit it to list across the whole project, or pass one to scope to a single workspace. Note: `count` is frequently `null` in this list. The backend suppresses cached member counts in non-global workspaces and in projects with sensitive/classified properties for callers without sensitive-data access. Call Get-Cohort for an authoritative count. For full cohort definitions, call Get-Cohort on individual cohort IDs.