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 集成