MCP YouTube Downloader
Allows downloading videos and audio from Instagram posts or stories.
Enables downloading of TikTok videos in available formats and qualities.
Offers capabilities to download videos from Vimeo in specified formats and qualities.
Provides tools for downloading videos and audio from YouTube in various formats (mp4, mp3, webm, mkv) and qualities (best, 2160p, 1440p, 1080p, 720p, 480p, 360p).
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP YouTube DownloaderDownload the audio from https://youtube.com/watch?v=dQw4w9WgXcQ as mp3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP YouTube Downloader
MCP server for downloading videos and audio from YouTube and hundreds of other sites (Vimeo, Twitter, Instagram, etc.) using yt-dlp.
Works with OpenCode, Claude Desktop, and any MCP-compatible client.
Features
Download videos in mp4, webm, or mkv format
Extract mp3 audio from videos
Select quality:
best,2160p,1440p,1080p,720p,480p,360pDownloads saved to
~/Downloads/yt-downloads/(cross-platform)Supports 1000+ websites (YouTube, Vimeo, Twitter/X, Instagram, TikTok, etc.)
Related MCP server: media-downloader
Prerequisites
Python 3.10+
ffmpeg (required for audio extraction and high-quality video merging)
Installing ffmpeg
# Ubuntu/Debian
sudo apt install ffmpeg
# macOS
brew install ffmpeg
# Windows
winget install ffmpegInstallation
# Clone the repository
git clone https://github.com/lucassnts963/mcp-youtube-downloader.git
cd mcp-youtube-downloader
# Create virtual environment and install dependencies
python3 -m venv .venv
source .venv/bin/activate # Linux/macOS
# .venv\Scripts\activate # Windows
pip install -r requirements.txtConfiguration
OpenCode
Add to your opencode.json (global: ~/.config/opencode/opencode.json or project-level):
{
"mcp": {
"youtube-downloader": {
"type": "local",
"command": ["/path/to/mcp-youtube-downloader/.venv/bin/python3", "/path/to/mcp-youtube-downloader/server.py"],
"enabled": true
}
}
}Then restart OpenCode.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"youtube-downloader": {
"command": "/path/to/mcp-youtube-downloader/.venv/bin/python3",
"args": ["/path/to/mcp-youtube-downloader/server.py"]
}
}
}Then restart Claude Desktop.
Usage
Once configured, you can request downloads via chat:
Examples
Download https://www.youtube.com/watch?v=dQw4w9WgXcQ
Baixa esse video como mp3: https://youtu.be/xxxxx
Download this Vimeo video in 1080p: https://vimeo.com/xxxxx
Extrai o audio desse video do twitter: https://x.com/user/status/xxxxxParameters
Parameter | Type | Description | Default |
| string | Video/audio URL | required |
| enum |
|
|
| enum |
|
|
| string | Custom output directory |
|
Response
{
"status": "success",
"title": "Rick Astley - Never Gonna Give You Up",
"duration": "3m 33s",
"size_mb": 42.5,
"format": "mp4",
"filepath": "/home/user/Downloads/yt-downloads/Rick Astley - Never Gonna Give You Up.mp4"
}Project Structure
mcp-youtube-downloader/
├── server.py # MCP server implementation
├── requirements.txt # Python dependencies
├── pyproject.toml # Project metadata
├── ffmpeg # Static ffmpeg binary (optional)
├── ffprobe # Static ffprobe binary (optional)
├── .gitignore
└── README.mdLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseAquality-maintenanceEnables downloading videos from 1000+ platforms including YouTube, Bilibili, TikTok, and Twitter using yt-dlp. Supports both MCP protocol and REST API modes with real-time progress tracking, multiple formats, and subtitle downloads.Last updated5141
- Flicense-qualityBmaintenanceA multimedia downloading and conversion MCP server supporting YouTube, HLS streams, podcasts, and images, with features like batch downloads, subtitle extraction, format query, and whitelist management.Last updated
- Flicense-qualityDmaintenanceMCP server wrapping yt-dlp for downloading videos and audio from URLs, providing tools to check dependencies, retrieve video metadata, and perform downloads.Last updated
- AlicenseAqualityAmaintenanceAn MCP server that extracts rich metadata (title, description, duration, chapters, subtitles, statistics, etc.) from media URLs across thousands of sites using yt-dlp, and also provides transcript fetching and search capabilities.Last updated3MIT
Related MCP Connectors
Download YouTube, TikTok, Vimeo, SoundCloud and 6 more platforms from any MCP AI chatbot.
MCP server for Google Veo AI video generation
MCP server for Wan AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucassnts963/mcp-youtube-downloader'
If you have feedback or need assistance with the MCP directory API, please join our Discord server