Skip to main content

yt-dlp MCP

io.github.fanyzp/ytdlp-mcp

v1.0.0Updated Nov 17, 2026stdio · npm

Download video and audio with yt-dlp via AI agents: inspect, batch, subtitles, convert.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add ytdlp-mcp -e YTDLP_BIN=yt-dlp -e FFMPEG_BIN=ffmpeg -- npx -y @fanyzp/[email protected]

Configuration

4 settings.

  • YTDLP_DOWNLOAD_DIR
    Env var· optional
    Directory where downloaded files are saved.
  • YTDLP_COOKIES_FILE
    Env var· optional
    Path to a Netscape-format cookies.txt file for sites that require a signed-in session. Never paste cookie contents into chat.
  • YTDLP_BIN
    Env var· optional
    Path to the yt-dlp binary.Default: yt-dlp
  • FFMPEG_BIN
    Env var· optional
    Path to the ffmpeg binary, used for merging and converting.Default: ffmpeg

Listed in the official MCP Registry since Nov 17, 2026. Mirrored daily; last checked Nov 26, 2026.