MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Query Umami Analytics v3 — stats, funnels, retention, attribution, UTM. Read-only by default.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
UMAMI_URL, UMAMI_USERNAME, UMAMI_PASSWORD, UMAMI_API_KEY, UMAMI_MCP_MODEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"umami": {
"command": "npx",
"args": [
"-y",
"@asif2bd/umami-mcp"
],
"env": {
"UMAMI_URL": "ใส่ค่าของคุณ",
"UMAMI_USERNAME": "ใส่ค่าของคุณ",
"UMAMI_PASSWORD": "ใส่ค่าของคุณ",
"UMAMI_API_KEY": "ใส่ค่าของคุณ",
"UMAMI_MCP_MODE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add umami --env UMAMI_URL='ใส่ค่าของคุณ' --env UMAMI_USERNAME='ใส่ค่าของคุณ' --env UMAMI_PASSWORD='ใส่ค่าของคุณ' --env UMAMI_API_KEY='ใส่ค่าของคุณ' --env UMAMI_MCP_MODE='ใส่ค่าของคุณ' -- npx -y @asif2bd/umami-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"umami": {
"command": "npx",
"args": [
"-y",
"@asif2bd/umami-mcp"
],
"env": {
"UMAMI_URL": "ใส่ค่าของคุณ",
"UMAMI_USERNAME": "ใส่ค่าของคุณ",
"UMAMI_PASSWORD": "ใส่ค่าของคุณ",
"UMAMI_API_KEY": "ใส่ค่าของคุณ",
"UMAMI_MCP_MODE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"umami": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@asif2bd/umami-mcp"
],
"env": {
"UMAMI_URL": "ใส่ค่าของคุณ",
"UMAMI_USERNAME": "ใส่ค่าของคุณ",
"UMAMI_PASSWORD": "ใส่ค่าของคุณ",
"UMAMI_API_KEY": "ใส่ค่าของคุณ",
"UMAMI_MCP_MODE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
UMAMI_USERNAME envUMAMI_MCP_MODE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Asif2BD ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: UMAMI_URL, UMAMI_PASSWORD, UMAMI_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.3) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol server for Umami Analytics. Ask Claude, Cursor or any MCP client about your traffic — and let it create and manage websites — while your credentials stay on your own machine.
"Which pages drove the most visitors last month, and where did that traffic come from?"
"Build a funnel from /pricing to /signup to /welcome for the last 30 days." "Add analytics for my new site blog.example.com and give me the tracking snippet."
A throwaway site with generated traffic, on a live Umami 3.3.1 instance, read by a view-only service account — so the counts are small and mean nothing, but every one of them was really collected and really queried. Regenerate with vhs demo/demo.tape.
Umami now ships an official MCP server (since v3.4.0, MCP_ENABLED=1, endpoint /mcp). If read-only analytics is all you need, use that: it runs inside Umami, so there is nothing extra to deploy. See the Umami docs.
This server is for what the official one deliberately leaves out:
Official (/mcp) | umami-mcp | |
|---|---|---|
| Read analytics and reports | yes | yes |
| Create and update websites, teams, tracking snippets | — | write mode |
| User management | — | admin mode |
| Delete website / reset data | — | opt-in only |
| Umami older than 3.4 | — | 3.x |
| Sign-in | API key | API key, password, or OAuth (multi-tenant) |
Several community servers exist too, and if you just want broad API coverage you should look at 0xtlt/umami-mcp first — it wraps more of the API than this does. Some of the older servers (jakeyShakey, mikusnuz, mittwald, Macawls) were written against the v2 API and break on a modern instance, because v3 renamed things without aliases:
| Umami v2 | Umami v3 | |
|---|---|---|
| Top pages | /metrics?type=url | /metrics?type=path |
| Hostnames | /metrics?type=host | /metrics?type=hostname |
| UTM data | /metrics?type=utm_source | POST /api/reports/utm |
| Funnels, retention, journeys, attribution, revenue | — | POST /api/reports/* |
This server exists for two things the others do not do:
1. Complete, verified v3 report coverage. All seven v3 report types — funnel, retention, journey, goal, revenue, attribution and UTM — were exercised against a live Umami 3.3.1 instance. The report envelope is easy to get wrong: dates go in parameters as ISO-8601 strings, not in filters, and not as the epoch milliseconds the rest of the API uses. Attribution takes first-click / last-click, not the camelCase spellings you would guess.
2. A capability model rather than a boolean. See below.
An analytics MCP server holds a credential that can read every visitor session you have ever recorded — and, if you let it, delete the lot. The design follows from that.
Your credentials never leave your environment. Configuration is read only from the process environment. There is no telemetry, no phone-home, and no hosted relay. The only host this server ever contacts is the UMAMI_URL you set. If you self-host it, nothing about your analytics ever reaches a third party — including the author of this software.
Be wary of any Umami MCP that offers a hosted endpoint you point at your instance. Before
Umami 3.4 a self-hosted instance had no API keys, so "convenient" hosting meant mailing your
admin password to someone else's server. On 3.4+, give such a service a revocable API key
from a dedicated account, never a password.
Least privilege by default. The server starts in read mode. Widening is a deliberate act:
| Mode | Adds |
|---|---|
read *(default)* | Analytics, reports, listing websites |
write | Create and update websites and teams |
admin | User management |
+ UMAMI_MCP_ALLOW_DESTRUCTIVE=true | Delete website, reset data, delete user |
Withheld tools are not registered at all, so they never appear in the model's tool list. This is the part that differs from a READONLY=true flag: a tool that was never advertised cannot be invoked by a prompt-injected instruction hidden in, say, a referrer string or a page title inside your own analytics data. There is no runtime check to forget or bypass, because there is no tool.
Destructive actions need a typed confirmation checked against reality. umami_delete_website takes a confirmDomain argument, fetches the live record, and refuses unless they match. A model that reaches for the wrong website UUID gets an error, not a wiped dataset.
Credentials stay out of client config. Rather than requiring your password inside ~/.claude.json or mcp.json, the server reads it from a file you control at ~/.config/umami-mcp/env, and warns if that file is readable by other users. See Credentials.
Secrets are scrubbed from output. MCP output flows into a model and often into a chat transcript, which cannot be un-said. Passwords, bearer tokens and JWTs are redacted from every error and response before they leave the process.
Refuses to leak credentials over the wire. Plaintext HTTP to a remote host is rejected at startup; it is permitted only for localhost, for local development.
Three ways to run it. Self-hosting is the default and the recommended one — the hosted instance exists so you can try it in two minutes without cloning anything.
| Runs where | Credentials live | Best for | |
|---|---|---|---|
| Hosted | asif.dev | Sealed in your token, never stored | Trying it out; Claude web and Cowork |
| Source | Your machine | A file only you can read | Daily use in Claude Code |
| Docker | Your server | Your .env | Teams, always-on |
If you self-host and want it in Claude web, run it with UMAMI_MCP_OAUTH=true behind your own domain — then nothing of yours touches anyone else's infrastructure.
Add a custom connector in Claude pointing at:
https://umami-mcp.asif.dev/mcp
You will be asked for your own Umami URL and login on a consent screen. See Claude web, Cowork, and Claude Code on web for how the credentials are handled.
git clone https://github.com/Asif2BD/umami-mcp.git
cd umami-mcp npm install && npm run build
Then set up credentials and register it with your client:
claude mcp add umami --scope user -- node "$PWD/dist/index.js"
Requires Node 20 or newer.
git clone https://github.com/Asif2BD/umami-mcp.git
cd umami-mcp cp .env.example .env # then edit .env docker compose up -d
npm: not published yet. Once it is,
npx -y @asif2bd/umami-mcpwill replace the
clone-and-build step above. Until then use source or Docker.
On Umami 3.4.0 or later, prefer an API key (Settings → API keys) in UMAMI_API_KEY: it can be revoked on its own without changing a password. It is sent as Authorization: Bearer to a self-hosted instance and as x-umami-api-key to Umami Cloud. Older instances have no API keys, so the credential is a real account password. Either way, MCP clients normally want that embedded in their config JSON — ~/.claude.json, mcp.json and friends — which are widely readable, get pasted into issues and screen-shares, and are synced between machines by some clients.
So this server reads credentials from a file you control instead. Create it once:
mkdir -p ~/.config/umami-mcp
cat > ~/.config/umami-mcp/env <<'EOF' UMAMI_URL=https://analytics.example.com UMAMI_USERNAME=mcp-bot UMAMI_PASSWORD=your-password UMAMI_MCP_MODE=read EOF chmod 600 ~/.config/umami-mcp/env
The server loads it automatically. It warns on startup if the file is readable by other users.
Lookup order — the first file found wins, and real environment variables always override the file, so you can still pass settings from the client config when you want to:
$UMAMI_MCP_ENV_FILE, if set~/.config/umami-mcp/env (or $XDG_CONFIG_HOME/umami-mcp/env)./.env in the working directoryWith the credentials file above, the registration carries no secrets at all:
claude mcp add umami --scope user -- node ~/umami-mcp/dist/index.js
Use the absolute path to your checkout. If your Node lives under nvm, give the full interpreter path too, since MCP clients do not load your shell profile:
claude mcp add umami --scope user -- ~/.nvm/versions/node/v22.22.0/bin/node ~/umami-mcp/dist/index.js
{
"mcpServers": { "umami": { "command": "node", "args": ["/absolute/path/to/umami-mcp/dist/index.js"] } } }
If you would rather keep everything in one place, environment variables still work and take precedence over the file:
{
"mcpServers": { "umami": { "command": "node", "args": ["/absolute/path/to/umami-mcp/dist/index.js"], "env": { "UMAMI_URL": "https://analytics.example.com", "UMAMI_USERNAME": "mcp-bot", "UMAMI_PASSWORD": "your-password" } } } }
Ask your client to run umami_whoami. It reports the instance, the account, and the permission mode — the fastest way to confirm the connection and see how much the server is allowed to do:
{
"instance": "https://analytics.example.com", "authenticatedAs": "mcp-bot", "role": "admin", "serverMode": "read", "destructiveOperations": "disabled" }
Then try: *"List my Umami websites"*, or *"What were my top pages last week?"*
Those clients cannot launch a local process, so they need a public HTTPS MCP server — and their connector UI accepts OAuth only, with no field for a static bearer token or custom header.
Hosting the obvious way, with one set of Umami credentials baked in and no authentication, turns the URL into an open proxy to that Umami. So this server does OAuth instead, and does it without becoming a credential store.
Add a custom connector in Claude with this URL:
https://umami-mcp.asif.dev/mcp
Claude registers itself, sends you to a consent screen, and asks for your own Umami URL, username and password. Nothing is shared with other users of the host.
UMAMI_MCP_OAUTH=true
UMAMI_MCP_TRANSPORT=http UMAMI_MCP_ISSUER=https://mcp.example.com # public HTTPS URL of this server UMAMI_MCP_TOKEN_KEY=<32 random bytes> # keep stable; see below UMAMI_MCP_TOKEN_TTL=2592000
ตัดมาแค่ช่วงต้น อ่านต่อใน repo