YouTube Downloader MCP Server
Allows downloading YouTube videos to your computer's Downloads folder, with status checking.
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., "@YouTube Downloader MCP Serverdownload https://www.youtube.com/watch?v=dQw4w9WgXcQ"
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.
YouTube Downloader MCP Server 📺
This project is an MCP (Multi-Channel Protocol) server that allows Claude (or any MCP-compatible AI agent) to download YouTube videos directly to your computer's Downloads folder. It is designed for seamless integration with Claude's tool-calling capabilities.
Features
Exposes two MCP tools:
download_youtube_video(url: str): Starts a YouTube video download in the background and returns a download ID.check_download_status(download_id: str): Lets you check the status of a download (in progress, completed, or error).
Downloads are saved to your system's Downloads folder.
Fully async/background operation.
Related MCP server: yt-dlp-mcp-server
Installation
Clone the repository:
git clone <your-repo-url> cd youtube-downloader-mcpInstall Poetry (if you don't have it):
pip install poetryInstall dependencies:
poetry installInstall FFmpeg
Check and follow the instructions to install this tool using this website (https://ffmpeg.org/). The
yt_dlpneeds FFmpeg to merge the audio and video files into a single mp4 file.
Running the MCP Server
Run the server using Poetry:
poetry run python endpoints.pyYou should see a message like:
Running YouTube Downloader MCP serverUsing with Claude
Add this server as a tool in Claude's settings (or use the Claude desktop app's "Add MCP server" feature).
Update your
claude_desktop_config.jsonadding this MCP Server configuration:{ "mcpServers": { "youtube-dowloader": { "command": "poetry", "args": [ "--directory", "<your_project_path>", "run", "python", "endpoints.py" ] } } }For more info, please check this link https://modelcontextprotocol.io/quickstart/user
Claude will automatically discover the following tools:
download_youtube_video(url: str)check_download_status(download_id: str)
Example workflow:

Running Tests
To run the unit tests for the YoutubeDownloader service, use:
poetry run python -m unittest tests/test_services.pyAll tests are located in the tests/ directory. These tests use mocks, so no real downloads or system calls are made.
Notes
FFmpeg is required for video merging. If you don't have it, download from ffmpeg.org and ensure it's in your PATH.
All downloads go to your system's Downloads folder.
This server is designed for use with Claude, but any MCP-compatible client can use it.
Troubleshooting
If you see errors about non-JSON output, make sure you are running the latest code (all yt-dlp logs are redirected to stderr).
If you get
ffmpeg not installederrors, install FFmpeg and restart the server.If you have issues with status not updating, ensure only one server instance is running at a time.
License
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
- 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.Last updated81MIT
- AlicenseAqualityAmaintenanceEnables AI agents to inspect, plan, download, and postprocess media from YouTube and other sites using yt-dlp, with safety and full option support.Last updated2829MIT
- Flicense-qualityDmaintenanceProvides tools for downloading YouTube videos and audio using yt-dlp, enabling integration with AI assistants via MCP.Last updated5
- Alicense-qualityDmaintenanceEnables AI assistants to download YouTube videos and transcribe them locally using OpenAI's Whisper speech recognition model.Last updatedMIT
Related MCP Connectors
Download YouTube, TikTok, Vimeo, SoundCloud and 6 more platforms from any MCP AI chatbot.
💯 The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
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/SamuelBFavarin/youtube-downloader-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server