YouTube MCP Server
yt-dlp-mcp
与 yt-dlp 集成的 MCP 服务器实现,为 LLM 提供视频和音频内容下载功能(例如 YouTube、Facebook、Tiktok 等)。
特征
字幕:下载 SRT 格式的字幕,供法学硕士阅读
视频下载:将视频保存到您的下载文件夹并控制分辨率
音频下载:将音频保存到您的下载文件夹
注重隐私:直接下载,无需追踪
MCP 集成:与 Dive 和其他兼容 MCP 的 LLM 兼容
Related MCP server: YouTube Search & Download MCP Server
安装
先决条件
根据您的操作系统安装yt-dlp :
# Windows
winget install yt-dlp
# macOS
brew install yt-dlp
# Linux
pip install yt-dlp使用Dive Desktop
在 Dive Desktop 中点击“+ 添加 MCP 服务器”
复制并粘贴此配置:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/yt-dlp-mcp"
]
}
}
}点击“保存”安装 MCP 服务器
工具文档
列出字幕语言
列出视频所有可用的字幕语言及其格式(包括自动生成的字幕)
输入:
url(字符串,必需):视频的 URL
下载视频字幕
下载任何可用格式的视频字幕。支持常规字幕和自动生成的字幕
输入:
url(字符串,必需):视频的 URLlanguage(字符串,可选):语言代码(例如,'en'、'zh-Hant'、'ja')。默认为 'en'
下载视频
将视频下载到用户的下载文件夹
输入:
url(字符串,必需):视频的 URLresolution(字符串,可选):视频分辨率('480p'、'720p'、'1080p'、'best')。默认为 '720p'
下载音频
将最佳质量的音频(通常为 m4a/mp3 格式)下载到用户的下载文件夹
输入:
url(字符串,必需):视频的 URL
使用示例
要求你的法学硕士:
"List available subtitles for this video: https://youtube.com/watch?v=..."
"Download a video from facebook: https://facebook.com/..."
"Download Chinese subtitles from this video: https://youtube.com/watch?v=..."
"Download this video in 1080p: https://youtube.com/watch?v=..."
"Download audio from this YouTube video: https://youtube.com/watch?v=..."手动启动
如果需要,请手动启动服务器:
npx @kevinwatt/yt-dlp-mcp要求
Node.js 20+
系统 PATH 中的
yt-dlpMCP 兼容的 LLM 服务
文档
执照
麻省理工学院
作者
颜德伟
This server cannot be deployed
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
SubDownload exposes YouTube as an MCP-native data source. Connect via OAuth and your AI agent can summarize videos, fetch full transcripts (even for videos with no captions, via AI ASR), search across channels, and save everything into a private knowledge base. Works with Claude, ChatGPT, Cursor, and 40+ MCP clients. Free credits on signup, no card required.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceUses yt-dlp to download subtitles from YouTube and connects it to claude.ai via Model Context Protocol.1299 npm550MIT
- AlicenseAqualityCmaintenanceEnables searching, retrieving metadata, and downloading YouTube videos or audio without requiring an API key. It utilizes yt-dlp to support media retrieval and playlist management within MCP-compliant clients like Claude and Cursor.81MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol (MCP) server that provides comprehensive video tools: transcript retrieval, video downloading, and automatic subtitle generation using AI speech-to-text. Works with YouTube, Bilibili, Vimeo, and any platform supported by yt-dlp.11MIT
- FlicenseAqualityDmaintenanceEnables fetching YouTube video transcripts in various formats via the Model Context Protocol, allowing LLMs to access and process YouTube video transcripts securely.1-