YouTube DLP MCP Server
Allows extraction of video information, subtitles, and top comments from YouTube videos without downloading.
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 DLP MCP Serverget video metadata for https://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 DLP MCP Server
🎬 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
Related MCP server: mcp-server-youtube
🚀 Quick Start
Install with uvx (Recommended)
uvx youtube-dlp-serverInstall with pip
pip install youtube-dlp-server
youtube-dlp-serverInstall 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:pass@127.0.0.1:1080/"
# Run with proxy
youtube-dlp-server🧪 Testing
With MCP Inspector
npx @modelcontextprotocol/inspector youtube-dlp-serverManual 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
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
- AlicenseBqualityFmaintenanceEnables AI assistants to analyze and summarize YouTube videos by extracting captions, subtitles, and comprehensive metadata including title, description, and duration in multiple languages.Last updated112560MIT
- Alicense-qualityCmaintenanceEnables AI assistants to search videos, read channels, browse playlists, fetch comments, and get transcripts from YouTube using the YouTube Data API v3 and InnerTube API for captions.Last updated2GPL 3.0
- AlicenseAqualityAmaintenanceConnect AI assistants to YouTube: search, transcripts, metadata, and more.Last updated2194556MIT
- AlicenseAqualityDmaintenanceEnables AI tools to access YouTube content, including transcript extraction, video/channel info, and search.Last updated430MIT
Related MCP Connectors
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
YouTube transcripts, subtitles, and video metadata as structured JSON via an Apify Actor.
💯 The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free.
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/AgentX-ai/youtube-dlp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server