YouTube Reader

io.github.Anmol1310由 GitHub 帳號 Anmol1310 發布v1.0.0更新於 Nov 1, 2026

Turn any YouTube video into text: transcript, title, channel, timestamps.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取媒體與設計

概覽

AI 產生的概覽

遠端 MCP 伺服器,把 YouTube 連結轉成文字:標題、頻道和附時間戳的完整口述逐字稿。

可以做什麼
  • 依連結或純影片 ID 讀取 YouTube 影片為文字
  • 回傳標題、頻道、頻道連結、縮圖、語言、長度與片段數量
  • 回傳完整口述逐字稿以及附時間戳的分段
  • 支援 watch、youtu.be、shorts、embed、live 等連結格式
適用情境
適合需要取得無法觀看的 YouTube 影片口述內容時使用,例如摘要、引用或檢索演講、教學與訪談。
執行需求
遠端 streamable HTTP 端點;未宣告需要 API 金鑰或帳號。逐字稿抓取依賴 youtube-transcript-api 與 Invidious 備援來源,需要能連線這些服務的網路。
安裝前請注意
README 說明 MCP 工具每次呼叫計費 0.02 美元,透過 x402 在 Base 上以 USDC 支付,呼叫可能從錢包花費加密貨幣;一般 HTTP 端點據稱測試期間免費。受 YouTube 速率限制影響,從資料中心 IP 抓取逐字稿可能間歇失敗。影片連結會傳送給第三方託管服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 YouTube Reader,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Anmol1310%2Fyoutube-reader/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "youtube-reader": {
      "type": "http",
      "url": "https://web-production-0cbb7.up.railway.app/mcp"
    }
  }
}

README

YouTube Reader

Turn any YouTube video into text. For AI agents that can't watch video.

Give it a video link. Get back the title, channel, and the full spoken transcript with timestamps. One call, clean JSON. No API key needed.

Quick example

You send:

json
POST /read{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }

You get:

json
{  "video_id": "dQw4w9WgXcQ",  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",  "channel": "Rick Astley",  "channel_url": "https://www.youtube.com/@RickAstleyYT",  "thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",  "transcript_available": true,  "language": "English",  "segment_count": 61,  "duration_seconds": 213,  "full_text": "We're no strangers to love...",  "segments": [    { "start": 18.5, "text": "We're no strangers to love" },    { "start": 22.1, "text": "You know the rules and so do I" }  ]}

Run it

python3 -m venv .venv.venv/bin/pip install -r requirements.txt.venv/bin/python server.py        # http://127.0.0.1:8081
  • POST /read with {"url": "<youtube link>"} → full report (JSON)
  • GET /health → {"ok": true}

Accepts watch?v=, youtu.be/, /shorts/, /embed/, /live/ links and bare video IDs.

Use as an MCP server (Claude Desktop, Cursor, Windsurf...)

.venv/bin/pip install fastmcp.venv/bin/python mcp_server.py

One tool: youtube_reader(url) — same report as the HTTP API.

How transcripts are fetched (in order)

  1. youtube-transcript-api — direct, free
  2. Invidious instances — fallback, free

Known limitation: YouTube rate-limits automated requests from datacenter IPs, so transcript fetches can intermittently fail from cloud servers. Metadata (title/channel via official oEmbed) is unaffected. Professional fix: add a residential proxy (~$3 per 1,000 transcripts) as step 3.

Deploy (Railway, free tier)

  1. Push this folder to GitHub
  2. https://railway.app → New Project → Deploy from repo
  3. It reads requirements.txt + Procfile automatically. Done.
  4. Your API is live at the Railway URL: POST https://<your-app>.up.railway.app/read

Pricing

  • Metadata (title/channel): free
  • Transcript via MCP (youtube_reader tool): $0.02 per call, paid in USDC on Base via x402 — no signup, no API key. See PAYMENTS.md.
  • Plain HTTP API (POST /read): free while in beta
  • Heavy users: $19/month tier planned (Stripe, phase 2)

Monetization (MCPize)

Per-call pricing is configured in mcpize.yaml and the MCPize dashboard (Payments tab). Full setup guide, wallet instructions, testnet flow, and caveats: PAYMENTS.md.

來源:README.md,提交 4837c5b

工具

1

youtube_reader

Youtube Reader

Read a YouTube video as text. Give a YouTube link and get back the title, channel, and the full spoken transcript with timestamps. For AI agents that cannot watch video.

輸入參數url必填

版本歷史

1
  1. v1.0.0最新Oct 18, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。