YouTube Integration
YouTube 集成
YouTube MCP 服务器提供从 YouTube 视频中提取文字记录的功能。
可用工具
获取 YouTube 成绩单
从 YouTube 视频中检索文字记录。
参数:
videoUrl:完整的 YouTube 视频 URL(支持标准、缩短和嵌入 URL)
返回:包含以下内容的对象:
content:带有抄本文本的数组
Related MCP server: YouTube Transcript MCP Server
URL 支持
处理多种 YouTube URL 格式:
标准:
https://www.youtube.com/watch?v=VIDEO_IDVIDEO_ID缩短版:
https://youtu.be/VIDEO_ID嵌入:
https://www.youtube.com/embed/VIDEO_ID
错误处理
服务器实现标准错误处理:
无效的 URL 返回
ErrorCode.InvalidParams缺少 URL 会返回
ErrorCode.InvalidParams成绩单提取失败会返回格式化的错误消息
SIGINT 信号正常关闭
技术细节
使用 Highlight AI MCP SDK 构建
使用 youtube-transcript 库
通过 Zod 进行输入验证
作为基于 stdio 的 MCP 服务器运行
支持 Node.js >=18.0.0
限制
仅适用于已启用字幕的视频
目前仅返回英文成绩单
速率限制取决于 YouTube 的 API 限制
This server cannot be deployed
Maintenance
Related MCP Connectors
Transcripts of YouTube videos, playlists and channels with timestamps; SRT or WebVTT too.
Transcripts of YouTube videos, channels and playlists; AI transcription when no captions.
Fetch the full transcript of any YouTube video as clean text. No API key, no signup.
Any video URL to LLM-ready transcript. ASR built in, no captions needed. TikTok, X, TED and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables fetching YouTube video transcripts with Google OAuth 2.0 authentication. Supports both manual and auto-generated transcripts with optional timestamps from video URLs or IDs.-
- FlicenseBqualityNot gradedmaintenanceEnables extraction and processing of YouTube video transcripts from individual videos, channels, and playlists. Supports transcript search, batch processing, multiple output formats (JSON, text, SRT, VTT), and bulk operations across multiple videos.1134 npm-
- AlicenseAqualityDmaintenanceEnables fetching, searching, and summarizing YouTube video transcripts with multi-language support.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables retrieval of transcripts from YouTube videos, supporting multiple URL formats, language selection, timestamps, and ad filtering.1,072 npmMIT