kevin 614d865b05 feat: rename download_video_srt to download_video_subtitles
- Rename tool from download_video_srt to download_video_subtitles
- Update tool description to better reflect subtitle format support
- Bump version to 0.6.14
2025-02-21 15:36:47 +08:00
2025-02-11 02:46:27 +08:00
2025-02-11 02:46:27 +08:00
2025-02-11 02:40:43 +08:00
2025-02-11 03:24:39 +08:00
2025-02-19 11:35:27 -06:00

yt-dlp-mcp

An MCP server implementation that integrates with yt-dlp, providing video content download capabilities (e.g. YouTube, Facebook, 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
  • 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_video_subtitles

    • List all available subtitles for a video
    • Inputs:
      • url (string, required): URL of the video
  • download_video_srt

    • Download subtitles in SRT format
    • 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'

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=..."

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

License

MIT

Author

Dewei Yen

Description
A Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Readme MIT 223 KiB
Languages
TypeScript 74.8%
JavaScript 25.2%