MCP directory
YM

yt-dlp MCP

by github.com/fanyzp · v1.0.0 · updated Nov 17, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @fanyzp/[email protected]

Environment variables

  • YTDLP_DOWNLOAD_DIR

    Directory where downloaded files are saved.

  • YTDLP_COOKIES_FILE

    Path to a Netscape-format cookies.txt file for sites that require a signed-in session. Never paste cookie contents into chat.

  • YTDLP_BIN

    Path to the yt-dlp binary.

  • FFMPEG_BIN

    Path to the ffmpeg binary, used for merging and converting.

More from github.com/fanyzp

More MCP servers