yt-dlp-mcp logo

yt-dlp-mcp

by kevinwatt

yt-dlp-mcp is an MCP server implementation that integrates with yt-dlp, providing video and audio content download capabilities for LLMs. It allows LLMs to access and utilize content from platforms like YouTube, Facebook, and TikTok.

View on GitHub

Last updated: N/A

What is yt-dlp-mcp?

yt-dlp-mcp is a server that enables LLMs to download video and audio content from various online platforms using yt-dlp. It acts as a bridge between LLMs and yt-dlp, allowing for automated content retrieval and processing.

How to use yt-dlp-mcp?

Install yt-dlp and Node.js 20+. Configure the MCP server in your LLM platform (e.g., Dive Desktop) using the provided JSON configuration. Then, instruct your LLM to use the available tools (list_subtitle_languages, download_video_subtitles, download_video, download_audio) with the appropriate URLs and parameters.

Key features of yt-dlp-mcp

  • Subtitles download (SRT format)

  • Video download with resolution control

  • Audio download

  • Privacy-focused direct download

  • MCP Integration

Use cases of yt-dlp-mcp

  • Downloading subtitles for LLM analysis

  • Downloading videos for LLM-based video summarization

  • Downloading audio for LLM-based audio transcription

  • Creating datasets of multimedia content for LLM training

  • Integrating multimedia content into LLM-powered applications

FAQ from yt-dlp-mcp

What platforms are supported?

The server supports any platform supported by yt-dlp, including YouTube, Facebook, and TikTok.

What video resolutions are available for download?

You can specify resolutions like '480p', '720p', '1080p', or 'best'. The server will download the closest available resolution.

How do I specify the subtitle language?

Use the 'language' parameter in the 'download_video_subtitles' tool, providing the language code (e.g., 'en', 'zh-Hant').

Where are the downloaded files saved?

Downloaded videos and audios are saved to your user's Downloads folder.

What are the system requirements?

Node.js 20+, yt-dlp in system PATH, and an MCP-compatible LLM service.