TubeToTranscript

io.github.TubeToTranscript由 GitHub 帳號 TubeToTranscript 發布v1.1.1更新於 Oct 29, 2026

YouTube transcripts for AI agents: captions with timestamps, languages, TXT, SRT and VTT export.

發布方自己的服務:Transcript

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

概覽

AI 產生的概覽

為 AI 助理取得 YouTube 字幕,回傳含時間戳、標題、頻道與語言的逐字稿,並支援字幕匯出。

可以做什麼
  • 取得影片字幕逐字稿,含帶時間戳的片段、標題、頻道與語言
  • 在取得逐字稿前查詢影片提供哪些字幕與字幕軌語言
  • 將逐字稿匯出為純文字、含時間戳文字、SRT 或 WebVTT
  • 支援 watch 連結、Shorts、youtu.be、嵌入連結或純影片 ID
適用情境
適合讓助理摘要 YouTube 影片、依時間戳找出某段話、把講座整理成筆記,或匯出指定語言的字幕檔。
執行需求
本機模式透過 npx 執行,需要 Node.js 18 或更新版本,不需 API 金鑰或帳號。遠端端點 tubetotranscript.com 需在 Authorization 標頭提供 bearer API 金鑰,可透過免費註冊取得。需要能連線取得 YouTube 字幕的網路。
安裝前請注意
遠端端點要求以 Authorization bearer 標頭傳送 API 金鑰,請求會在 TubeToTranscript 的伺服器上執行而非本機。取得逐字稿會消耗請求額度,影片資訊查詢免費。僅讀取既有字幕,沒有字幕的影片會回報錯誤,且字幕文字可能有辨識錯誤。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 TubeToTranscript,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "tubetotranscript": {
      "type": "http",
      "url": "https://www.tubetotranscript.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

TubeToTranscript MCP Server: YouTube Transcripts for Claude, Cursor & AI Agents

By TubeToTranscript, the free YouTube transcript generator. Website · API docs · Remote MCP endpoint · npm · Source

tubetotranscript-mcp is a Model Context Protocol (MCP) server that lets AI assistants read YouTube videos. Ask Claude, Cursor, or any MCP client to summarize a video, find a quote, or turn a lecture into notes, and it fetches the video's captions itself, with timestamps, title, channel, and language.

  • Free, no API key, no account. Runs on your computer and reads the captions YouTube already has.
  • Works with any video that has captions: watch links, Shorts, youtu.be links, embeds, or a bare video ID.
  • Every caption language the video offers, including auto-generated tracks.
  • Exports plain text, text with timestamps, SRT, and WebVTT subtitles.

Quick start

Point your MCP client at the package with npx. Nothing to install globally.

Claude Desktop

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

json
{  "mcpServers": {    "tubetotranscript": {      "command": "npx",      "args": ["-y", "tubetotranscript-mcp"]    }  }}

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "tubetotranscript": {      "command": "npx",      "args": ["-y", "tubetotranscript-mcp"]    }  }}

Restart the client afterwards so it picks up the new server.

Claude Code

bash
claude mcp add tubetotranscript -- npx -y tubetotranscript-mcp

What you can ask

Once connected, just paste a YouTube link into the chat:

  • "Summarize this video in five bullet points: https://youtu.be/…"
  • "When does the speaker talk about pricing? Give me the timestamps."
  • "Turn this lecture into study notes and ten flashcards."
  • "Which caption languages does this video have?"
  • "Export the Spanish captions as an SRT file."

Tools

get_youtube_transcript

Returns the transcript with timed segments, title, channel, duration, and the available languages.

ParameterRequiredDescription
url_or_video_idyesVideo URL (watch, shorts, youtu.be, embed) or the 11-character ID
languagenoLanguage code such as en, es, fr. Defaults to English or the primary track

get_available_languages

Lists every caption and subtitle track available for a video.

ParameterRequiredDescription
url_or_video_idyesVideo URL or 11-character ID

export_youtube_transcript

Converts a transcript into a text or subtitle format.

ParameterRequiredDescription
url_or_video_idyesVideo URL or 11-character ID
formatyestxt, txt_with_timestamps, srt, or vtt
languagenoLanguage code

Local or remote?

Local (this package)Remote (tubetotranscript.com/mcp)
Installnpx -y tubetotranscript-mcpNone, connect by URL
TransportstdioStreamable HTTP
API keyNot neededRequired (get a free key)
Where requests runYour computerTubeToTranscript's servers

Clients that take a remote URL, such as Cursor:

json
{  "mcpServers": {    "tubetotranscript": {      "url": "https://www.tubetotranscript.com/mcp",      "headers": { "Authorization": "Bearer YOUR_API_KEY" }    }  }}

Without an AI client

The same transcripts are available on the web at TubeToTranscript, free and without signing up:

Requirements & limitations

  • Node.js 18 or later (uses the built-in fetch).
  • Reads only captions that YouTube already exposes. Videos with captions turned off return an error; this server does no speech-to-text of its own.
  • Caption text can contain recognition errors. Check names, figures, and quotes against the video.

License

MIT. Made by TubeToTranscript.

來源:README.md,提交 0c3b273

工具

2

get_youtube_transcript

Get YouTube transcript

Returns the caption transcript of a YouTube video or Short, with its title, channel, and language. Uses one metered API request.

輸入參數languageurl_or_video_id必填include_timestamps

get_video_info

Get YouTube video info

Returns a video's title, channel, and available caption languages, so you can pick a language before fetching the transcript. Free: not counted against your request allowance.

輸入參數url_or_video_id必填

版本歷史

1
  1. v1.1.1最新Oct 29, 2026

評分

已滿足適用檢查項的 100%

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

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

其他 Transcript 整合