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 分

    请在仓库或注册中心条目中声明许可证。