Youtube Transcript MCP 5d9fb49d

MCP音视频

提供方 hancengiz · 包名 @fabriqa.ai/youtube-transcript-mcp/update-config.js

音视频 stdio · 本地进程 无需鉴权 社区 / 第三方 Claude
查看接入方式

一个用于从YouTube视频中检索转录文本的服务器,支持多语言、时间戳选择和高效上下文使用,适用于视频内容分析、摘要和教育用途。

一句话选型结论

按资料字段整理

Youtube Transcript MCP 5d9fb49d 属于音视频类 MCP 服务器,stdio · 本地进程,无需鉴权,可直接接入 Claude,有可直接执行的安装命令。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类音视频 传输方式stdio · 本地进程 鉴权无需鉴权 部署方式本地部署
GitHub 星标 10 仓库热度,无公开仓库时显示未标注
工具数 2 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

音视频
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量2暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

视频转录JavaScript本地部署内容分析多语言支持教育工具研究辅助

安装与配置

stdio · 本地进程 无需鉴权
客户端在本机拉起子进程,数据不出本机
npx @fabriqa.ai/youtube-transcript-mcp/update-config.js

这条命令只是入口,具体启动参数请按官方文档补齐,不要直接照搬到别的服务器。

  1. 1
    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 2 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
转写与字幕

把音视频转成文字和字幕。

音视频处理

裁剪、转码、拼接素材。

内容分发

把成品发到对应平台。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 2 个工具,职责相对集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已适配 Claude,换客户端不用重新研究配置。
  • 资料标注无需鉴权,装好就能连。

先想清楚的地方

  • stdio 方式要求本地装好运行时(如 Node.js),换机器要重新装一遍。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在音视频场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Youtube Transcript MCP 5d9fb49d当前 2 stdio · 本地进程 本地部署 有 2026-05-17
Ableton MCP B7b69a6a 16 stdio · 本地进程 本地部署 有 2026-05-17
Mini Max MCP 8 SSE · 服务端推送 远程部署 有 2026-05-18
LocalAI 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Youtube E0eb3510 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Voicemode MCP 未标注 stdio · 本地进程 本地部署 有 2026-05-17

服务器档案

音视频
字段来自项目仓库与公开索引,中文说明由本站标注
提供方hancengiz上游标注的维护方 hancengiz
分类音视频本站按上游分类展示
连接方式stdio · 本地进程客户端在本机拉起子进程,数据不出本机
鉴权方式无需鉴权远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时@fabriqa.ai/youtube-transcript-mcp/update-config.js · Node.js本地安装时用到的包标识与运行时
部署类型本地部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

11.9 KB
来自项目仓库与上游目录的原文,未做删改

YouTube Transcript MCP Server

A Model Context Protocol (MCP) server that retrieves transcripts from YouTube videos for Claude Code. This server allows you to easily extract video transcripts without manually downloading or copying content, making it perfect for analyzing video content, summarizing talks, or extracting information from educational videos.

  • blog article about this mcp server One More Piece Built: Adding YouTube Analysis to My Learning Iron Man Suit
  • npm package: @fabriqa.ai/youtube-transcript-mcp
  • Author: Cengiz Han

Features

  • Get Video Transcripts: Extract full transcripts from any YouTube video with available captions
  • Multiple URL Formats: Support for all common YouTube URL formats (youtube.com, youtu.be, etc.)
  • Timestamp Support: Include or exclude timestamps in transcript output
  • Language Selection: Request transcripts in specific languages when available
  • Error Handling: Graceful handling of videos without transcripts or invalid URLs
  • Efficient Context Usage: Get only the transcript without loading unnecessary video metadata

Installation

Option A: Install from npm (Recommended)```bash

npm install -g @fabriqa.ai/youtube-transcript-mcp


After installation, the server will be available globally. You can configure it by running:```bash
# The package will be installed in your global node_modules
# Typically: /usr/local/lib/node_modules/@fabriqa.ai/youtube-transcript-mcp

Option B: Install from source

  1. Clone this repository:```bash
    git clone https://github.com/hancengiz/youtube-transcript-mcp.git
    cd youtube-transcript-mcp

2. Install dependencies:```bash
npm install

Configuration

If installed via npm (Recommended):

Option 1: Using Claude Code CLI (Easiest)

Recommended: Machine-Wide Installation```bash

Add the MCP server for all projects (machine-wide)

claude mcp add --scope user youtube-transcript npx @fabriqa.ai/youtube-transcript-mcp@latest


**Understanding Scope Options:**

Claude Code supports three configuration scopes for MCP servers:

- **`--scope user`** (Recommended) - **Machine-wide**
  - Available in ALL projects and directories
  - Configured once, works everywhere
  - Perfect for tools you use regularly across different projects

- **`--scope local`** (Default) - **Project-specific**
  - Only available in the current directory and subdirectories
  - Useful for project-specific MCP servers
  - Each project must configure separately

- **`--scope project`** - **Explicit project**
  - For specific project configurations

**Example usage:**```bash
# Machine-wide (recommended for youtube-transcript)
claude mcp add --scope user youtube-transcript npx @fabriqa.ai/youtube-transcript-mcp@latest

# Project-specific (if you prefer)
claude mcp add --scope local youtube-transcript npx @fabriqa.ai/youtube-transcript-mcp@latest

# Or use the convenience script
npx @fabriqa.ai/youtube-transcript-mcp/update-config.js

Option 2: Manual Configuration

Add to your ~/.claude.json:```json
{
"mcpServers": {
"youtube-transcript": {
"command": "npx",
"args": [
"@fabriqa.ai/youtube-transcript-mcp@latest"
]
}
}
}


This uses `npx` to automatically run the globally installed package without needing to specify paths.

### Quick Setup Script (Optional):

After installing via npm, you can use the included configuration script to automatically update your `~/.claude.json`:```bash
npx @fabriqa.ai/youtube-transcript-mcp/update-config.js

Or if installed from source:```bash
node update-config.js


This will automatically add the MCP server using `npx`, making it available machine-wide across all your projects.

### Manual Configuration:

For **Claude Desktop**, edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):```json
{
  "mcpServers": {
    "youtube-transcript": {
      "command": "npx",
      "args": [
        "@fabriqa.ai/youtube-transcript-mcp@latest"
      ]
    }
  }
}

Usage

Once configured, restart Claude Code. The following tools will be available:

1. get-transcript

Retrieve the transcript of a YouTube video.

Parameters:
- url (required): YouTube video URL or video ID
- lang (optional): Language code for transcript (e.g., 'en', 'es', 'fr'). Default: video's default language
- include_timestamps (optional): Include timestamps in output. Default: true

Supported URL formats:
- https://www.youtube.com/watch?v=VIDEO_ID
- https://youtu.be/VIDEO_ID
- https://m.youtube.com/watch?v=VIDEO_ID
- VIDEO_ID (just the 11-character video ID)

Example:```
Can you get the transcript from https://www.youtube.com/watch?v=LCEmiRjPEtQ?

Get the transcript from this video without timestamps: https://youtu.be/LCEmiRjPEtQ

Summarize the key learnings from this Andrej Karpathy talk: https://www.youtube.com/watch?v=LCEmiRjPEtQ


### 2. get-transcript-languages

Check what transcript languages are available for a video.

**Parameters:**
- `url` (required): YouTube video URL or video ID

**Example:**```
What transcript languages are available for https://www.youtube.com/watch?v=LCEmiRjPEtQ?

Example Workflow

Here's how you might use this MCP server with Claude Code:

  1. Extract a transcript to summarize a video:Give me the key learnings from this Andrej Karpathy talk: https://www.youtube.com/watch?v=LCEmiRjPEtQ

  2. Analyze specific topics in a video:Get the transcript from https://www.youtube.com/watch?v=LCEmiRjPEtQ and extract all mentions of "LLM" and "agents"

  3. Get transcripts in different languages:What transcript languages are available for https://www.youtube.com/watch?v=LCEmiRjPEtQ?

  4. Extract quotes without timestamps (for long videos):Get the transcript without timestamps from this video: https://www.youtube.com/watch?v=LCEmiRjPEtQ
    Note: This 60-minute video generates ~19k tokens without timestamps vs ~30k with timestamps.

  5. Research and content creation:Get 3 key quotes from Andrej Karpathy about partial autonomy apps from https://www.youtube.com/watch?v=LCEmiRjPEtQ

Advanced: Using Claude Code Sub-Agents for Context Efficiency

Save 90% of your context when analyzing videos!

Claude Code supports specialized sub-agents that can analyze YouTube videos in an isolated context, returning only the insights to your main conversation. This means you can analyze many videos without filling up your context window with large transcripts.

Quick Example

Instead of this (fills your context with 20k+ tokens):```
Get the transcript and analyze this video: [URL]


Do this (only ~2k tokens in your context):```
Use sub-agent to analyze this video: [URL]

The youtube-transcript-analyzer Agent

This specialized agent:
- ✅ Fetches transcripts in its own isolated context
- ✅ Analyzes the content thoroughly
- ✅ Returns ONLY the analysis to you
- ✅ Lets you analyze 10+ videos in one session
- ✅ Keeps your context clean and focused

Learn More

📖 Complete Claude Code Sub-Agent Guide

The guide includes:
- How sub-agents save context (with examples)
- Complete setup instructions for the youtube-transcript-analyzer agent
- Configuration files you can copy directly
- Real-world usage examples and workflows
- Advanced tips for analyzing multiple videos efficiently

Perfect for: Researchers, content creators, students, and anyone analyzing multiple videos in one session.

Use Cases

  • Content Summarization: Extract key learnings from hour-long technical talks (e.g., Andrej Karpathy's "Software in the Era of AI")
  • Research: Analyze conference talks, academic lectures, and educational content without watching
  • Content Creation: Get accurate quotes and references from video content for blog posts or articles
  • Learning & Education: Quickly review lecture content, extract main concepts and examples
  • Accessibility: Convert video content to searchable, readable text format
  • Interview Analysis: Extract quotes and insights from podcast interviews and panel discussions
  • Technical Documentation: Pull code examples and technical explanations from tutorial videos

Benefits

  • Time Saving: Get video content without watching the entire video
  • Context Efficiency: Extract only the text content you need
  • Flexible Format: Choose whether to include timestamps
  • Easy Integration: Simple URL-based interface for Claude Code

Technical Details

  • Built with the @modelcontextprotocol/sdk
  • Uses a custom-built YouTube transcript library (yt-lib/)
  • Zero external dependencies for transcript fetching (uses native fetch API)
  • Runs as a local Node.js process communicating via stdio
  • Supports all YouTube videos with available transcripts/captions
  • Direct integration with YouTube's Innertube API for reliable transcript access

Limitations

MCP Protocol Token Limit

The MCP (Model Context Protocol) infrastructure has a 25,000 token response limit to protect Claude's context window and prevent performance issues. This limit is imposed by the MCP protocol layer, not by YouTube or this tool.

What this means:
- Very long video transcripts (typically 60+ minutes) with timestamps enabled may exceed this limit
- The transcript fetches successfully from YouTube, but MCP blocks the response if it's too large

Symptoms:```
Error: MCP tool "get-transcript" response (30131 tokens) exceeds
maximum allowed tokens (25000). Please use pagination, filtering,
or limit parameters to reduce the response size.


**Solutions:**

1. **Disable timestamps** (recommended for long videos):```
   Get the transcript without timestamps from https://www.youtube.com/watch?v=VIDEO_ID
   ```
   This typically reduces response size by 20-30%, making most videos fit within the limit.

2. **Request shorter videos** (under 60 minutes usually work with timestamps)

3. **Process in chunks**: For very long videos, you may need to work with the transcript data programmatically rather than through the MCP tool

**Real-world example (Andrej Karpathy's talk):**
- https://www.youtube.com/watch?v=LCEmiRjPEtQ (60-minute technical talk)
- With timestamps: ~30,000 tokens ❌ (exceeds 25k limit)
- Without timestamps: ~19,000 tokens ✅ (works perfectly)

**Workaround:** Simply ask "Get the transcript **without timestamps**" for long videos.

## Troubleshooting

### Server not appearing in Claude Code

1. Verify the path in your configuration file is correct
2. Ensure Node.js is installed and in your PATH
3. Check that dependencies are installed: `npm install`
4. Restart Claude Code completely
5. Check Claude Code logs for any error messages

### "No transcript available" errors

- Not all YouTube videos have transcripts
- Some videos only have auto-generated captions in certain languages
- Private or restricted videos cannot be accessed
- Try checking if the video has captions enabled on YouTube

### Language not found

- Use the `get-transcript-languages` tool to check available languages
- Common language codes: 'en', 'es', 'fr', 'de', 'ja', 'ko', 'pt', 'ru', 'zh', etc.
- Not all videos have transcripts in all languages

### Invalid URL errors

- Ensure you're using a valid YouTube URL format
- Video IDs should be exactly 11 characters
- Make sure the video exists and is publicly accessible

## Development

To modify or extend the server:

1. Edit `index.js` to add new tools or modify existing ones
2. Update the `ListToolsRequestSchema` handler to register new tools
3. Add corresponding handlers in the `CallToolRequestSchema` handler
4. Test your changes with `npm test`
5. Restart the server (restart Claude Code) to test changes

## Testing

Run the test suite:```bash
npm test

This will validate:
- JSON schema compliance for Claude API
- Tool registration and listing
- Transcript fetching functionality
- Error handling
- URL parsing

License

MIT

Author

Created by Cengiz Han

Contributing

Feel free to submit issues or pull requests to improve this MCP server.

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
Youtube Transcript MCP 5d9fb49d 怎么安装?

在客户端按下面的安装命令接入:npx @fabriqa.ai/youtube-transcript-mcp/update-config.js。对应的包名是 @fabriqa.ai/youtube-transcript-mcp/update-config.js。装完在客户端配置里引用同一个包或端点。

Youtube Transcript MCP 5d9fb49d 怎么在 Claude 里配置?

它的传输方式是stdio · 本地进程,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Youtube Transcript MCP 5d9fb49d 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Youtube Transcript MCP 5d9fb49d 需要 API Key 吗?

资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Youtube Transcript MCP 5d9fb49d 支持哪些客户端?

资料标注支持 Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Youtube Transcript MCP 5d9fb49d 能提供哪些能力?

资料显示约 2 个工具;能力标签包括 教育工具、JavaScript、Claude、内容分析。具体工具清单以官方文档为准。

Youtube Transcript MCP 5d9fb49d 需要什么运行环境?

运行时为 Node.js;属于本地进程,需要在本机装好运行环境。

Youtube Transcript MCP 5d9fb49d 是本地还是远程?

它是本地进程(stdio),由客户端在本机拉起。传输方式为stdio · 本地进程。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。