MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
Google Search Console + GA4 for AI agents: properties, reports, indexing, verification, SEO.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GOOGLE_SERVICE_ACCOUNT_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"google-webtools": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_SERVICE_ACCOUNT_KEY",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add google-webtools --env GOOGLE_SERVICE_ACCOUNT_KEY=your-value -- docker run -i --rm -e GOOGLE_SERVICE_ACCOUNT_KEY ghcr.io/stufently/google-webtools-mcp:1.2.2运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"google-webtools": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_SERVICE_ACCOUNT_KEY",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"google-webtools": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_SERVICE_ACCOUNT_KEY",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 stufently 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GOOGLE_SERVICE_ACCOUNT_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.2.2)于24天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
An MCP server that gives an AI agent direct access to Google Search Console and Google Analytics 4 — property management, search performance analysis, indexing checks, GA4 reporting, and site verification.
If an agent is driving this server, point it at [SKILL.md](SKILL.md) first (Russian). It covers the working order — property discovery, verification, sitemaps, indexing checks, the regular audit path — how to read a URL Inspection result, what Search Console does *not* expose, which calls burn quota, and which tools write to live configuration.
The server exposes 39 tools built on five Google APIs:
| API | Used for |
|---|---|
Search Console API (webmasters v3) | Properties, sitemaps, search analytics |
Search Console API (searchconsole v1) | URL Inspection |
| Google Analytics Admin API (v1beta) | GA4 accounts, properties, data streams |
| Google Analytics Data API (v1beta) | GA4 reports, realtime, metadata |
| Site Verification API (v1) | Verification tokens, ownership verification |
Beyond raw API access, tool responses are post-processed by a local analysis layer: position-based CTR benchmarks, trend detection, query intent classification, opportunity scoring, and a recommendation engine. Most tools return a readable Summary and Data block rather than bare JSON, plus Recommendations and Limitations sections when there is something worth saying.
Infrastructure: an in-memory TTL+LRU cache (search analytics 15 min when the range ends within the last 2 days and 1 h once it is older, sitemaps 15 min, site lists 30 min, URL inspections 1 h), a rate limiter (20 req/s, burst 30), and two transports — stdio (default) and stateless Streamable HTTP.
| Tool | When to use |
|---|---|
list_properties | Starting point — see every GSC property you can access and your permission level on each. |
get_property_details | Check the type and permission level of one specific property. |
add_property | Register a new site in Search Console (verification is a separate step). |
delete_property | Drop a property from the authenticated account's Search Console site list. Historical data is not destroyed — the property can be added back. |
| Tool | When to use |
|---|---|
list_sitemaps | See which sitemaps are submitted and whether Google reports errors or warnings. |
get_sitemap_details | Drill into one sitemap: URL counts by content type, last download time, error and warning counts. |
submit_sitemap | Submit a new sitemap after publishing or moving one. |
delete_sitemap | Withdraw a sitemap that is stale, duplicated, or returning errors. |
| Tool | When to use |
|---|---|
get_search_analytics | The raw query — full control over dimensions, filters, search type, row limit, data state, aggregation. Use when the shaped tools below don't fit. |
get_performance_summary | "How are we doing?" — clicks, impressions, CTR, position with period-over-period comparison. Trend advice is withheld when the previous period returned no data at all. |
compare_periods | Compare two explicit date ranges side by side (before/after a release, seasonal comparison). |
get_top_queries | Top queries by clicks, each scored against the CTR benchmark for its position. |
get_top_pages | Top pages by clicks with the same CTR analysis. |
get_traffic_by_device | Split traffic across desktop, mobile, and tablet — spot device-specific problems. |
| Tool | When to use |
|---|---|
find_quick_wins | "Where is money left on the table?" — query/page pairs ranking well but under-clicked, and those sitting just off page 1. Each pair lands in exactly one bucket (CTR 1-3, quick gain >3 to 10, page two >10 to 20), so the counts and click estimates add up over the period you asked for. |
find_declining_content | Catch traffic loss while it is still recoverable — compares the current period against the previous one and reports declining pages and declining queries as two separate rankings. |
find_ctr_opportunities | Find pages whose CTR is far below the benchmark for their position, with per-page fix suggestions. |
find_content_gaps | Queries landing on the wrong page, high-impression zero-click queries, topics that need a dedicated page. |
find_what_to_build_next | Content planning — groups queries by user intent (question, comparison, problem, buying) into topic clusters. |
| Tool | When to use |
|---|---|
inspect_url | Why is this one URL not showing up? Indexing status, mobile usability, rich results — including the per-item validation issues behind a FAIL verdict. |
batch_inspect_urls | Same check across a list of URLs (max 50 per call). |
check_indexing_issues | Audit your top traffic pages for indexing failures, canonical mismatches, missing canonicals, and mobile problems. A URL the API errors on is reported as not inspected; the rest of the audit still runs. |
| Tool | When to use |
|---|---|
analyze_query_landscape | Understand the shape of your demand — intent mix, branded vs non-branded, position distribution. |
find_new_queries | Surface genuinely new and fast-rising queries by diffing this period against the previous one. |
find_cannibalization | Detect several of your own pages competing for the same query. The winner is the page with the most clicks, not the best average position, and queries where only one page carries real volume get no consolidation advice. |
| Tool | When to use |
|---|---|
weekly_seo_report | One-call weekly digest: trends, growers, decliners, quick wins, sitemap health, prioritized actions. |
seo_health_check | Overall A–F grade with sub-scores for traffic trend, CTR efficiency, position distribution, and sitemap health. |
| Tool | When to use |
|---|---|
ga4_list_accounts | See every GA4 account and property the credentials can reach. |
ga4_list_properties | List properties under one specific account. |
ga4_get_property | Inspect a property's configuration. |
ga4_create_property | Provision a new GA4 property. Write operation. |
ga4_create_data_stream | Create a web data stream and get back its measurement ID (for installing the tag). Write operation. |
ga4_list_data_streams | List a property's data streams. |
ga4_get_data_stream | Get one data stream's details, including its measurement ID. |
| Tool | When to use |
|---|---|
ga4_run_report | Any GA4 report — pick metrics, dimensions, and a date range (absolute or relative like 28daysAgo). |
ga4_run_realtime_report | Who is on the site right now. |
ga4_get_metadata | Discover which dimensions and metrics (including custom ones) a property supports — run this before guessing metric names. |
| Tool | When to use |
|---|---|
gsc_get_verification_token | Get the token to place, plus method-specific instructions. Methods: FILE, DNS_TXT, META, ANALYTICS. |
gsc_verify_site | Complete verification once the token is in place. |
Enable these APIs in your Google Cloud project: Search Console API, Google Analytics Admin API, Google Analytics Data API, and Site Verification API.
The server requests these OAuth scopes:
https://www.googleapis.com/auth/webmasters
https://www.googleapis.com/auth/analytics.readonly https://www.googleapis.com/auth/analytics.edit https://www.googleapis.com/auth/siteverification.verify_only
Option A — Service account (best for servers and automation):
Option B — OAuth 2.0 (best for personal, local use):
~/.google-webtools-mcp/token.json and refreshed automatically, so you authorize only once.| Variable | Purpose |
|---|---|
GOOGLE_APPLICATION_CREDENTIALS | Path to a service account JSON key file. |
GOOGLE_SERVICE_ACCOUNT_KEY | The service account key as an inline JSON string — for Docker and CI, where mounting a file is awkward. |
GSC_OAUTH_CLIENT_SECRETS_FILE | Path to an OAuth client secrets JSON file. |
PORT | HTTP transport port. Default 3000. Only read with --http. |
Authentication methods are tried in this order, and the first one that yields usable credentials wins. A method that fails is recorded and the next one is tried: if GOOGLE_APPLICATION_CREDENTIALS points at a missing or malformed file, the server does not stop there — with OAuth configured (and a saved token) it starts under the OAuth account instead. Check the [auth] Authenticated via … line on stderr to see which identity was actually used.
GOOGLE_APPLICATION_CREDENTIALS, then GOOGLE_SERVICE_ACCOUNT_KEY, then ./credentials.json if its type is service_account.gcloud auth application-default login) — skipped if GOOGLE_APPLICATION_CREDENTIALS is set.GSC_OAUTH_CLIENT_SECRETS_FILE../credentials.json in the working directory, if it looks like OAuth client secrets (has an installed or web key).If none succeed, the server prints a setup guide to stderr and starts anyway, so a host or a directory can still list its tools without keys. Every tool call then looks for credentials again and, until one method works, returns the same error with the setup hint instead of calling Google. Fixing the key file needs no restart.
docker run -i --rm \
-v /absolute/path/to/service-account.json:/creds/sa.json:ro \ -e GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json \ ghcr.io/stufently/google-webtools-mcp:1.2.2
Replace /absolute/path/to/service-account.json with the key file from step 1 (Docker needs an absolute path), then paste the command. Docker pulls the image on the first run (amd64 and arm64), so nothing else needs installing. It should print Server running on stdio to stderr and wait for a client (Ctrl+C to quit). Every client block below runs this same docker run; the key file is mounted read-only and never written into the client config.
The image covers the service account. OAuth does not work in a container on the first run (see Docker); for OAuth, build from source.
Only what has actually been run is listed as verified. Everything else in Connecting it is a documented config that nobody has checked end to end.
| Client / runtime | OS | How it runs | Status | Evidence |
|---|---|---|---|---|
| Claude Code 2.1 | Ubuntu 26.04 LTS, x86_64 | Docker image built from this repo, stdio, gcloud ADC mounted read-only | Verified | Daily use on the maintainer's host |
| Codex CLI 0.162 | Ubuntu 26.04 LTS, x86_64 | Same Docker image, stdio | Configured, not checked separately | Maintainer's host config |
| Node.js 22, 24, 26 | Ubuntu (ubuntu-latest) |
只显示了开头部分;其余内容请在仓库中阅读