MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Clip YouTube videos and livestreams into viral 9:16 shorts, in parallel, for AI agents
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"clipswarm": {
"command": "npx",
"args": [
"-y",
"clipswarm",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add clipswarm -- npx -y clipswarm mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"clipswarm": {
"command": "npx",
"args": [
"-y",
"clipswarm",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"clipswarm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"clipswarm",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Shoberman2 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 28 วันที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Open-source, agent-native video clipping. Point any number of AI agents at YouTube videos *or live streams*, and get ready-to-post viral shorts back: 9:16, a hook header, and word-by-word captions. Runs on your machine, with no API keys and no subscription.
Made with one command: clipswarm clip https://youtu.be/75-H-i9ctkE 6 14.4 --viral --title "Astronauts celebrate July 4th from 250 miles up" Footage: NASA (public domain). No endorsement implied.
"Get me the 3 best moments from each of these 10 podcasts as shorts"
│ ├─ clipper agent 1 ─┐ ├─ clipper agent 2 ─┼─► clipswarm MCP ─► yt-dlp ─► ffmpeg ─► clips/*_viral.mp4 └─ clipper agent N ─┘ shared queue, cached transcripts, retries
OpusClip-style apps decide for you what's "viral". clipswarm gives your agent the tools to decide, then does the production work:
start: -60, end: "now"), or what aired at 8:41pm.drawtext/libass (e.g. Homebrew's) work fine.1. Dependencies (Node 20+):
brew install yt-dlp ffmpeg whisper-cpp # macOS
npx -y clipswarm setup # checks everything; downloads the caption model (~140MB)
whisper-cpp is optional. Without it, everything works, but live-stream clips render without captions.
Keep yt-dlp up to date (
yt-dlp -U/brew upgrade yt-dlp). YouTube regularly breaks older versions. This is the #1 cause of failures.
2. Add it to your AI app:
| App | How |
|---|---|
Claude Code (recommended, includes the clipper agent) | /plugin marketplace add Shoberman2/clipswarm then /plugin install clipswarm@clipswarm |
| Claude Code (MCP only) | claude mcp add clipswarm -- npx -y clipswarm mcp --out ./clips |
| Claude Desktop | Settings → Developer → Edit Config, add the JSON below |
| ChatGPT desktop app / Codex | codex mcp add clipswarm -- npx -y clipswarm mcp (shared by Codex CLI, the IDE extension and the ChatGPT desktop app) |
| Cursor | ~/.cursor/mcp.json, JSON below |
| VS Code | code --add-mcp '{"name":"clipswarm","command":"npx","args":["-y","clipswarm","mcp"]}' |
| Gemini CLI | gemini mcp add clipswarm npx -y clipswarm mcp |
{ "mcpServers": { "clipswarm": { "command": "npx", "args": ["-y", "clipswarm", "mcp", "--out", "/Users/you/clips"] } } }
Why not claude.ai or ChatGPT on the web? Those only connect to *hosted* servers. Hosting a YouTube downloader means datacenter IP blocks, Terms of Service exposure, and shipping 50MB videos through a chat window. clipswarm runs locally, where all three problems disappear.
In Claude Code with the plugin installed:
Spawn a clipper agent for each of these videos in parallel and get me the 3 strongest moments from each as viral shorts:
Clip the last 60 seconds of https://www.youtube.com/@aljazeeraenglish/live as a viral short.
Each clipper agent reads its video's transcript, picks self-contained moments, writes a hook for each, and calls create_clips. They all run at once.
| Option | Default | |
|---|---|---|
style | "plain" | "viral" for the 9:16 format |
title | video title | The header hook. Agents should write a punchy one (≤10 words); "" for no header |
background | "#000000" | Colour behind the video (or "blur") |
captions | true | Word-by-word captions, 1–3 words at a time, current word highlighted |
accent | "#FFE600" | Highlight colour |
The full frame is always shown. clipswarm never crops or zooms, because what matters in a video (a spreadsheet, a chart, a second speaker) can be anywhere in the frame. The layout follows the source:
| Source | Layout |
|---|---|
| Widescreen (16:9, screen recordings, podcasts) | Full width, header above, captions below, centred on black |
| Vertical (9:16 Shorts, phone video) | Fills the frame; header and captions sit over the video |
| Square / 4:3 / anything else | Scaled as large as fits, nothing cut off |
Captions come from YouTube's auto-captions (exact per-word timing) for regular videos, and from local whisper.cpp for live streams or videos without captions. If neither is available, the clip still renders and the result includes a warnings entry explaining why.
Paste a link to a stream that's live right now (a watch?v= or a channel's /live link). Times are relative to the live edge:
| You want | start | end |
|---|---|---|
| The last 30 seconds | -30 | "now" |
| 2 minutes ago, 20s long | "-2:00" | "-1:40" |
| What aired at a specific moment | "2026-10-08T00:51:00Z" | "2026-10-08T00:51:30Z" |
live.from / live.to in the result give the exact wall-clock range. Use precise: true for frame-accurate cuts. Viral clips are always frame-accurate.end can't be in the future. Retry once it has aired.Give clipswarm a category and a schedule. It searches YouTube for new videos, picks the best moments, and renders them as viral clips while you're away. A Mac notification appears when new clips land.
clipswarm watch add "netflix stock analysis" --every 6h # what to look for, how often
clipswarm watch install # background job (launchd on macOS) clipswarm watch run --force # or run it right now clipswarm watch inbox # what it found and clipped
Or just ask your agent: *"Watch for new AI agent news videos every 12 hours and clip the best moments."* (MCP tools: create_watch, list_watches, run_watch, get_inbox, update_inbox_item, delete_watch, watch_scheduler.)
How it picks moments, best first:
If YouTube's captions are missing or rate-limited, the watcher downloads just the audio and transcribes it with whisper.cpp. Anything it can't clip lands in the inbox as needs_agent for your agent to handle.
| Option | Default | |
|---|---|---|
--every | 6h | 30m, 6h, 1d… (min 5m) |
--max-age | 72h | Only videos uploaded within this window |
--min-views | none | Skip small videos |
--videos | 3 | New videos per run |
--clips / --seconds | 2 / 45 | Clips per video, target length |
--picker | auto | ai, heatmap or transcript to force one |
--live | off | Also list streams that are live right now in the inbox |
--no-auto | off | Only collect videos; don't clip |
--out | ~/clipswarm/ | Where clips go |
State lives in ~/.clipswarm/ (CLIPSWARM_HOME to move it). Each video is only processed once. On Linux, watch install prints a crontab line, and clipswarm watch daemon runs a foreground loop anywhere.
get_video_info, search_transcript and get_transcript. Transcripts come from YouTube's captions via yt-dlp and are cached.Contributors: see docs/ARCHITECTURE.md for a full walkthrough of the code.
| Tool | What it does |
|---|---|
get_video_info | Title, channel, duration, chapters, liveStatus |
get_transcript | Timestamped transcript as compact [m:ss] text lines, optionally windowed with from/to |
search_transcript | Where a phrase is said, as padded time windows ready to clip |
create_clips | Cuts many clips in parallel across any number of videos, live or not. Options: style, title, captions, accent, background, label, vertical, maxHeight, precise |
get_clips | Collects results from a batch still rendering. create_clips returns after ~40s with a jobId so MCP clients' ~60s timeouts never kill long batches |
create_watch, list_watches, delete_watch, run_watch | Manage scheduled YouTube topic searches and optional automatic clipping |
get_inbox, update_inbox_item, watch_scheduler | Review videos that need an agent and manage the opt-in background scheduler |
clipswarm clip <url> 13:53 14:28 --viral --title "His best advice in 30 seconds"
clipswarm clip -60 now --viral --title "This just happened live" clipswarm clip 1:23 1:58 --label raw-cut # plain clip clipswarm batch jobs.json --out clips # many jobs at once, writes clips/manifest.json clipswarm search stay hungry clipswarm transcript clipswarm setup
Watches search YouTube for recently uploaded videos in a category and can clip their strongest moments. Video searches and clipping happen only when you run a watch or install the background scheduler; adding a watch only saves its settings.
clipswarm watch add "AI research" --every 6h
clipswarm watch list clipswarm watch run ai-research clipswarm watch inbox clipswarm watch remove ai-research
Automatic clipping is on by default. T
ตัดมาแค่ช่วงต้น อ่านต่อใน repo