MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Curated read-only Matomo Analytics tools: traffic, pages, referrers, e-commerce, real-time & more.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MATOMO_URL, MATOMO_TOKEN, MATOMO_DEFAULT_SITE_ID, MATOMO_EXTRA_HEADERS, MATOMO_TIMEOUT_SECS, MATOMO_MAX_RESPONSE_CHARS, MATOMO_INSECUREค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"matomo": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"-e",
"MATOMO_DEFAULT_SITE_ID",
"-e",
"MATOMO_EXTRA_HEADERS",
"-e",
"MATOMO_TIMEOUT_SECS",
"-e",
"MATOMO_MAX_RESPONSE_CHARS",
"-e",
"MATOMO_INSECURE",
"ghcr.io/liohtml/matomo-mcp:v0.1.4"
],
"env": {
"MATOMO_URL": "ใส่ค่าของคุณ",
"MATOMO_TOKEN": "ใส่ค่าของคุณ",
"MATOMO_DEFAULT_SITE_ID": "ใส่ค่าของคุณ",
"MATOMO_EXTRA_HEADERS": "ใส่ค่าของคุณ",
"MATOMO_TIMEOUT_SECS": "ใส่ค่าของคุณ",
"MATOMO_MAX_RESPONSE_CHARS": "ใส่ค่าของคุณ",
"MATOMO_INSECURE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add matomo --env MATOMO_URL='ใส่ค่าของคุณ' --env MATOMO_TOKEN='ใส่ค่าของคุณ' --env MATOMO_DEFAULT_SITE_ID='ใส่ค่าของคุณ' --env MATOMO_EXTRA_HEADERS='ใส่ค่าของคุณ' --env MATOMO_TIMEOUT_SECS='ใส่ค่าของคุณ' --env MATOMO_MAX_RESPONSE_CHARS='ใส่ค่าของคุณ' --env MATOMO_INSECURE='ใส่ค่าของคุณ' -- docker run -i --rm -e MATOMO_URL -e MATOMO_TOKEN -e MATOMO_DEFAULT_SITE_ID -e MATOMO_EXTRA_HEADERS -e MATOMO_TIMEOUT_SECS -e MATOMO_MAX_RESPONSE_CHARS -e MATOMO_INSECURE ghcr.io/liohtml/matomo-mcp:v0.1.4เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"matomo": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"-e",
"MATOMO_DEFAULT_SITE_ID",
"-e",
"MATOMO_EXTRA_HEADERS",
"-e",
"MATOMO_TIMEOUT_SECS",
"-e",
"MATOMO_MAX_RESPONSE_CHARS",
"-e",
"MATOMO_INSECURE",
"ghcr.io/liohtml/matomo-mcp:v0.1.4"
],
"env": {
"MATOMO_URL": "ใส่ค่าของคุณ",
"MATOMO_TOKEN": "ใส่ค่าของคุณ",
"MATOMO_DEFAULT_SITE_ID": "ใส่ค่าของคุณ",
"MATOMO_EXTRA_HEADERS": "ใส่ค่าของคุณ",
"MATOMO_TIMEOUT_SECS": "ใส่ค่าของคุณ",
"MATOMO_MAX_RESPONSE_CHARS": "ใส่ค่าของคุณ",
"MATOMO_INSECURE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"matomo": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"-e",
"MATOMO_DEFAULT_SITE_ID",
"-e",
"MATOMO_EXTRA_HEADERS",
"-e",
"MATOMO_TIMEOUT_SECS",
"-e",
"MATOMO_MAX_RESPONSE_CHARS",
"-e",
"MATOMO_INSECURE",
"ghcr.io/liohtml/matomo-mcp:v0.1.4"
],
"env": {
"MATOMO_URL": "ใส่ค่าของคุณ",
"MATOMO_TOKEN": "ใส่ค่าของคุณ",
"MATOMO_DEFAULT_SITE_ID": "ใส่ค่าของคุณ",
"MATOMO_EXTRA_HEADERS": "ใส่ค่าของคุณ",
"MATOMO_TIMEOUT_SECS": "ใส่ค่าของคุณ",
"MATOMO_MAX_RESPONSE_CHARS": "ใส่ค่าของคุณ",
"MATOMO_INSECURE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MATOMO_DEFAULT_SITE_ID envMATOMO_EXTRA_HEADERS envMATOMO_TIMEOUT_SECS envMATOMO_MAX_RESPONSE_CHARS envMATOMO_INSECURE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Liohtml ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: MATOMO_URL, MATOMO_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.4) เข้า registry 22 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Rust, Docker ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Talk to your Matomo Analytics. From Claude, Cursor, VS Code, or any MCP client.
*15 curated, read-only analytics tools + a full-API escape hatch. Single binary, instant startup, context-friendly.*
Quickstart · Clients · Tools · Configuration · FAQ
You ▸ How was traffic yesterday, and where did it come from?
Claude ▸ Yesterday you had 14,472 visits (11,416 unique visitors, 66% bounce rate). Top acquisition channels:
Every question your Matomo dashboard can answer, your AI assistant can now answer too — including follow-ups, comparisons, and "why?".
| 🎯 Curated, not generated | 15 hand-crafted tools modeled on real analytics questions — not 70+ auto-generated API mirrors that flood the model's context and degrade tool selection. |
| ⚡ Instant startup | No introspection round-trips. One static binary, no Node, no Python, no runtime. Starts in milliseconds. |
| 🔒 Safe by default | Read-only reporting tools. Token sent via POST only (never in URLs/logs), redacted from every error. TLS verification on by default. |
| 🧠 Context-friendly | Row limits on every report and a hard response budget with actionable guidance — one tool call can never blow up the context window. |
| 📡 Real-time included | Live visitor counters and a visit log (matomo_realtime) — see what's happening *right now*. |
| 🧰 Never a cage | matomo_api reaches any Reporting API method (funnels, heatmaps, custom dimensions, …) when the curated tools don't cover it. |
| 🔁 Resilient | Automatic retries with backoff on 429/5xx/network hiccups. Helpful, hint-annotated error messages the model can act on. |
Prebuilt binary (Linux, macOS, Windows) — grab it from Releases, or:
# Cargo
cargo install matomo-mcp
cargo install --git https://github.com/Liohtml/matomo-mcp
docker pull ghcr.io/liohtml/matomo-mcp
Matomo → Settings (⚙) → Personal → Security → Auth tokens → *Create new token*. View-only permissions are all it needs.
matomo-mcp --url https://your-matomo.example.com --token YOUR_TOKEN --check
✓ Connected — Matomo version 5.2.1
✓ Token grants access to 3 site(s): #1 My Shop (https://shop.example.com) #2 Blog (https://blog.example.com) #3 Docs (https://docs.example.com)
Claude Code
claude mcp add matomo \
--env MATOMO_URL=https://your-matomo.example.com \ --env MATOMO_TOKEN=YOUR_TOKEN \ --env MATOMO_DEFAULT_SITE_ID=1 \ -- matomo-mcp
Claude Desktop
Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": { "matomo": { "command": "matomo-mcp", "env": { "MATOMO_URL": "https://your-matomo.example.com", "MATOMO_TOKEN": "YOUR_TOKEN", "MATOMO_DEFAULT_SITE_ID": "1" } } } }
Cursor
.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": { "matomo": { "command": "matomo-mcp", "env": { "MATOMO_URL": "https://your-matomo.example.com", "MATOMO_TOKEN": "YOUR_TOKEN", "MATOMO_DEFAULT_SITE_ID": "1" } } } }
VS Code (GitHub Copilot)
.vscode/mcp.json:
{
"servers": { "matomo": { "type": "stdio", "command": "matomo-mcp", "env": { "MATOMO_URL": "https://your-matomo.example.com", "MATOMO_TOKEN": "${input:matomo-token}", "MATOMO_DEFAULT_SITE_ID": "1" } } }, "inputs": [ { "id": "matomo-token", "type": "promptString", "description": "Matomo API token", "password": true } ] }
Windsurf / Zed / other MCP clients
Any client that speaks MCP over stdio works with the generic shape:
{
"command": "matomo-mcp", "args": [], "env": { "MATOMO_URL": "https://your-matomo.example.com", "MATOMO_TOKEN": "YOUR_TOKEN", "MATOMO_DEFAULT_SITE_ID": "1" } }
Docker (any client)
{
"mcpServers": { "matomo": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MATOMO_URL", "-e", "MATOMO_TOKEN", "-e", "MATOMO_DEFAULT_SITE_ID", "ghcr.io/liohtml/matomo-mcp" ], "env": { "MATOMO_URL": "https://your-matomo.example.com", "MATOMO_TOKEN": "YOUR_TOKEN", "MATOMO_DEFAULT_SITE_ID": "1" } } } }
Streamable HTTP — host once, connect many clients
Run the server once (on a workstation, LAN box, or container) and point any number of MCP clients at it:
matomo-mcp --url https://your-matomo.example.com --token YOUR_TOKEN --http 127.0.0.1:8080
Clients connect to http://127.0.0.1:8080/mcp with the streamable HTTP transport, e.g.:
claude mcp add --transport http matomo http://127.0.0.1:8080/mcp
[!WARNING]
The HTTP endpoint has no built-in authentication. Keep it bound to
127.0.0.1, or put a reverse proxy with auth (or a firewall) in front
before exposing it beyond localhost.
[!TIP]
Set
MATOMO_DEFAULT_SITE_IDand the model never has to ask which site you mean.
No token at hand? Try it against the public demo:
--url https://demo.matomo.cloud --default-site-id 1(no token needed).
| Tool | Answers questions like |
|---|---|
matomo_list_sites | *"Which sites do we track?"* |
matomo_visits_summary | *"How much traffic did we get last week?"* |
matomo_pages | *"What are our top pages? Where do people exit?"* |
matomo_referrers | *"Where do visitors come from? Which campaigns work? What do AI assistants send us?"* |
matomo_events | *"How often was the configurator opened?"* |
matomo_goals | *"What's our conversion rate per goal?"* |
matomo_ecommerce | *"Revenue this month? Best-selling products?"* |
matomo_geo | *"Which countries/cities do visitors come from?"* |
matomo_devices | *"Mobile vs. desktop? Which browsers?"* |
matomo_visit_times | *"When during the day/week do people visit?"* |
matomo_site_search | *"What do people search for on our site — and find nothing?"* |
matomo_realtime | *"Who's on the site right now?"* |
matomo_page_performance | *"Which pages load slowly?"* |
matomo_annotations | *"Which deploys or campaign launches line up with that traffic spike?"* |
matomo_api | Everything else — funnels, heatmaps, custom dimensions, any Module.action of the Reporting API |
All tools accept site_id, period (day/week/month/year/range), date (today, yesterday, 2026-07-01, last30, or start,end ranges), an optional segment (e.g. deviceType==mobile;country==DE), and a row limit.
| Flag | Env | Default | Description |
|---|---|---|---|
--url | MATOMO_URL | — | Matomo instance URL (sub-directory installs like https://example.com/matomo/ work). Without it the server still starts and tool calls return setup guidance |
--token | MATOMO_TOKEN | — | API token (token_auth), view access is enough |
--default-site-id | MATOMO_DEFAULT_SITE_ID | — | Site used when the model doesn't specify one |
--header | MATOMO_EXTRA_HEADERS | — | Extra HTTP headers (Name:Value, repeatable / comma-separated) — for auth proxies, Zero-Trust, multi-tenant setups |
--timeout-secs | MATOMO_TIMEOUT_SECS | 30 | Per-request timeout |
--max-response-chars | MATOMO_MAX_RESPONSE_CHARS | 50000 | Response budget before truncation |
--http | MATOMO_HTTP_BIND | — | Serve MCP over streamable HTTP on this address instead of stdio (endpoint: http:// /mcp) |
--insecure | MATOMO_INSECURE | false | Accept self-signed TLS certificates (explicit opt-in) |
--check | — | — | Verify URL + token + site access, then exit |
FGRibreau/mcp-matomo?mcp-matomo (which inspired this project — thanks! 🙏) introspects your Matomo instance at startup and generates one MCP tool per API method. matomo-mcp takes the opposite approach:
| matomo-mcp | mcp-matomo | |
|---|---|---|
| Tool set | 15 curated tools + escape hatch | ~70+ generated tools |
| Model context cost | Small, stable | Large, instance-dependent |
| Parameter types | Exact, hand-written enums/defaults | Inferred from parameter names |
| Startup | Instant (no network I/O) | Introspection round-trips (or cached spec file) |
| TLS verification | On by default | Disabled for introspection |
| Sub-directory installs | ✅ | Path is overwritten |
| Response size guard | Row limits + hard budget | — |
| Retries on transient errors | ✅ | — |
| Real-time (Live) tools | ✅ | — (not part of report metadata) |
If you want *every* API method as its own tool, use mcp-matomo. If you want the model to reliably pick the right tool and never flood its context, use matomo-mcp.
"site_id is required"
Either pass --default-site-id 1 (recommended) or let the model call matomo_list_sites first.
401 / "cannot be authenticated"
Run matomo-mcp --url ... --token ... --check. If it fails: regenerate the token (Settings → Personal → Security), make sure it has at least view access to the site.
404 or HTML instead of JSON
MATOMO_URL must point at the Matomo root — the folder containing index.php. For https://example.com/matomo/index.php, use https://example.com/matomo/.
Behind Cloudflare Access / OAuth2 proxy / Zero Trust?
Inject the bypass headers: --header "CF-Access-Client-Id:..." --header "CF-Access-Client-Secret:..." (or via MATOMO_EXTRA_HEADERS).
Responses feel truncated
That's the context guard doing its job. Ask for fewer rows, a shorter date range, or raise --max-response-chars.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo