MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
Free, read-only Google Analytics 4: reports, funnels, realtime. Sign in with Google, no GCP setup.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TAGPILOT_API_KEY, GA4_MCP_NO_BROWSER, GA4_MCP_AUTH_WAIT_SECONDS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"@tagpilot/ga4-mcp"
],
"env": {
"TAGPILOT_API_KEY": "your-value",
"GA4_MCP_NO_BROWSER": "your-value",
"GA4_MCP_AUTH_WAIT_SECONDS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ga4 --env TAGPILOT_API_KEY=your-value --env GA4_MCP_NO_BROWSER=your-value --env GA4_MCP_AUTH_WAIT_SECONDS=your-value -- npx -y @tagpilot/ga4-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"@tagpilot/ga4-mcp"
],
"env": {
"TAGPILOT_API_KEY": "your-value",
"GA4_MCP_NO_BROWSER": "your-value",
"GA4_MCP_AUTH_WAIT_SECONDS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ga4": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tagpilot/ga4-mcp"
],
"env": {
"TAGPILOT_API_KEY": "your-value",
"GA4_MCP_NO_BROWSER": "your-value",
"GA4_MCP_AUTH_WAIT_SECONDS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
GA4_MCP_NO_BROWSER envGA4_MCP_AUTH_WAIT_SECONDS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 tagpilot 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:TAGPILOT_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于10天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
An MCP server retrieving transcripts of YouTube videos
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A free, read-only Model Context Protocol server for Google Analytics 4. Ask Claude, Cursor or any MCP client about your GA4 data: reports, funnels, realtime, property setup, and Tag Pilot tracking-health checks.
No Google Cloud setup, no API key to copy. You don't need a GCP project, OAuth client, service account or gcloud. Add the server, ask a GA4 question, and approve once in your browser.
claude mcp add ga4 -- npx -y @tagpilot/ga4-mcp
ABCD-1234):| Client | How |
|---|---|
| Claude Desktop | Download the extension and open it (no Node.js needed) |
| Claude Code | claude mcp add ga4 -- npx -y @tagpilot/ga4-mcp |
| Cursor | Add to Cursor, or mcp.json below |
| VS Code | Install in VS Code |
| Gemini CLI | gemini extensions install https://github.com/tagpilot/ga4-mcp |
| Anything else | npx -y @tagpilot/ga4-mcp (stdio) |
Everything except the Claude Desktop extension runs the npm package with npx, so it needs Node.js 18 or newer. The server is also listed in the MCP Registry as io.github.tagpilot/ga4-mcp.
Download tagpilot-ga4-mcp.mcpb and double-click it (or drag it into Settings → Extensions), click Install and enable it. Leave the optional API key field empty. The extension bundles the server and runs on Claude Desktop's built-in Node.js.
Prefer the config file? In claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": { "ga4": { "command": "npx", "args": ["-y", "@tagpilot/ga4-mcp"] } } }
claude mcp add ga4 -- npx -y @tagpilot/ga4-mcp
Use Add to Cursor, or add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": { "ga4": { "command": "npx", "args": ["-y", "@tagpilot/ga4-mcp"] } } }
Use Install in VS Code, or run MCP: Add Server → *Command (stdio)* with npx -y @tagpilot/ga4-mcp.
gemini extensions install https://github.com/tagpilot/ga4-mcp
Other clients (Windsurf, Zed, …) take the same command and args.
Where nobody can approve in a browser, create a key on the GA4 MCP page and set TAGPILOT_API_KEY=tpk_… in the server's environment (e.g. claude mcp add ga4 --env TAGPILOT_API_KEY=tpk_... -- npx -y @tagpilot/ga4-mcp). With a key, the device connect is skipped and only the Google sign-in link is shown.
your machine Tag Pilot Google
────────────────────────────────────── ─────────────────────────── ────────────────────── ga4-mcp makes a PKCE verifier ──► POST /v3/public/ga4/device (it never leaves your machine) returns a link + code ABCD-1234 any browser, any device: app.tagpilot.io/connect: log in, check the code, approve → creates a ga4:mcp key for this device → Google consent (read-only) ─► accounts.google.com …/ga4/oauth/callback ◄────── one-time code ga4-mcp polls for the result ──► POST /v3/public/ga4/device/token returns the device key + code ga4-mcp exchanges code + verifier ──► POST …/ga4/oauth/token ──► oauth2.googleapis.com device key + Google tokens saved in ~/.config/tagpilot/ga4-mcp/device.json (mode 600) GA4 API calls ─────────────────────────────────────────────────────► analytics*.googleapis.com
It works from any browser, like gh auth login: nothing listens on your machine, so it also works over SSH, in containers, in WSL or on a remote dev box. Open the link wherever you have a browser (even your phone) and approve; the server notices within a couple of seconds.
analytics.readonly. None of the tools can change anything in GA4.~/.config/tagpilot/ga4-mcp/device.json (readable only by you): the device's own Tag Pilot key and the Google refresh token. Access tokens are refreshed through Tag Pilot about once an hour.npx -y @tagpilot/ga4-mcp logout to delete the local credential, and remove the app's access at myaccount.google.com/permissions.All tools are read-only. Property IDs are the numeric GA4 IDs (e.g. 123456789), not G-XXXX measurement IDs.
| Tool | What it does |
|---|---|
get_account_summaries | All GA4 accounts and properties you can read, with property IDs. Start here. |
get_property_details | Time zone, currency, industry, standard/360, and data streams with measurement IDs. |
list_google_ads_links | Linked Google Ads accounts. |
list_property_annotations | Reporting annotations (releases, tracking changes, campaigns). |
get_custom_dimensions_and_metrics | Custom dimensions/metrics with API names (customEvent:…); optionally the standard ones, searchable. |
run_report | The Data API report: dimensions, metrics, date ranges, filters, ordering, paging, totals. |
run_realtime_report | The last 30 minutes (60 on GA4 360). Handy to check a tracking change is live. |
run_funnel_report | Funnels from event steps (with parameter and dimension conditions), open or closed, breakdowns, next actions, trended. Uses Google's v1alpha API. |
check_duplicate_transactions | Tag Pilot check. Purchase events per transaction_id: duplicate rate, worst duplicated IDs, purchases without an ID. |
check_traffic_attribution | Tag Pilot check. Sessions per channel group plus the share of Unassigned, (not set) source, (not set) landing page and Direct, with likely causes. |
connect | Connects this computer: returns a link and a code for you to approve in the browser (your AI shows them; clients that support MCP URL elicitation offer to open the link). Say *"connect my GA4"* to start it explicitly. |
connection_status | Connected (with the device name), waiting for approval (link and code again), not connected, or what went wrong. Waits up to 25 s for an open sign-in to finish. |
YYYY-MM-DD, today, yesterday or NdaysAgo (e.g. 28daysAgo). Default: the last 28 full days. Up to 4 ranges; several ranges add a dateRange column.date, eventName, sessionSourceMedium, pagePath, sessions, activeUsers, purchaseRevenue (full list).{"any": [...]} groups conditions with OR, and "not": true negates one: [
{"field": "eventName", "op": "exact", "value": "purchase"}, {"field": "country", "op": "in_list", "values": ["Poland", "Germany"], "not": true}, {"any": [ {"field": "pagePath", "op": "begins_with", "value": "/shop"}, {"field": "pagePath", "op": "partial_regex", "value": "product"} ]} ]
Ops: exact, contains, begins_with, ends_with, full_regex, partial_regex, in_list, eq, lt, lte, gt, gte, between (from/to), empty. Dimension and metric filters are separate inputs, like in the GA4 API.
[{"field": "sessions", "desc": true}]. Use dimension_order: "numeric" for numeric-looking dimensions.{"date": "20261026", "sessions": 321}. Default limit is 100 rows; next_offset tells you when there are more. Thresholding, sampling and (other) rows are reported in notes.They're opinionated rules of thumb built from a few run_report calls, and each result shows what it measured. For example, check_duplicate_transactions counts purchase events grouped by transactionId, and check_traffic_attribution flags Unassigned traffic at 5% or more. They cost the same GA4 quota as the equivalent reports (3–4 report calls).
"Not connected yet" (a link and a code like `ABCD-1234`): your AI shows them. Open the link in any browser (it doesn't have to be on this machine), sign in to Tag Pilot, check that the code matches, approve, and allow Google Analytics access, then tell your AI you're done: it retries your question (or calls connection_status). The server keeps checking in the background, so nothing needs restarting. The code is valid for 10 minutes; after that, ask again (or say "connect GA4") for a new one. To connect from a terminal instead (e.g. over SSH), run npx -y @tagpilot/ga4-mcp login: it shows the link, the code in a box and a countdown, and waits until you approve.
"This computer was disconnected from Tag Pilot": the device was revoked on the GA4 MCP page, so its saved credential was removed. Ask again to connect it again.
"Your Google sign-in for GA4 expired or was revoked": the saved sign-in was removed. Ask again and approve again. Google expires refresh tokens after 6 months without use or when you revoke access, and may al
只显示了开头部分;其余内容请在仓库中阅读