The YouTube MCP Server allows you to:
- Download YouTube videos to your Downloads folder, with optional resolution control
- Download audio in the best available quality
- Download subtitles in SRT format (useful for LLM processing)
- List available subtitle languages and formats for videos
- Support for various platforms including YouTube, Facebook, and TikTok using yt-dlp
yt-dlp-mcp
An MCP server implementation that integrates with yt-dlp, providing video and audio content download capabilities (e.g. YouTube, Facebook, Tiktok, etc.) for LLMs.
Features
- Video Metadata: Extract comprehensive video information without downloading content
- Subtitles: Download subtitles in SRT format for LLMs to read
- Video Download: Save videos to your Downloads folder with resolution control
- Audio Download: Save audios to your Downloads folder
- Video Search: Search for videos on YouTube using keywords
- 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:
With Dive Desktop
- Click "+ Add MCP Server" in Dive Desktop
- Copy and paste this configuration:
- Click "Save" to install the MCP server
Tool Documentation
- search_videos
- Search for videos on YouTube using keywords
- Inputs:
query
(string, required): Search keywords or phrasemaxResults
(number, optional): Maximum number of results to return (1-50, default: 10)
- list_subtitle_languages
- List all available subtitle languages and their formats for a video (including auto-generated captions)
- Inputs:
url
(string, required): URL of the video
- download_video_subtitles
- Download video subtitles in any available format. Supports both regular and auto-generated subtitles
- 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'startTime
(string, optional): Start time for trimming (format: HH) - e.g., '00:01:30' or '00:01:30.500'endTime
(string, optional): End time for trimming (format: HH) - e.g., '00:02:45' or '00:02:45.500'
- download_audio
- Download audio in best available quality (usually m4a/mp3 format) to user's Downloads folder
- Inputs:
url
(string, required): URL of the video
- download_transcript
- Download and clean video subtitles to produce a plain text transcript without timestamps or formatting
- Inputs:
url
(string, required): URL of the videolanguage
(string, optional): Language code (e.g., 'en', 'zh-Hant', 'ja'). Defaults to 'en'
- get_video_metadata
- Extract comprehensive video metadata without downloading the content
- Returns detailed information including title, description, channel, timestamps, view counts, and more
- Inputs:
url
(string, required): URL of the videofields
(array, optional): Specific metadata fields to extract (e.g., ['id', 'title', 'description', 'channel']). If not provided, returns all available metadata
- get_video_metadata_summary
- Get a human-readable summary of key video metadata
- Returns formatted text with title, channel, duration, views, upload date, and description preview
- Inputs:
url
(string, required): URL of the video
Usage Examples
Ask your LLM to:
Manual Start
If needed, start the server manually:
Requirements
- Node.js 20+
yt-dlp
in system PATH- MCP-compatible LLM service
Documentation
License
MIT
Author
Dewei Yen
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
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.
- Features
- Installation
- Tool Documentation
- Usage Examples
- Manual Start
- Requirements
- Documentation
- License
- Author
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityUses yt-dlp to download subtitles from YouTube and connects it to claude.ai via Model Context Protocol.Last updated -1798420JavaScriptMIT License
- -securityFlicense-qualityAn MCP server that enables LLMs to search YouTube, retrieve video information, and access video transcripts through standardized tools.Last updated -TypeScript
YDB MCPofficial
AsecurityAlicenseAqualityModel Context Protocol server for YDB databases that enables AI-powered database operations and natural language interactions with YDB instances from any LLM that supports MCP.Last updated -521PythonApache 2.0- AsecurityAlicenseAqualityA Model Context Protocol server that provides unified access to multiple LLM APIs including ChatGPT, Claude, and DeepSeek, allowing users to call different LLMs from MCP-compatible clients and combine their responses.Last updated -75371TypeScriptMIT License