连接器指南阅读约 4 分钟23 个 MCP 工具7 种语言

如何通过 MCP 将 Mixpanel 连接到 Claude

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

HC作者:HelpCode 团队更新于 4 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Mixpanel

Mixpanel

Let your AI read your Mixpanel product analytics: event trends, segmentation by any property, saved funnels, retention, frequency, saved Insights reports, cohorts and user profiles, and manage chart annotations. Signs in with a service account; US, EU and India data residency. Reports need the Growth or Enterprise plan.

个工具

23

区域

INTL

类别

数据分析

身份验证

Basic Auth

所需环境变量

MIXPANEL_API_HOSTMIXPANEL_SERVICE_ACCOUNT_USERNAMEMIXPANEL_SERVICE_ACCOUNT_SECRETMIXPANEL_PROJECT_ID
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Mixpanel,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

AnythingMCP 已收录在 Claude 的连接器目录中:一键添加到 Claude (在新标签页中打开),然后登录并选择 Claude 可以使用哪些 MCP 服务器。

摘要

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

试试这样问

Mixpanel 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Mixpanel · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Mixpanel、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Mixpanel + Claude

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

MIXPANEL_API_HOST, MIXPANEL_SERVICE_ACCOUNT_USERNAME, MIXPANEL_SERVICE_ACCOUNT_SECRET, MIXPANEL_PROJECT_ID

步骤 1 — 获取凭证

  1. 以 Owner 或 Admin 角色打开 Organization Settings → Service Accounts(https://mixpanel.com/settings/org#serviceaccounts,欧盟项目为 https://eu.mixpanel.com/settings/org#serviceaccounts),添加一个服务账号。项目的 Owner 或 Admin 也可以在 Project Settings → Service Accounts 中创建一个仅用于该项目的服务账号。
  2. 为它命名(例如 AnythingMCP),授予它访问该项目的权限并选择角色:读取报告和用户档案用 Consumer 就够了;创建、编辑或删除注释以及列出注释标签需要 Analyst 或更高角色。到期日期可选:一旦过期,所有调用都会返回 401。
  3. 立即把 username(形如 anythingmcp.abc123.mp-service-account)复制到 MIXPANEL_SERVICE_ACCOUNT_USERNAME,把 secret 复制到 MIXPANEL_SERVICE_ACCOUNT_SECRET:Mixpanel 只显示一次 secret。如果丢失,请新建一个服务账号。
  4. 把项目 id 填入 MIXPANEL_PROJECT_ID:Project Settings → Overview → Project ID,或项目地址中 /project/ 后面的数字。
  5. 按项目存储数据的位置(Project Settings → Overview → Data Residency)设置 MIXPANEL_API_HOST:https://mixpanel.com(美国,默认)、https://eu.mixpanel.com(欧盟)或 https://in.mixpanel.com(印度)。
  6. 仅当你的项目使用 Data Views 时:把 MIXPANEL_WORKSPACE_ID 设为全局数据视图的 id(地址中 /view/ 后面的数字)。否则留空。
  7. 安装连接器并运行 mixpanel_list_event_names,查看你的项目记录了哪些事件。

套餐:报告使用 Mixpanel 的 Query API,它包含在 Growth 和 Enterprise 套餐中。在 Free 套餐上,所有报告工具都会返回 402,安装时的连接检查也一样。注释工具在任何套餐上都可用。要试用报告,Growth 试用期就够了。

限制:Mixpanel 每个项目每小时允许 60 次查询、同时最多 5 次,这个额度与所有查询该项目的其他集成共享。每个报告就是一次查询,所以请一次性请求完整的细分,而不是按天或按用户逐个查询。超过限制时 Mixpanel 返回 429:请等待,不要立即重试。

可读取的内容:事件趋势、按任意属性细分(含求和与平均值)、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组以及用户或群组档案。只能运行已保存的漏斗和已保存的 Insights 报告;报告通过其地址中 report- 后面的数字来指定。日期以整天为单位,按项目时区计算(Project Settings → Overview → Timezone)。

先确认:注释是固定在某个日期上的备注,项目的每个图表都会向所有成员显示。在执行 mixpanel_create_annotation 或 mixpanel_update_annotation 之前,AI 会先和你确认文本和日期。mixpanel_delete_annotation 在安装时默认关闭。

常见错误:401:username 或 secret 错误,或服务账号已过期。403:服务账号无权访问该项目,或角色不够(修改注释需要 Analyst)。400:通常是参数拼写错误、日期没有写成 YYYY-MM-DD,或筛选条件有语法错误。如果正确的项目 id 被拒绝,请核对 MIXPANEL_API_HOST 是否与项目的数据驻留位置一致。空结果不是错误:只是该事件或时间段没有数据。

该连接器不会发送或导入事件和用户档案,不会导出原始事件,不会运行 JQL 或单个用户的活动流,不会编辑 Lexicon,不会创建群组,也不涉及功能开关、实验和项目管理。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Claude 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

推荐路径:在 claude.ai web 上工作,无需触碰任何配置文件。

  1. 在 Claude 中打开 Customize → Connectors。
  2. 点击 +,然后点击 Add custom connector。
  3. 输入名称(例如 Mixpanel)和远程 MCP 服务器 URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后点击 Add。
  4. 点击 Connect,登录 AnythingMCP(OAuth)并允许访问。

下面所有工具都会出现在你的聊天中,开始输入提示。

可用工具

ToolWhat it does
mixpanel_list_event_namesList the names of the most common events in the project over the last 31 days, as a plain array of strings
mixpanel_get_top_eventsGet today's top events with their count (amount) and percent_change against yesterday, under events, plus the counting type
mixpanel_get_event_countsCount one or more events per minute, hour, day, week or month over a date range
mixpanel_get_top_event_propertiesList the most used property names of one event with how many events carry each, as an object of property name to {count}
mixpanel_get_top_property_valuesList the most common values of one property of one event, as a plain array of strings (e.g. the browsers or plans seen)
mixpanel_get_event_property_countsCount one event broken down by the values of one of its properties, per unit over a date range
mixpanel_query_segmentationSegmentation: count one event over a date range, optionally filtered with where and broken down with on
mixpanel_query_segmentation_numericSegmentation into numeric buckets: count one event per day or hour, grouped into ranges of a numeric property expression (e.g. order amount…
mixpanel_query_segmentation_sumSum a numeric expression over the events of one type per day or hour, e.g. revenue per day from properties["amount"]
mixpanel_query_segmentation_averageAverage a numeric expression over the events of one type per day or hour, e.g. the average order value from properties["amount"]
mixpanel_list_funnelsList the saved funnels of the project with funnel_id and name. mixpanel_query_funnel needs one of these ids; a project without saved…
mixpanel_query_funnelGet the conversion data of a saved funnel over a date range: meta.dates and, per date, steps (count, step_conv_ratio, overall_conv_ratio…
mixpanel_query_retentionRetention: of the users who did born_event (first-time, "birth") or any event (recurring, "compounded") in each cohort date, how many came…
mixpanel_query_frequencyFrequency (addiction): how often users do an event within each day, week or month, counted per hour or per day
mixpanel_query_insights_reportRun a saved Insights report and return what it shows: computed_at, date_range, headers and series (metric name to date to value)
mixpanel_list_cohortsList the saved cohorts of the project with id, name, description, count (members now), created and is_visible
mixpanel_query_profilesRead user profiles (or group profiles with data_group_id): one, a list of distinct ids, those matching a where expression, or the members…
mixpanel_list_annotationsList the annotations of the project (notes pinned to a date on charts), optionally within a date range
mixpanel_get_annotationRead one annotation by id: results with id, date, description, user (who added it) and tags
mixpanel_list_annotation_tagsList the tags used on annotations with id, name and has_annotations
mixpanel_create_annotationAdd an annotation to the project: a note pinned to a date and time that every chart of the project shows to all its users
mixpanel_update_annotationChange the description or tags of an existing annotation (the date cannot be changed)
mixpanel_delete_annotationDelete an annotation for everyone in the project; it cannot be restored

示例提示

  • “过去三个月每周有多少注册,按国家细分是怎样的?”
  • “给我看我们已保存的新手引导漏斗上个月的转化情况,以及流失用户最多的是哪一步。”
  • “九月注册的用户中,在之后八周的每一周里回访的比例分别是多少?”
  • “为 10 月 1 日价格页重新上线添加一条注释,保存前先把文本和日期给我看。”

FAQ

Claude Code 和 Claude Desktop 一样工作吗? 是的,两者都指向 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。

下一步

这份指南对你有帮助吗?

你的 Mixpanel 智能体只差一次点击。

安装连接器,粘贴密钥,向 Claude 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 Mixpanel 连接到 ChatGPT

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

连接器

如何通过 MCP 将 Mixpanel 连接到 Cursor

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

连接器

如何通过 MCP 将 Mixpanel 连接到 Gemini

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

连接器

如何通过 MCP 将 Mixpanel 连接到 Meta Muse

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

连接器

Mixpanel 接入 MCP:从任意 AI 代理驱动 Mixpanel

让你的 AI 读取 Mixpanel 的产品分析数据:事件趋势、按任意属性细分、已保存的漏斗、留存、频次、已保存的 Insights 报告、群组和用户档案,并管理图表注释。使用服务账号登录;支持美国、欧盟和印度的数据驻留。报告需要 Growth 或 Enterprise 套餐。

连接器

如何通过 MCP 将 Avito 连接到 Claude

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。