MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
Umami v3 MCP for Cloud or self-hosted analytics, with read-only, privacy-conscious defaults.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
UMAMI_API_KEY, UMAMI_BASE_URL, UMAMI_TOKEN, UMAMI_USERNAME, UMAMI_PASSWORD, UMAMI_TWO_FACTOR_SECRET, UMAMI_DEFAULT_WEBSITE_ID标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"umami": {
"command": "npx",
"args": [
"-y",
"@obsidiancorps/umami-mcp"
],
"env": {
"UMAMI_API_KEY": "your-value",
"UMAMI_BASE_URL": "your-value",
"UMAMI_TOKEN": "your-value",
"UMAMI_USERNAME": "your-value",
"UMAMI_PASSWORD": "your-value",
"UMAMI_TWO_FACTOR_SECRET": "your-value",
"UMAMI_DEFAULT_WEBSITE_ID": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add umami --env UMAMI_API_KEY=your-value --env UMAMI_BASE_URL=your-value --env UMAMI_TOKEN=your-value --env UMAMI_USERNAME=your-value --env UMAMI_PASSWORD=your-value --env UMAMI_TWO_FACTOR_SECRET=your-value --env UMAMI_DEFAULT_WEBSITE_ID=your-value -- npx -y @obsidiancorps/umami-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"umami": {
"command": "npx",
"args": [
"-y",
"@obsidiancorps/umami-mcp"
],
"env": {
"UMAMI_API_KEY": "your-value",
"UMAMI_BASE_URL": "your-value",
"UMAMI_TOKEN": "your-value",
"UMAMI_USERNAME": "your-value",
"UMAMI_PASSWORD": "your-value",
"UMAMI_TWO_FACTOR_SECRET": "your-value",
"UMAMI_DEFAULT_WEBSITE_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"umami": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@obsidiancorps/umami-mcp"
],
"env": {
"UMAMI_API_KEY": "your-value",
"UMAMI_BASE_URL": "your-value",
"UMAMI_TOKEN": "your-value",
"UMAMI_USERNAME": "your-value",
"UMAMI_PASSWORD": "your-value",
"UMAMI_TWO_FACTOR_SECRET": "your-value",
"UMAMI_DEFAULT_WEBSITE_ID": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
UMAMI_BASE_URL envUMAMI_USERNAME envUMAMI_DEFAULT_WEBSITE_ID env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 obsidiancorps 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:UMAMI_API_KEY, UMAMI_TOKEN, UMAMI_PASSWORD, UMAMI_TWO_FACTOR_SECRET
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于2个月前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
Ask questions about your self-hosted Umami analytics without sending the data to another analytics SaaS.
A secure, model-friendly Model Context Protocol server for Umami Cloud and self-hosted Umami Analytics. It targets Umami v3.3.1 and the 2026-07-28 MCP protocol, while retaining compatibility with 2025-era MCP clients.
Requirements: Node.js 20 or newer and one configured authentication mode.
npx -y @obsidiancorps/umami-mcp
Try asking:
This repository also includes the Umami Analytics skill. The MCP server provides access to Umami; the skill guides an agent through traffic comparisons, conversion analysis, revenue, and performance investigations using those tools. It follows the Agent Skills format.
For MCP Market's Import from GitHub, use the skill folder URL:
https://github.com/ObsidianCorps/umami-mcp/tree/main/skills/umami-analytics
The URL must point to the folder containing SKILL.md. For a public repository, select Public repo. The folder must be pushed to main before the marketplace can import it.
For manual installation, copy skills/umami-analytics into your agent's skills directory (for example, .claude/skills/umami-analytics in a project). Configure and authenticate the MCP server separately; importing the skill does not install the server or grant access to analytics.
structuredContent plus readable JSON.401.Requirements: Node.js 20 or newer.
npm install
npm run build UMAMI_API_KEY=your-key node dist/cli.js
Example MCP client configuration:
{
"mcpServers": { "umami": { "command": "npx", "args": ["-y", "@obsidiancorps/umami-mcp"], "env": { "UMAMI_API_KEY": "your-key", "UMAMI_DEFAULT_WEBSITE_ID": "optional-website-uuid" } } } }
For a source checkout, replace the command with node and the arguments with the absolute path to dist/cli.js.
Choose exactly one mode:
| Mode | Variables | API base |
|---|---|---|
| Umami Cloud | UMAMI_API_KEY | Defaults to https://api.umami.is/v1 |
| Self-hosted token | UMAMI_BASE_URL, UMAMI_TOKEN | /api is added to a root URL |
| Self-hosted login | UMAMI_BASE_URL, UMAMI_USERNAME, UMAMI_PASSWORD | /api is added to a root URL |
| Self-hosted login+2FA | Login variables plus UMAMI_TWO_FACTOR_SECRET | /api is added to a root URL |
| One-off 2FA login | Login variables plus a current six-digit UMAMI_TWO_FACTOR_CODE | /api is added to a root URL |
UMAMI_TWO_FACTOR_SECRET is the Base32 setup seed shown when enrolling an authenticator. The MCP generates a six-digit SHA-1 TOTP just-in-time and never logs or returns it. Because storing the password and TOTP seed together removes the separation between factors, use a dedicated least-privilege Umami account and protect its environment. A pre-issued UMAMI_TOKEN avoids retaining either credential.
UMAMI_TWO_FACTOR_CODE is only a one-off fallback; it expires quickly and is unsuitable for normal MCP startup. Configure only one two-factor variable.
Non-local plain HTTP Umami URLs are rejected. For an explicitly trusted private network only, set UMAMI_ALLOW_INSECURE_HTTP=true.
The default read-only set is:
| Tool | Purpose |
|---|---|
umami_check_connection | Verify auth and inspect the current account |
umami_list_websites, umami_get_website | Discover and inspect sites |
umami_get_overview, umami_get_metrics | Aggregate KPIs, series, and ranked dimensions |
umami_get_realtime | Inspect the current 30-minute activity window |
umami_list_sessions, umami_inspect_session | Browse sessions, activity, properties, and replay metadata |
umami_query_session_data | Query session properties, pivots, stats, weekly traffic, and typed series |
umami_list_events, umami_query_event_data | Browse events, comparison stats, series, properties, values, and pivots |
umami_get_revenue | Fetch revenue stats, charts, dimensions, and sessions |
umami_list_replays | List replays or retrieve a replay event stream |
umami_run_report, umami_list_reports | Run or discover funnel, journey, goal, retention, attribution, UTM, revenue, performance, breakdown, and heatmap reports |
umami_list_segments | Discover segments and cohorts |
umami_list_assets | Discover boards, tracked links, and pixels |
Resources expose umami://capabilities and the live umami://websites list. Reusable prompts cover analytics review, conversion review, and realtime triage.
Most analytical tools accept either:
period: last_24_hours, last_7_days, last_30_days, last_90_days, today, yesterday, this_week, last_week, this_month, or last_month; orstartAt and endAt as epoch milliseconds or ISO 8601 timestamps with an offset.Calendar periods honor the supplied IANA timezone. Rolling periods retain the most recent data instead of rounding to midnight.
No mutation tool is registered by default.
UMAMI_ENABLE_WRITE_TOOLS=true
This adds tools for creating/updating websites, segments, reports, boards/links/pixels, and sending analytics events. To additionally expose permanent reset/delete operations:
UMAMI_ENABLE_WRITE_TOOLS=true
UMAMI_ENABLE_DESTRUCTIVE_TOOLS=true
Destructive calls require confirmation strings such as RESET or DELETE reports . MCP annotations also identify these tools as destructive so supporting hosts can require approval.
Loopback example:
MCP_TRANSPORT=http MCP_BEARER_TOKEN=replace-me npm start
For a container or non-loopback bind, both MCP_BEARER_TOKEN and MCP_ALLOWED_HOSTS are required:
docker build -t umami-mcp .
docker run --rm -p 3000:3000 \ -e UMAMI_API_KEY=your-key \ -e MCP_BEARER_TOKEN=long-random-secret \ -e MCP_ALLOWED_HOSTS=mcp.example.com \ umami-mcp
Set MCP_ALLOWED_ORIGINS to a comma-separated list of exact browser origins if browser-based MCP clients connect. Requests without an Origin header remain valid for native clients. Terminate TLS at a trusted reverse proxy; the built-in static bearer gate is suitable behind that boundary, not a replacement for OAuth on a public multi-user service.
| Variable | Default | Description |
|---|---|---|
UMAMI_BASE_URL | Cloud API for API-key auth | Umami root or full API base URL |
UMAMI_DEFAULT_WEBSITE_ID | — | Avoids site resolution for most calls |
UMAMI_TIMEOUT_MS | 15000 | Upstream request timeout, 100–120000 ms |
UMAMI_MAX_RESPONSE_BYTES | 512000 | Maximum upstream response, 1 KB–10 MB |
UMAMI_ENABLE_WRITE_TOOLS | false | Registers non-destructive mutation tools |
UMAMI_ENABLE_DESTRUCTIVE_TOOLS | false | Registers reset/delete tools; requires write tools |
MCP_TRANSPORT | stdio | stdio, http, or streamable-http |
MCP_HOST | 127.0.0.1 | HTTP bind address |
MCP_PORT | 3000 | HTTP port |
MCP_BEARER_TOKEN | — | Protects the HTTP MCP endpoint |
MCP_ALLOWED_HOSTS | — | Comma-separated hostnames for non-loopback HTTP |
MCP_ALLOWED_ORIGINS | — | Comma-separated exact browser origins |
npm install
npm test npm run typecheck npm run lint npm run format:check npm run build npm run check
Tests drive the server through real in-memory, stdio, and Streamable HTTP MCP clients. See CONTRIBUTING.md and SECURITY.md before opening a change.
只显示了开头部分;其余内容请在仓库中阅读