YouTube DLP Server
FreeNot checkedEnables AI assistants to extract YouTube video metadata, subtitles, and top comments without downloading videos.
About
Enables AI assistants to extract YouTube video metadata, subtitles, and top comments without downloading videos.
README
🎬 A Model Context Protocol (MCP) server that lets your AI interact with YouTube videos - extract video information, subtitles, and top comments without downloading.
✨ Features
- 📹 Extract Video Info - Get comprehensive metadata (title, views, likes, description, etc.)
- 📝 Extract Subtitles - Download manual subtitles and auto-generated captions
- 💬 Extract Comments - Get top comments sorted by likes with creator badges
- 🌐 Proxy Support - Works with HTTP/HTTPS/SOCKS proxies
- 🚀 Fast & Async - Non-blocking operations using asyncio
- 🔧 Easy Integration - Standard MCP protocol for AI assistants
🚀 Quick Start
Install with uvx (Recommended)
uvx youtube-dlp-server
Install with pip
pip install youtube-dlp-server
youtube-dlp-server
Install from source
git clone <repository-url>
cd youtube-dlp-server
pip install -e .
python -m youtube_dlp_server
🛠️ Usage
Available Tools
1. get-video-info
Extract comprehensive video metadata:
{
"name": "get-video-info",
"arguments": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
}
2. get-video-subtitles
Extract subtitles and captions:
{
"name": "get-video-subtitles",
"arguments": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"languages": ["en", "es"],
"include_auto_captions": true
}
}
3. get-top-comments
Get top comments (max 20, default 10):
{
"name": "get-top-comments",
"arguments": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"count": 10
}
}
Proxy Configuration
Set the PROXY_URL environment variable:
# HTTP/HTTPS proxy
export PROXY_URL="http://proxy.example.com:8080"
# SOCKS proxy with auth
export PROXY_URL="socks5://user:[email protected]:1080/"
# Run with proxy
youtube-dlp-server
🧪 Testing
With MCP Inspector
npx @modelcontextprotocol/inspector youtube-dlp-server
Manual Testing
python -c "
import asyncio
from youtube_dlp_server.helper import extract_video_info
async def test():
info = await extract_video_info('https://www.youtube.com/watch?v=dQw4w9WgXcQ')
print(f'✅ Video: {info[\"title\"]}')
asyncio.run(test())
"
📋 Requirements
- Python 3.11+
- yt-dlp for YouTube processing
- MCP framework for AI integration
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
📄 License
MIT License - see LICENSE file for details.
🔗 Links
- Homepage: GitHub Repository
- Issues: Report Issues
- MCP Documentation: Model Context Protocol
Made with ❤️ for the AI community
Install YouTube DLP Server in Claude Desktop, Claude Code & Cursor
unyly install youtube-dlp-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add youtube-dlp-mcp-server -- uvx youtube-dlp-serverFAQ
Is YouTube DLP Server MCP free?
Yes, YouTube DLP Server MCP is free — one-click install via Unyly at no cost.
Does YouTube DLP Server need an API key?
No, YouTube DLP Server runs without API keys or environment variables.
Is YouTube DLP Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install YouTube DLP Server in Claude Desktop, Claude Code or Cursor?
Open YouTube DLP Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Omni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaARA
Generate images, video and audio from any AI agent — one connector.
by ARAYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolCompare YouTube DLP Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
