YouTube MCP Server
by kevinwatt
yt-dlp-mcp
An MCP server implementation that integrates with yt-dlp, providing video content download capabilities (e.g. YouTube, Facebook, etc.) for LLMs.
Features
- Subtitles: Download subtitles in SRT format for LLMs to read
- Video Download: Save videos to your Downloads folder with resolution control
- Privacy-Focused: Direct download without tracking
- MCP Integration: Works with Dive and other MCP-compatible LLMs
Installation
Prerequisites
Install yt-dlp
based on your operating system:
Copy
With Dive Desktop
- Click "+ Add MCP Server" in Dive Desktop
- Copy and paste this configuration:
Copy
- Click "Save" to install the MCP server
Tool Documentation
- list_video_subtitles
- List all available subtitles for a video
- Inputs:
url
(string, required): URL of the video
- download_video_srt
- Download subtitles in SRT format
- Inputs:
url
(string, required): URL of the videolanguage
(string, optional): Language code (e.g., 'en', 'zh-Hant', 'ja'). Defaults to 'en'
- download_video
- Download video to user's Downloads folder
- Inputs:
url
(string, required): URL of the videoresolution
(string, optional): Video resolution ('480p', '720p', '1080p', 'best'). Defaults to '720p'
Usage Examples
Ask your LLM to:
Copy
Manual Start
If needed, start the server manually:
Copy
Requirements
- Node.js 20+
yt-dlp
in system PATH- MCP-compatible LLM service
License
MIT
Author
Dewei Yen
You must be authenticated.
Connects 'yt-dlp' with LLMs via the Model Context Protocol, allowing users to download YouTube content and integrate it with Dive and other MCP-compatible LLMs.