Skip to content

Analytics · Beta

Mixpanel
API integration

Ship Analytics features without building the integration. Full Mixpanel API access via Proxy and 100+ MCP-ready tools for AI agents — extend models and mappings to fit your product.

Built for specific customer use cases. Issues are resolved quickly.

Talk to us
Mixpanel

Use Cases

Why integrate with Mixpanel

Common scenarios for SaaS companies building Mixpanel integrations for their customers.

01

Embed product analytics into Customer Success tools

Let your end users connect their Mixpanel account so your CS platform can pull usage metrics, funnel conversion, and retention data to compute health scores and surface at-risk accounts without rebuilding analytics.

02

Close the loop for marketing automation platforms

Allow your users to target campaigns using Mixpanel cohorts and push engagement events (sent, opened, clicked) back into Mixpanel so product teams can tie marketing touches to downstream product behavior.

03

Enrich support tickets with product context

Give helpdesk agents a live timeline of a user's recent Mixpanel events and profile traits inside each ticket, then log resolution events back to Mixpanel to help PMs spot UX issues driving contacts.

04

Power feature management and experimentation workflows

Enable your feature flag or A/B testing product to read and write Mixpanel experiments, feature flags, and flag assignments, and to emit exposure events so customers can measure variant impact natively in Mixpanel.

05

Sync B2B account data for CRM and billing tools

Let CRM, billing, or ops platforms update Mixpanel group profiles (plan, MRR, owner) and user profiles (role, lifecycle stage) whenever a record changes, so product teams can segment analytics by real account attributes.

What You Can Build

Ship these features with Truto + Mixpanel

Concrete product features your team can ship faster by leveraging Truto’s Mixpanel integration instead of building from scratch.

01

One-click Mixpanel OAuth onboarding

Ship a hosted connect flow where your customers authenticate their Mixpanel project and you immediately start tracking events, updating profiles, and querying reports via Truto.

02

Event ingestion pipeline

Stream events from your product into any customer's Mixpanel project in real time using track and import, or do historical backfills via warehouse imports.

03

Cohort-based audience selector

Render a native dropdown of each customer's Mixpanel cohorts so users can target campaigns, workflows, or notifications against live behavioral segments.

04

Embedded usage dashboards

Pull funnels, retention, segmentation, and insights queries to render product analytics charts inside your app — scoped to the signed-in customer's Mixpanel data.

05

Two-way profile and group sync

Keep user profiles and B2B group profiles in sync between your system and Mixpanel using set, set_once, union, append, and bulk update operations.

06

Experiment and feature flag management

Create, launch, pause, archive, and evaluate Mixpanel experiments and feature flags from inside your product, including reading flag definitions and assignments.

SuperAI

Mixpanel AI agent tools

Comprehensive AI agent toolset with fine-grained control. Integrates with MCP clients like Cursor and Claude, or frameworks like LangChain.

list_all_mixpanel_annotations

List Annotations. List all annotations in a project.

create_a_mixpanel_annotation

Create Annotations. Create an Annotation. Requires a role of at least Analyst.

get_single_mixpanel_annotation_by_id

Get Annotation. Get an Annotation

update_a_mixpanel_annotation_by_id

Patch Annotation. Patch an Annotation. Requires a role of at least Analyst.

delete_a_mixpanel_annotation_by_id

Delete Annotation. Delete an Annotation. Requires a role of at least Analyst.

list_all_mixpanel_annotation_tags

Get Annotation Tags. Get all tags that have been added to at least one annotation. Requires a role of at least Analyst

create_a_mixpanel_annotation_tag

Create Annotation Tag. Creates a new tag using the provided name. Requires a role of at least Analyst

list_all_mixpanel_pipelines

List Pipelines. This API endpoint returns the list of all the pipelines scheduled for a project.

create_a_mixpanel_pipeline

Create Pipeline Required: type, from_date, gcs_bucket, gcs_region.

mixpanel_pipelines_edit

Edit Pipeline. This request edit the params for an export pipeline. Required: name.

mixpanel_pipelines_cancel

Delete Pipeline. For a given pipeline name, this request deletes the pipeline and stops any future jobs to be scheduled for the pipeline. Deleting the pipeline will result in the loss of all its historical data. If you wish to… Required: name.

mixpanel_pipelines_pause

Pause Pipeline. For a given pipeline name, this request pauses the pipeline which stops the ongoing jobs and prevents any future jobs to be scheduled for the pipeline Required: name.

mixpanel_pipelines_resume

Resume Pipeline. For a given pipeline name, this request resumes the pipeline if it's paused Required: name.

mixpanel_pipelines_status

Get Pipeline Required: name.

mixpanel_pipelines_sync_dates

List Pipeline Logs. This endpoint returns the timestamps of all syncs grouped by date.

list_all_mixpanel_experiments

List Experiments Required: workspace_id.

create_a_mixpanel_experiment

Create Experiment Required: name, workspace_id.

get_single_mixpanel_experiment_by_id

Get Experiment Required: workspace_id.

update_a_mixpanel_experiment_by_id

Update Experiment Required: workspace_id.

delete_a_mixpanel_experiment_by_id

Delete Experiment Required: workspace_id.

mixpanel_experiments_archive

Archive Experiment Required: workspace_id, experiment_id.

mixpanel_experiments_unarchive

Unarchive Experiment Required: workspace_id, experiment_id.

mixpanel_experiments_decide

Decide Experiment Required: success, workspace_id, experiment_id.

mixpanel_experiments_force_conclude

Force Conclude Experiment Required: workspace_id, experiment_id.

mixpanel_experiments_launch

Launch Experiment Required: workspace_id, experiment_id.

mixpanel_raw_events_export

Download Data. Every data point sent to Mixpanel is stored as JSON in our data store. The raw export API allows you to download your event data as it is received and stored within Mixpanel, complete with all event properties… Required: from_date, to_date.

list_all_mixpanel_feature_flags

List Feature Flags Required: workspace_id.

create_a_mixpanel_feature_flag

Create Feature Flag Required: name, key, tags, context, serving_method, ruleset.

get_single_mixpanel_feature_flag_by_id

Get Feature Flag Required: workspace_id.

delete_a_mixpanel_feature_flag_by_id

Delete Feature Flag Required: workspace_id.

update_a_mixpanel_feature_flag_by_id

Update Feature Flag Required: name, key, tags, context, serving_method, ruleset.

list_all_mixpanel_flag_assignments

Evaluate Feature Flags (GET). Evaluate all enabled feature flags for a user with the provided context. Returns selected variants for flags the user is eligible for. Required: context. Uses the Project Token from the connection.

list_all_mixpanel_flag_definitions

Get Feature Flag Definitions. Retrieve all enabled feature flag definitions for the authenticated project. Returns complete flag metadata including rulesets, variants, and rollout configurations. Uses the Project Token from the connection.

create_a_mixpanel_data_retrieval

Create a Retrieval. Creates a data retrieval job. Uses the Project Token from the connection.

get_single_mixpanel_data_retrieval_by_id

Check Status of Retrieval. Checks the status of a data retrieval job

create_a_mixpanel_data_deletion

Create a Deletion. Creates a task that specifies a list of users in a project to delete Uses the Project Token from the connection.

get_single_mixpanel_data_deletion_by_id

Check Status of Deletion. Checks the status of an existing deletion task

delete_a_mixpanel_data_deletion_by_id

Cancel a Deletion. Cancel a deletion task that is still in progress

create_a_mixpanel_identity

Create Identity Required: data.

mixpanel_identities_create_alias

Create Alias Required: data.

mixpanel_identities_merge

Merge Identities Required: strict.

mixpanel_events_import

Import Events Required: strict.

mixpanel_events_track

Track Events

mixpanel_events_query

Aggregate Event Counts. Get unique, total, or average data for a set of events over N days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event, type, unit, from_date, to_date.

mixpanel_events_top

Today's Top Events. Get the top events for today, with their counts and the normalized percent change from yesterday. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: type.

mixpanel_events_names

Top Events. Get a list of the most common events over the last 31 days. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: type.

mixpanel_profiles_set

Set Property. Takes a JSON object containing names and values of profile properties. If the profile does not exist, it creates it with these properties. If it does exist, it sets the properties to these values, overwriting…

mixpanel_profiles_set_once

Set Property Once. Works just like "$set", except it will not overwrite existing property values. This is useful for properties like "First login date".

mixpanel_profiles_add

Increment Numerical Property. Takes a JSON object containing keys and numerical values. \$add will increment the value of a user profile property. When processed, the property values are added to the existing values of the…

mixpanel_profiles_union

Union To List Property. Adds the specified values to a list property on a user profile and ensures that those values only appear once. The profile is created if it does not exist.

mixpanel_profiles_append

Append to List Property. Takes a JSON object containing keys and values, and appends each to a list associated with the corresponding property name. Appending to a property that doesn't exist will result in assigning a list…

mixpanel_profiles_remove

Remove from List Property. Takes a JSON object containing keys and values. The value in the request is removed from the existing list on the user profile. If it does not exist, no updates are made.

mixpanel_profiles_unset

Delete Property. Takes a JSON list of string property names, and permanently removes the properties and their values from a profile.

mixpanel_profiles_query

Query Profiles

mixpanel_profiles_bulk_update

Update Multiple Profiles. Send a batch of profile updates. Instead of sending a single JSON object as the data query parameter, send a JSON list of objects as the data parameter of an application/json POST or GET request body.…

mixpanel_profiles_bulk_delete

Delete Profile. Permanently delete the profile from Mixpanel, along with all of its properties. The \$delete object value is ignored - the profile is determined by the \$distinct_id from the request itself. If you have…

mixpanel_group_profiles_set

Update Property. Updates or adds properties to a group profile. The profile is created if it does not exist.

mixpanel_group_profiles_set_once

Set Property Once. Adds properties to a group only if the property is not already set. The profile is created if it does not exist.

mixpanel_group_profiles_unset

Delete Property. Unsets specific properties on the group profile.

mixpanel_group_profiles_remove

Remove from List Property. Removes a specific value in a list property.

mixpanel_group_profiles_union

Union To List Property. Adds the specified values to a list property on a group profile and ensures that those values only appear once. The profile is created if it does not exist.

mixpanel_group_profiles_bulk_update

Batch Update Group Profiles. Send a batch of group profile updates. Instead of sending a single JSON object as the data query parameter, send a JSON list of objects as the data parameter of an application/x-www-form-urlencoded…

mixpanel_group_profiles_bulk_delete

Delete Group. Deletes a group profile from Mixpanel.

list_all_mixpanel_lookup_tables

List Lookup Tables. Get a list of Lookup Tables defined in the project.

update_a_mixpanel_lookup_table_by_id

Replace a Lookup Table

mixpanel_insights_query

Required: metrics, time.

list_all_mixpanel_schemas

List Schemas. List all schemas in a project

create_a_mixpanel_schema

Create/Replace Multiple Required: entries.

mixpanel_schemas_list_by_entity

List for Entity. Get all schemas for a specific entity type Required: entity_type.

mixpanel_schemas_delete_by_entity

Delete for Entity. Delete all schemas of a specific entity type Required: entity_type.

get_single_mixpanel_schema_by_id

List for Entity and Name. Get the schema for a specific entity type and entity name Required: entity_type.

delete_a_mixpanel_schema_by_id

Delete for Entity and Name. Delete schema for an entity type and entity name Required: entity_type.

mixpanel_schemas_upsert

Create/Replace One Required: entity_type, name.

mixpanel_schemas_bulk_delete

Delete all Schemas. Delete all schemas in a project

mixpanel_audit_logs_query

Query Organization Audit Logs. Query an organization's audit logs. Required: organization_id.

mixpanel_saved_reports_query

Query Saved Report. Get data from your Insights reports. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: bookmark_id.

mixpanel_funnels_query

Query Saved Report. Get data for a funnel. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: funnel_id, from_date, to_date.

list_all_mixpanel_funnels

List Saved Funnels. Get the names and funnel_ids of your funnels.

mixpanel_retention_query

Query Retention Report Required: from_date, to_date.

mixpanel_retention_frequency

Query Frequency Report Required: from_date, to_date, unit, addiction_unit.

mixpanel_segmentation_query

Query Segmentation Report. Get data for an event, segmented and filtered by properties. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event, from_date, to_date.

mixpanel_segmentation_numeric

Numerically Bucket. Get data for an event, segmented and filtered by properties, with values placed into numeric buckets. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event, from_date, to_date, on.

mixpanel_segmentation_sum

Numerically Sum. Sums an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event, from_date, to_date, on.

mixpanel_segmentation_average

Numerically Average. Averages an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event, from_date, to_date, on.

mixpanel_activity_streams_query

Profile Event Activity. > ❗️stream/query is currently in maintenance mode. This endpoint returns the activity feed for specified users. **Note:** The Query API has a rate limit of 60 queries per hour and a maximum of 5… Required: distinct_ids, from_date, to_date.

list_all_mixpanel_cohorts

List Saved Cohorts. The list endpoint returns all of the cohorts in a given project. The JSON formatted return contains the cohort name, id, count, description, creation date, and visibility for every cohort in the project. If…

mixpanel_event_properties_query

Aggregrated Event Property Values. Get unique, total, or average data for of a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event, name, type, unit, from_date, to_date.

mixpanel_event_properties_top

Top Event Properties. Get the top property names for an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event.

mixpanel_event_properties_values

Top Event Property Values. Get the top values for a property. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Required: event, name.

mixpanel_jql_query

Custom JQL Query Required: script.

list_all_mixpanel_service_accounts

List Service Accounts. Return a list of all service accounts for your organization Required: organization_id.

create_a_mixpanel_service_account

Create Service Account. Create a new service account for your organization and optionally add it to one or more projects in your organization Required: username, organization_id.

get_single_mixpanel_service_account_by_id

Get Service Account. Return service account details by id Required: organization_id.

delete_a_mixpanel_service_account_by_id

Delete Service Account. Removes the service account from all associated projects and deletes it from the organization Required: organization_id.

mixpanel_service_accounts_list_for_project

List Service Accounts For Project. Retrieve a list of service accounts that are members of the specified project

mixpanel_service_accounts_add_to_project

Add Service Accounts To Projects. Adds a list of service account ids to a list of project ids with the specified role Required: projects, service_account_ids, organization_id.

mixpanel_service_accounts_remove_from_project

Remove Service Accounts From Projects. Removes a list of service account ids from a list of project ids Required: projects, organization_id.

list_all_mixpanel_warehouse_imports

List all warehouse imports. Returns a list of all warehouse imports configured for the project. Each import includes metadata about the import configuration, sync status, and job scheduling information.

get_single_mixpanel_warehouse_import_by_id

Get a specific warehouse import. Retrieves detailed information about a specific warehouse import by ID. Returns the full configuration of the import including table parameters, column mappings, and sync settings.

update_a_mixpanel_warehouse_import_by_id

Update a warehouse import. Update an existing warehouse import's settings. ### Patchable Fields The following fields can be modified: - **paused** (boolean, required): Pause or resume the import sync - **run_every** (integer):… Required: paused, run_every.

delete_a_mixpanel_warehouse_import_by_id

Delete a warehouse import. Deletes a warehouse import and optionally deletes the imported data. When `delete_data: true` is specified, an event deletion request will be created to remove the imported events from Mixpanel.

mixpanel_warehouse_imports_create_event_stream

Create an event stream import. Create a new warehouse import for event data. Event stream imports sync event data from your warehouse table to Mixpanel. Each row in your table becomes an event in Mixpanel. ### Sync Modes -… Required: import_type, warehouse_source_id, table_params, time_column_name, sync_mode.

mixpanel_warehouse_imports_create_people

Create a people (user profiles) import. Create a new warehouse import for user profile data. People imports sync user properties from your warehouse to Mixpanel user profiles. Each row represents a user, identified by the… Required: import_type, warehouse_source_id, table_params, user_column_name, sync_mode.

mixpanel_warehouse_imports_create_groups

Create a groups import. Create a new warehouse import for group profile data. Groups imports sync group properties from your warehouse to Mixpanel group profiles. Required: import_type, warehouse_source_id, table_params, group_key, group_id_column, sync_mode.

mixpanel_warehouse_imports_create_lookup_table

Create a lookup table import. Create a new warehouse import for lookup table data. Lookup tables allow you to enrich event and user properties with additional attributes from your warehouse. Required: import_type, warehouse_source_id, table_params, mixpanel_property, property_key_column_name, sync_mode.

mixpanel_warehouse_imports_run

Run an import. Triggers an immediate sync for a given warehouse import. Required: import_id.

mixpanel_warehouse_imports_history

Get import job history. Returns the execution history for a warehouse import. Returns 30 most recent events. Required: import_id.

Why Truto

Why use Truto’s MCP server for Mixpanel

Other MCP servers give you a static tool list for one app. Truto gives you a managed, multi-tenant MCP infrastructure across 1000+ integrations.

01

Auto-generated, always up to date

Tools are dynamically generated from curated documentation — not hand-coded. As integrations evolve, tools stay current without manual maintenance.

02

Fine-grained access control

Scope each MCP server to read-only, write-only, specific methods, or tagged tool groups. Expose only what your AI agent needs — nothing more.

03

Multi-tenant by design

Each MCP server is scoped to a single connected account with its own credentials. The URL itself is the auth token — no shared secrets, no credential leaking across tenants.

04

Works with every MCP client

Standard JSON-RPC 2.0 protocol. Paste the URL into Claude, ChatGPT, Cursor, or any MCP-compatible agent framework — tools are discovered automatically.

05

Built-in auth, rate limits, and error handling

Tool calls execute through Truto’s proxy layer with automatic OAuth refresh, rate-limit handling, and normalized error responses. No raw API plumbing in your agent.

06

Expiring and auditable servers

Create time-limited MCP servers for contractors or automated workflows. Optional dual-auth requires both the URL and a Truto API token for high-security environments.

How It Works

From zero to integrated

Start with Mixpanel in a free sandbox, usually ready within one business day. No boilerplate, no maintenance burden.

01

Link your customer’s Mixpanel account

Use Truto’s frontend SDK to connect your customer’s Mixpanel account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

02

We handle authentication

Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

03

Call our API, we call Mixpanel

Truto’s Proxy API is a 1-to-1 mapping of the Mixpanel API. You call us, we call Mixpanel, and pass the response back in the same cycle.

04

Unified response format

Every response follows a single format across all integrations. We translate Mixpanel’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Mixpanel on Truto

Authentication, rate limits, data freshness, and everything else you need to know before you integrate.

How do end users authenticate their Mixpanel account?

Mixpanel uses project-scoped service account credentials and project tokens. Truto handles the credential capture, storage, and injection so your users complete a guided connect flow and you never touch raw secrets.

Can we both send events to Mixpanel and query analytics back out?

Yes. Truto exposes ingestion endpoints (events track, events import, profiles set, group profiles set) as well as query endpoints (events query, segmentation, funnels, retention, insights, activity streams, JQL) so you can build bi-directional workflows.

Does the integration support B2B account-level analytics?

Yes. Group profile operations (set, set_once, union, remove, unset, bulk update, bulk delete) let you manage account-level traits in Mixpanel, which is essential for B2B SaaS use cases where analytics are segmented by company rather than individual user.

Can we manage Mixpanel experiments and feature flags through Truto?

Yes. The integration covers the full lifecycle for experiments (create, launch, decide, pause via cancel, archive, force conclude) and feature flags (create, update, delete, list definitions and assignments), so you can build native experimentation UX on top.

How do we handle historical data imports or warehouse syncs?

Truto exposes Mixpanel's warehouse import endpoints for event streams, people, groups, and lookup tables, along with run and history operations, so you can orchestrate large backfills or ongoing ETL from a customer's warehouse into their Mixpanel project.

What about rate limits and API quirks like separate ingestion vs. query APIs?

Mixpanel splits functionality across ingestion, query, and data management APIs with different auth and rate limits. Truto normalizes these behind a single connection per customer, handles retries and the API-specific request formatting, so you don't have to maintain that logic yourself.

Mixpanel

Get Mixpanel integrated into your app

Our team understands what it takes to make a Mixpanel integration successful. A short, crisp 30 minute call with folks who understand the problem.