0.6.26 • Published 12 months ago

@kevinwatt/yt-dlp-mcp v0.6.26

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

yt-dlp-mcp

An MCP server implementation that integrates with yt-dlp, providing video and audio content download capabilities (e.g. YouTube, Facebook, Tiktok, etc.) for LLMs.

Features

  • Subtitles: Download subtitles in SRT format for LLMs to read
  • Video Download: Save videos to your Downloads folder with resolution control
  • Audio Download: Save audios to your Downloads folder
  • Privacy-Focused: Direct download without tracking
  • MCP Integration: Works with Dive and other MCP-compatible LLMs

Installation

Prerequisites

Install yt-dlp based on your operating system:

# Windows
winget install yt-dlp

# macOS
brew install yt-dlp

# Linux
pip install yt-dlp

With Dive Desktop

  1. Click "+ Add MCP Server" in Dive Desktop
  2. Copy and paste this configuration:
{
  "mcpServers": {
    "yt-dlp": {
      "command": "npx",
      "args": [
        "-y",
        "@kevinwatt/yt-dlp-mcp"
      ]
    }
  }
}
  1. Click "Save" to install the MCP server

Tool Documentation

  • list_subtitle_languages

    • List all available subtitle languages and their formats for a video (including auto-generated captions)
    • Inputs:
      • url (string, required): URL of the video
  • download_video_subtitles

    • Download video subtitles in any available format. Supports both regular and auto-generated subtitles
    • Inputs:
      • url (string, required): URL of the video
      • language (string, optional): Language code (e.g., 'en', 'zh-Hant', 'ja'). Defaults to 'en'
  • download_video

    • Download video to user's Downloads folder
    • Inputs:
      • url (string, required): URL of the video
      • resolution (string, optional): Video resolution ('480p', '720p', '1080p', 'best'). Defaults to '720p'
  • download_audio

    • Download audio in best available quality (usually m4a/mp3 format) to user's Downloads folder
    • Inputs:
      • url (string, required): URL of the video

Usage Examples

Ask your LLM to:

"List available subtitles for this video: https://youtube.com/watch?v=..."
"Download a video from facebook: https://facebook.com/..."
"Download Chinese subtitles from this video: https://youtube.com/watch?v=..."
"Download this video in 1080p: https://youtube.com/watch?v=..."
"Download audio from this YouTube video: https://youtube.com/watch?v=..."

Manual Start

If needed, start the server manually:

npx @kevinwatt/yt-dlp-mcp

Requirements

  • Node.js 20+
  • yt-dlp in system PATH
  • MCP-compatible LLM service

Documentation

License

MIT

Author

Dewei Yen

0.6.26

12 months ago

0.6.25

12 months ago

0.6.24

12 months ago

0.6.23

12 months ago

0.6.22

12 months ago

0.6.21

12 months ago

0.6.20

12 months ago

0.6.19

12 months ago

0.6.17

12 months ago

0.6.16

12 months ago

0.6.15

12 months ago

0.6.14

12 months ago

0.6.13

12 months ago

0.6.12

12 months ago

0.6.11

12 months ago

0.6.10

12 months ago

0.6.9

12 months ago

0.6.8

12 months ago

0.6.7

12 months ago

0.6.6

12 months ago

0.6.5

12 months ago

0.6.4

12 months ago

0.6.3

12 months ago

0.6.2

12 months ago

0.6.1

12 months ago

0.6.0

12 months ago

0.5.1

12 months ago