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

Amplitude 接入 MCP:在任意 AI 代理中解答产品分析问题

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

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

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

Amplitude

Amplitude

Let your AI read your Amplitude product analytics: event trends, funnels, retention, active and new users, revenue LTV, sessions, saved charts, cohorts, user lookups and the tracking plan, and add chart annotations. US and EU data centers.

个工具

23

区域

INTL

类别

数据分析

身份验证

Basic Auth

所需环境变量

AMPLITUDE_API_HOSTAMPLITUDE_API_KEYAMPLITUDE_SECRET_KEY
在 Cloud 上一键安装

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

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

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

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

开始免费试用

摘要

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

试试这样问

Amplitude 的示例提示

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

Amplitude · 通过 MCP 实时
分享
Opus 4.7

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

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

Amplitude

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

设置

  1. 你需要在该 Amplitude 项目中拥有 Manager 或 Admin 角色。依次选择 Settings(左下角)和 Projects,然后打开该项目。每个项目都有自己的密钥,所以一个连接器只读取一个项目。
  2. 在项目的 General 标签页中,点击 API Key 旁边的 Manage,把密钥复制到 AMPLITUDE_API_KEY。
  3. 点击 Secret Key 旁边的 Manage,为 AnythingMCP 生成一个新的 secret key。Amplitude 只在生成时显示一次 secret key,所以请立即把它粘贴到 AMPLITUDE_SECRET_KEY。一个项目可以有多个 secret key。
  4. 按项目所在的数据中心设置 AMPLITUDE_API_HOST:默认(美国)数据中心用 https://amplitude.com,欧盟项目(其应用运行在 app.eu.amplitude.com)用 https://analytics.eu.amplitude.com。欧盟项目的密钥在美国主机上会被拒绝,反之亦然。analytics.amplitude.com 是网页应用,不是 API。
  5. 安装连接器并运行 amplitude_list_events,查看项目记录的准确事件名称。

谁能看到什么:secret key 可以读取项目的所有事件和用户。请只把 MCP 服务器分享给有权查看这些数据的人。

可读取的内容:带筛选和分组的事件趋势、漏斗、留存、活跃用户和新用户(也可按 5 分钟粒度实时查看)、收入 LTV、会话时长和人均会话数、用户构成、在 Amplitude 中保存的图表结果(通过图表地址中 /chart/ 后面的 id 指定)、行为群组、用户查询及该用户最近的事件,以及跟踪计划(事件类型、事件属性和用户属性、类别)。日期以整天为单位,按项目时区计算。群组列表需要 Growth 或 Enterprise 套餐的 Behavioral Cohorts 附加功能。

限制:Amplitude 的限制按项目计算,并与所有其他集成共享。Dashboard REST API 最多同时处理 5 个请求,查询成本预算为每 5 分钟 1,000、每小时 108,000。一次查询的成本 = 时间范围的天数 × 条件数(分段和筛选;每个分组计 4)× 图表成本(细分每个事件 1,漏斗每一步 2,留存 8,会话 4,其他均为 1)。用户查询和用户活动另有限制:同时 10 个、每小时 360 个;跟踪计划每小时允许 7,200 次读取。超过限制时 Amplitude 返回 429:AI 会等待,如果是成本预算的问题,就缩短时间范围或去掉分组。一次带分组的查询可以代替许多按天或按用户的查询。

个人数据:amplitude_search_users 和 amplitude_get_user_activity 会返回用户的档案和事件。AI 只会针对你询问的用户使用它们。

先确认:不指定图表的注释会显示在项目的所有图表上,所有成员都能看到,因此在执行 amplitude_create_annotation 之前,AI 会先和你确认标签、时间和显示范围。amplitude_delete_annotation 在安装时默认关闭。

常见错误:403 "Invalid API Key":密钥或 secret 错误、属于其他项目,或者项目位于另一个数据中心(请检查 AMPLITUDE_API_HOST)。401:缺少两个密钥中的一个。400:某个参数或事件、分段的 JSON 无效,或者已保存的图表属于其他项目。amplitude_get_chart_results 返回 404:没有该 id 的已保存图表。429:达到了并发、每小时或成本限制,Amplitude 会说明是哪一个。

该连接器不会向 Amplitude 发送事件,不会导出原始事件文件,不会下载或上传群组,不会因隐私请求删除用户,也不涉及 Experiment、Session Replay 和用户管理。

前提条件: AMPLITUDE_API_HOST, AMPLITUDE_API_KEY, AMPLITUDE_SECRET_KEY

本地安装连接器

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

打开 http://localhost:3000/connectors/store,选择 Amplitude 并填入前提条件中列出的环境变量。

可用工具

ToolWhat it does
amplitude_list_eventsList the project's visible event types with this week's totals, as event_type, display name, weekly_totals and the hidden and inactive…
amplitude_get_event_segmentationEvent Segmentation: count one event (or compare two) per day, week or month, optionally filtered by segments and grouped by a property
amplitude_get_funnelFunnel Analysis: conversion through two or more events in order
amplitude_get_retentionRetention Analysis: how many users who did a starting event come back with a return event, per day, week or month after
amplitude_get_active_usersCount active or new users per day, week or month, optionally segmented and grouped by a property
amplitude_get_realtime_active_usersActive users in 5-minute steps for today and yesterday, for a live view
amplitude_get_revenue_ltvRevenue lifetime value of new users per start date: average revenue per user, per paying user, total revenue or paying users after 1 to 90…
amplitude_get_session_length_distributionNumber of sessions per session length bucket over a date range
amplitude_get_average_session_lengthAverage session length in seconds for each day of a date range
amplitude_get_sessions_per_userAverage number of sessions per user for each day of a date range
amplitude_get_user_compositionUser composition: how many distinct users had each value of one user property in a date range (e.g. users per country, platform or app…
amplitude_get_chart_resultsRun a chart saved in Amplitude and return its results, using the chart's saved definition (events, filters, date range)
amplitude_list_cohortsList the project's discoverable behavioral cohorts with id, name, description, size, owners, last computed time and archived or published…
amplitude_search_usersFind users by Amplitude ID, device ID, user ID or the start of a user ID
amplitude_get_user_activityOne user's summary (userData: first and last seen, event and session counts, revenue, platform, location, user properties) and their most…
amplitude_list_event_typesList the event types planned in the project's tracking plan (Amplitude Data) with category, display name, description, active flag, tags…
amplitude_get_event_typeGet one planned event type by its exact name: category, display name, description, active and hidden flags, tags and owner
amplitude_list_event_propertiesList the event properties in the tracking plan: for one event type when event_type is given, otherwise the shared event properties
amplitude_list_user_propertiesList the project's user properties with description, type, enum values, array flag and classifications
amplitude_list_event_categoriesList the event categories of the tracking plan (id and name)
amplitude_list_annotationsList the chart annotations of the project (releases, campaigns, incidents marked on charts): id, label, details, start and end, category…
amplitude_create_annotationAdd an annotation (e.g. a release or campaign) at a point or range in time
amplitude_delete_annotationDelete a chart annotation by id; it disappears from every chart for every member and cannot be restored

示例提示

  • “过去三个月每周有多少用户完成了 Sign Up,按国家分组是怎样的?”
  • “给我看 9 月从 Sign Up 到 Create Project 再到 Invite Teammate 的漏斗,以及流失用户最多的那一步。”
  • “8 月开始使用的新用户中,在之后八周的每一周各有多少人回来?”
  • “在所有图表上为 10 月 1 日价格页改版添加一条注释,保存前先给我看标签和日期。”

下一步

这份指南对你有帮助吗?

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

安装连接器,粘贴密钥,向你的 AI 客户端提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 Amplitude 连接到 ChatGPT

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

连接器

如何通过 MCP 将 Amplitude 连接到 Claude

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

连接器

如何通过 MCP 将 Amplitude 连接到 Cursor

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

连接器

如何通过 MCP 将 Amplitude 连接到 Gemini

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

连接器

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

让你的 AI 读取 Amplitude 的产品分析数据:事件趋势、漏斗、留存、活跃用户和新用户、收入 LTV、会话、已保存的图表、群组、用户查询和跟踪计划,并为图表添加注释。支持美国和欧盟数据中心。

连接器

Avito 接入 MCP:在任意 AI 智能体中管理 Avito 广告、价格和数据

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