yt-dlp-mcp
Enables retrieving YouTube video metadata and downloading videos or extracting audio from YouTube with configurable quality, format, and output path settings.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
yt-dlp-mcp
An MCP server implementation that integrates with yt-dlp, providing video and audio content download capabilities from YouTube and other platforms for LLMs.
Features
Video Download: Save videos to your specified folder with quality control
Audio Download: Extract and save audio in various formats (mp3, m4a, ogg, opus)
Video Information: Get metadata about videos without downloading
Privacy-Focused: Direct download without tracking
MCP Integration: Works with Claude Desktop and other MCP-compatible LLMs
Flexible Output: Customizable output paths and file formats
Related MCP server: MCP YouTube-DLP
Installation
Prerequisites
Install yt-dlp based on your operating system:
# macOS
brew install yt-dlp
# Linux
pip install yt-dlpWith Claude Desktop
Open your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the MCP server configuration:
{
"mcpServers": {
"yt-dlp-mcp": {
"command": "npx",
"args": [
"-y",
"@gtvar/yt-dlp-mcp"
]
}
}
}Save the file and restart Claude Desktop
Tool Documentation
get_video_info
Get video metadata without downloading (title, duration, uploader, available formats)
Inputs:
url(string, required): URL of the video
download_video
Download video or extract audio to specified location with quality control
Inputs:
url(string, required): URL of the videoquality_preference(string, optional): Video quality preferencevideo_container_preference(string, optional): Preferred video formataudio_container_preference(string, optional): Preferred audio format (mp3, m4a, ogg, opus)output_path(string, optional): Custom output path with filename templateextract_audio_only(boolean, optional): Extract audio only. Defaults to false
Usage Examples
Ask your LLM to:
"Get information about this video: https://youtube.com/watch?v=..."
"Download this YouTube video: https://youtube.com/watch?v=..."
"Extract audio from this video in mp3 format: https://youtube.com/watch?v=..."
"Download video with custom quality settings: https://youtube.com/watch?v=..."
"Save this video to a specific folder: https://youtube.com/watch?v=..."Manual Start
If needed, start the server manually:
npx @gtvar/yt-dlp-mcpEnvironment Variables
YTDLP_PATH- Path to yt-dlp executable (default: 'yt-dlp')YTDL_OUTPUT_DIR- Default output directory (default: '/tmp')FFMPEG_PATH- Path to ffmpeg executable (optional)
Requirements
Node.js 20+
yt-dlpin system PATHMCP-compatible LLM service (Claude Desktop, etc.)
Optional:
ffmpegfor additional format support
License
MIT
Author
gtvar
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn any video or audio link into files, transcripts and metadata, right from your AI agent.
Download YouTube videos and clips as MP4 or MP3/AAC, and look up video metadata.
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.
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.813 PyPI1MIT
- FlicenseNot gradedqualityNot gradedmaintenanceProvides tools for downloading YouTube videos and audio using yt-dlp, enabling integration with AI assistants via MCP.5-
- AlicenseNot gradedqualityCmaintenanceHosted MCP server that lets Claude, ChatGPT, Perplexity, Cursor and other AI assistants download videos as MP4 or audio as MP3/M4A from YouTube, TikTok, Instagram, Facebook, Vimeo, Twitch, SoundCloud and 6 more platforms. No install; free for 3 downloads a day.MIT
- AlicenseNot gradedqualityBmaintenanceEnables ChatGPT to download video and audio from YouTube, TikTok, Instagram, and other supported sites, returning temporary direct links plus metadata and quality options.MIT