YouTube DLP MCP Server
Allows extraction of video information, subtitles, and top comments from YouTube videos without downloading.
Click on "Deploy 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 Server get 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
Available Tools
3 toolsget-top-commentsA
Extract top comments from a YouTube video (sorted by likes)
Inputs: url (required), count.
get-video-infoB
Extract detailed information from a YouTube video URL without downloading
Inputs: url (required).
get-video-subtitlesB
Extract subtitles and captions from a YouTube video
Inputs: url (required), languages, include_auto_captions.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 3 tools
Each tool targets a clearly distinct data type: video metadata, subtitles, and comments. There is no overlap in purpose or expected output.
All three tool names follow the exact same 'get-video-<detail>' pattern with consistent hyphenated lowercase naming. The convention is uniform and predictable.
Three tools is on the lower end but each one earns its place for a focused YouTube metadata extraction server. The scope is narrow yet coherent.
Despite the server name referencing 'DLP' (download), there is no download or format-listing tool. The set only covers metadata, subtitles, and comments, leaving a significant gap for a server that implies downloading capability.
Maintenance
Related MCP Connectors
YouTube for AI agents: transcripts, comments, video stats, channel monitor, Shorts captions.
Search YouTube videos, read transcripts and get public video information in your AI assistant.
Fetch YouTube transcripts, monitor channels and track keyword matches from your AI assistant.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to analyze and summarize YouTube videos by extracting captions, subtitles, and comprehensive metadata including title, description, and duration in multiple languages.198 npm62MIT
- AlicenseNot gradedqualityDmaintenanceEnables 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.2GPL 3.0
- AlicenseAqualityCmaintenanceConnect AI assistants to YouTube: search, transcripts, metadata, and more.19518 npm6MIT
- AlicenseAqualityDmaintenanceEnables AI tools to access YouTube content, including transcript extraction, video/channel info, and search.434 npmMIT