Ytranscript Mcp

io.github.nnnoel由 GitHub 帳號 nnnoel 發布v0.1.0更新於 Oct 25, 2026

YouTube transcripts for AI tools. No proxies needed; transcribes videos without captions.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理取得 YouTube 影片逐字稿,沒有字幕的影片可用 AI 語音辨識產生。

可以做什麼
  • 依 YouTube 連結或 11 碼影片 ID 取得影片逐字稿
  • 指定字幕語言軌,或預設回傳影片實際使用的語言
  • 回傳純文字或附時間戳的分行內容,可限制字元數並提示被截掉的部分
  • 每次回應附上本次用掉的額度與當月累計用量
適用情境
適合讓助理摘要、引用、依時間戳查找或翻譯 YouTube 影片內容,尤其是沒有字幕的影片,或在 YouTube 阻擋逐字稿請求的雲端主機上執行。
執行需求
以 stdio 方式在本機執行,通常透過 npx 啟動,需要 Node.js。需設定 YTRANSCRIPT_API_KEY 環境變數,可於服務商開發者頁面取得,提供每月 50 單位的免費方案。需要連線至服務商 API 的網路。
安裝前請注意
API 金鑰屬機密,透過環境變數傳入。用量按單位計費:字幕逐字稿 1 單位,AI 轉錄影片 15 單位,付費方案或加購用量包會產生費用。影片連結與 ID 會傳送給第三方 yTranscript API。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ytranscript-mcp

[npm] [ytranscript-mcp MCP server]

An MCP server that gives Claude, Cursor, VS Code, and other AI tools the transcript of any YouTube video.

  • Works from anywhere. Runs fine on AWS, Lambda, Vercel, n8n Cloud, and other cloud hosts. There are no proxies to buy and no IP bans to work around. YouTube blocks most cloud IPs for transcript requests; the yTranscript API handles that for you.
  • Handles videos without captions. If a video has no captions, it's transcribed with AI speech-to-text.
  • Returns the language actually spoken by default, including on auto-dubbed videos. Pass lang to pick a specific caption track.
  • Keeps long videos manageable. Choose plain text or timestamped lines, and cap the length so a two-hour video doesn't flood the model's context.

Setup

  1. Get a free API key at ytranscript.com/developers. The free plan includes 50 units a month, no card required.
  2. Add the server to your client using one of the configs below.

Claude Code

bash
claude mcp add ytranscript -e YTRANSCRIPT_API_KEY=yk_live_your_key -- npx -y ytranscript-mcp

Claude Desktop

Add this to claude_desktop_config.json. Open it from Settings → Developer → Edit Config.

json
{  "mcpServers": {    "ytranscript": {      "command": "npx",      "args": ["-y", "ytranscript-mcp"],      "env": { "YTRANSCRIPT_API_KEY": "yk_live_your_key" }    }  }}

Cursor

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

json
{  "mcpServers": {    "ytranscript": {      "command": "npx",      "args": ["-y", "ytranscript-mcp"],      "env": { "YTRANSCRIPT_API_KEY": "yk_live_your_key" }    }  }}

VS Code

Add this to .vscode/mcp.json:

json
{  "servers": {    "ytranscript": {      "command": "npx",      "args": ["-y", "ytranscript-mcp"],      "env": { "YTRANSCRIPT_API_KEY": "yk_live_your_key" }    }  }}

Any other MCP client that runs stdio servers works the same way: run npx -y ytranscript-mcp with YTRANSCRIPT_API_KEY set.

Tool: get_transcript

ArgumentRequiredDescription
videoyesA YouTube URL (watch, youtu.be, shorts, embed) or an 11-character video ID
langnoLanguage code of the caption track to fetch, such as en or es. Omit it to get the video's original language
formatnotext (default) returns plain text. timestamped returns one line per segment with [m:ss] times
max_charactersnoCut the transcript at about this many characters. The response says how much was left out

Things to ask your assistant:

  • "Summarize this video: https://youtu.be/..."
  • "What does the speaker say about pricing, and at what timestamps?"
  • "Pull the transcript of this Spanish video and translate it to English."

Every response ends with the units used and your monthly total, so you can keep an eye on your quota.

Pricing

A transcript from captions costs 1 unit. A video without captions, transcribed with AI, costs 15 units. Failed requests are free.

PlanPriceUnits per month
Free$050
Starter$9/mo1,000
Developer$29/mo10,000
Scale$79/mo50,000

Need more in a given month? Pay-as-you-go packs add 1,000 units for $10, 5,000 for $40 or 20,000 for $120, on top of any plan. See ytranscript.com/developers for details.

Related

License

MIT

來源:README.md,提交 6bdc462

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 24, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分