YouTube DLP

YouTube DLP

Retrieve video information, subtitles, and top comments with proxies.

4
Stars
1
Forks
0
Releases

Overview

Youtube DLP MCP Server is a Model Context Protocol (MCP) server designed to let AI agents interact with YouTube videos without downloading them. It exposes MCP-compliant tools to fetch video metadata, subtitles, and top comments for a given YouTube URL. The server uses yt-dlp under the hood to retrieve detailed video information (title, views, likes, description, etc.), to download subtitles including manual transcripts and auto-generated captions, and to fetch top comments sorted by likes with creator badges. Proxy support is built in, allowing use through HTTP/HTTPS or SOCKS proxies by configuring the PROXY_URL environment variable. Built with asyncio, the server provides fast, non-blocking operations and straightforward integration for AI assistants via the standard MCP protocol. Install options include uvx, pip, or running from source, with example commands and testing guidance via MCP Inspector and manual Python snippets. Required dependencies include Python 3.11+, yt-dlp, and the MCP framework, making it suitable for developers building MCP-enabled tools that access YouTube data efficiently without local downloads.

Details

Owner
AgentX-ai
Language
Python
License
MIT License
Updated
2025-12-07

Features

Extract Video Info

Get comprehensive metadata (title, views, likes, description, etc.).

Extract Subtitles

Download manual subtitles and auto-generated captions.

Extract Top Comments

Get top comments sorted by likes with creator badges (configurable count).

Proxy Support

Works with HTTP/HTTPS/SOCKS proxies via PROXY_URL.

Fast & Async

Non-blocking operations using asyncio.

Easy Integration

Standard MCP protocol for AI assistants.

Tags

YouTubevideo-infosubtitlescaptionstop-commentsproxiesMCPAI integrationyt-dlpasyncio