Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
List dashboards
MIXPANEL_MCP_LIST_DASHBOARDSRequired tools: Get-Business-Context (call it once per conversation, before this tool). Prefer Search-Entities with entity_types=['dashboard'] instead, it offers more flexibility and efficiency. Returns a list of all the dashboards in the project. Use query to filter by title (case-insensitive substring match).
List experiments
MIXPANEL_MCP_LIST_EXPERIMENTSRequired tools: Get-Business-Context (call it once per conversation, before this tool). List and search experiments in a project. Filter by status, name (case-insensitive substring match), creator, creation date, or tags. Use Get-Experiment for full configuration.
List feature flags
MIXPANEL_MCP_LIST_FEATURE_FLAGSRequired tools: Get-Business-Context (call it once per conversation, before this tool). List and search feature flags in a project. Filter by status, key, name, creator, or creation date. Use Get-Feature-Flag for full configuration.
List metrics
MIXPANEL_MCP_LIST_METRICSRequired tools: Get-Business-Context (call it once per conversation, before this tool). List all saved metrics in a project. Returns metric IDs, names, types, descriptions, and verified status. Use before creating experiments to find reusable metrics. For full definition: Get-Metric. To use in experiment: reference by ID. Results are ordered verified-first. Prefer verified metrics (verified=True) when choosing a metric that matches the user's request; fall back to unverified metrics only when no verified metric fits. Unverified metrics are still returned and may be used.
List organizations
MIXPANEL_MCP_LIST_ORGANIZATIONSReturns the organizations the current user belongs to.
List properties
MIXPANEL_MCP_LIST_PROPERTIESRequired tools: Get-Business-Context (call it once per conversation, before this tool). List properties for a Mixpanel project. Returns name and type by default. Two lookup modes (mutually exclusive): - names: Look up specific properties by exact name (max 100). - query: Search/discover properties by substring match (case-insensitive). resource_type: 'Event' for event properties, 'User' for user properties, or omit for both. events: Scope to one or more events' properties (only valid with resource_type='Event' or omitted). A lookup table property is listed with `extra` {mapped_property: <property>}. In Run-Query name it as the pair [mapped_property, name]. attributes: Extra attributes to include in the response. Valid values: description, display_name, hidden, dropped, sensitive, example_value, merged, tags, events. The 'events' attribute is only allowed when 'names' is provided — it requires a specific set of properties to look up event associations for. It is also expensive for large projects, so only request it when needed. tag: Filter to properties that have this tag name. hidden/dropped/sensitive: Filter by metadata status (True or False).