loading…
Search for a command to run...
loading…
Enables AI assistants to extract YouTube video metadata, subtitles, and top comments without downloading videos.
Enables AI assistants to extract YouTube video metadata, subtitles, and top comments without downloading videos.
🎬 A Model Context Protocol (MCP) server that lets your AI interact with YouTube videos - extract video information, subtitles, and top comments without downloading.
uvx youtube-dlp-server
pip install youtube-dlp-server
youtube-dlp-server
git clone <repository-url>
cd youtube-dlp-server
pip install -e .
python -m youtube_dlp_server
Extract comprehensive video metadata:
{
"name": "get-video-info",
"arguments": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
}
Extract subtitles and captions:
{
"name": "get-video-subtitles",
"arguments": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"languages": ["en", "es"],
"include_auto_captions": true
}
}
Get top comments (max 20, default 10):
{
"name": "get-top-comments",
"arguments": {
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"count": 10
}
}
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
npx @modelcontextprotocol/inspector youtube-dlp-server
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())
"
MIT License - see LICENSE file for details.
Made with ❤️ for the AI community
Run in your terminal:
claude mcp add youtube-dlp-mcp-server -- npx Yes, YouTube DLP Server MCP is free — one-click install via Unyly at no cost.
No, YouTube DLP Server runs without API keys or environment variables.
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
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.
CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.