MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
Cookieless web analytics your AI agent can read: traffic, spikes and what caused them, funnels.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://a.measuremy.site/mcp在终端中运行这条命令
claude mcp add --transport http analytics https://a.measuremy.site/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"analytics": {
"url": "https://a.measuremy.site/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"analytics": {
"type": "http",
"url": "https://a.measuremy.site/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://a.measuremy.site/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 measuremy.site 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.1)于23天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Cookieless web analytics your AI agent can read. A small analytics server for one website, with an MCP server built in, so Claude Code, Cursor or Codex can look at your traffic and help you decide what to do next.
You deploy it to your own Cloudflare account (Workers + D1, the free tier is enough for most small sites). Your data stays in your account.
This repo used to be called agentlytics-mcp. The worker, database, tracker (agentlytics.track) and MCP server keep that name so existing installs keep working.
Example questions and answers; the numbers are illustrative.
https://a.measuremy.site/mcpDon't want to run it yourself? [measuremy.site](https://measuremy.site/?utm_source=github&utm_medium=referral&utm_campaign=measuremysite-mcp) is the hosted version (site.measuremy/analytics in the MCP registry): the same MCP tools, plus a dashboard, AI explanations of traffic spikes, tracking of posts that mention you (Hacker News, Bluesky, YouTube...), alerts and weekly summaries. Streamable HTTP with OAuth: you sign in through the browser the first time, and no API key is pasted anywhere. 30-day free trial, no card; plans from $9 a month.
VS Code (Copilot): in .vscode/mcp.json, or MCP: Add Server → HTTP. VS Code asks you to sign in when the server starts.
{
"servers": { "measuremysite": { "type": "http", "url": "https://a.measuremy.site/mcp" } } }
Claude Code
claude mcp add --scope user --transport http measuremysite https://a.measuremy.site/mcp
Cursor (~/.cursor/mcp.json)
{ "mcpServers": { "measuremysite": { "url": "https://a.measuremy.site/mcp" } } }
On sign-in you create an account (or log in) and enter your site's domain. Then ask your agent to "add measuremy.site analytics to this project": the server hands it the script tag for your site. Docs: measuremy.site/docs/mcp.
The rest of this README covers the self-hosted version.
Ask in plain words, for example:
Tools exposed over MCP:
| Area | Tools |
|---|---|
| Traffic | get_overview, get_timeseries, top_sources, top_pages, top_countries, top_browsers, top_systems, list_events |
| Questions about visits | query_visits (filter and group by country, browser, OS, source, page, event, day), recent_visits |
| Spikes | find_traffic_spikes, explain_spike (ranked causes, plus your annotations) |
| Funnels | create_funnel, get_funnel, delete_funnel |
| Growth | get_whats_working, get_growth_actions |
| Campaigns | create_tracked_link, get_campaign_results, add_annotation |
Plus a plan_marketing prompt that walks the agent through a data-backed plan.
Check what applies where you and your visitors are; this is not legal advice.
The button copies this repo to your GitHub account, creates the D1 database, runs the migrations and deploys the worker. It asks for three settings:
SITE_DOMAIN: your website's domain, like example.com (no https:// or www)HASH_SECRET: any long random string, used to make the daily visitor idMCP_READ_KEY: another long random string, the key your AI agent usesGenerate the two random values with openssl rand -hex 32, and keep MCP_READ_KEY for connecting your agent below.
You need a Cloudflare account and Node.js 20+.
git clone https://github.com/developeron29/measuremysite-mcp.git
cd measuremysite-mcp npm install npx wrangler login
database_id into wrangler.jsonc: npx wrangler d1 create agentlytics-mcp
openssl rand -hex 32: npx wrangler secret put SITE_DOMAIN # e.g. example.com
npx wrangler secret put HASH_SECRET # makes the daily visitor id; never share it npx wrangler secret put MCP_READ_KEY # the key your agent uses; keep it out of your repo
Wrangler may offer to create the worker on the first secret put; say yes.
npm run deploy
Either way you get a worker URL like https://agentlytics-mcp. .workers.dev. Opening it shows a status page with your domain. You can attach a custom domain such as stats.yourdomain.com in the Cloudflare dashboard.
Optional rate limit: to cap how often one IP can send hits, add this to wrangler.jsonc and deploy again:
"ratelimits": [{ "name": "COLLECT_LIMITER", "namespace_id": "1001", "simple": { "limit": 120, "period": 60 } }]
Put this in the of every page:
<script defer src="https://YOUR-WORKER-URL/t.js"></script>
It counts pageviews, including client-side navigation in single-page apps. To count something that matters, like a signup:
agentlytics.track("signup", { plan: "pro" });
or without JavaScript, on any element:
<button data-agentlytics-event="cta_click">Start free</button>
Only pages on SITE_DOMAIN (and its subdomains) are counted.
Claude Code
claude mcp add --scope user --transport http agentlytics https://YOUR-WORKER-URL/mcp --header "Authorization: Bearer YOUR_MCP_READ_KEY"
Cursor (.cursor/mcp.json or ~/.cursor/mcp.json)
{
"mcpServers": { "agentlytics": { "url": "https://YOUR-WORKER-URL/mcp", "headers": { "Authorization": "Bearer YOUR_MCP_READ_KEY" } } } }
Codex (~/.codex/config.toml)
[mcp_servers.agentlytics]
url = "https://YOUR-WORKER-URL/mcp" bearer_token_env_var = "AGENTLYTICS_READ_KEY"
and export AGENTLYTICS_READ_KEY=YOUR_MCP_READ_KEY in the shell that starts Codex.
Then ask: *"Use agentlytics to tell me how my site did this week."* Spikes need a few days of traffic to compare against.
Point your coding agent at AGENTS.md: "Deploy measuremysite-mcp for my site by following AGENTS.md". It walks through every step and asks you before anything that needs your Cloudflare login.
| measuremysite-mcp (this repo) | measuremy.site | |
|---|---|---|
| MCP tools for your agent | Yes | Yes |
| Cookieless tracking, funnels, spikes, campaigns | Yes | Yes |
| Sites | One per deploy | Several, one account |
| Dashboard | No (ask your agent) | Yes, with filters and a public share link |
| AI explanations of spikes | No | Yes |
| Posts that mention you (HN, Lobsters, Bluesky, YouTube, Reddit) | No | Yes, on your traffic chart |
| Alerts, weekly email summary | No | Yes |
| Who runs it | You, on your Cloudflare account | Us |
| Price | Free (your Cloudflare usage) | 30-day free trial, then from $9 a month |
cp .dev.vars.example .dev.vars # then edit the values
npm run db:migrate:local npx wrangler dev npm test npm run typecheck
scripts/stdio.sh runs the server locally and serves MCP over stdio, for clients that start a server as a command (Glama uses it). It needs SITE_DOMAIN, HASH_SECRET and MCP_READ_KEY in the environment.
MIT. See LICENSE.