NestDaddy

yt-dlp MCP

io.github.fanyzp/ytdlp-mcp ยท v1.0.0

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

Is this your server? Claim it to get a Verified maintainer mark, your own note here, and an email when it goes down or its tools change. Free.

MCP Score How we grade

This server runs on your own machine, so there is no public endpoint to check and grade.

Connect Runs on your machine

Terminal
claude mcp add ytdlp-mcp -e YTDLP_DOWNLOAD_DIR=<YTDLP_DOWNLOAD_DIR> -e YTDLP_COOKIES_FILE=<YTDLP_COOKIES_FILE> -e YTDLP_BIN=<YTDLP_BIN> -e FFMPEG_BIN=<FFMPEG_BIN> -- npx -y @fanyzp/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "ytdlp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fanyzp/[email protected]"
      ],
      "env": {
        "YTDLP_DOWNLOAD_DIR": "<YTDLP_DOWNLOAD_DIR>",
        "YTDLP_COOKIES_FILE": "<YTDLP_COOKIES_FILE>",
        "YTDLP_BIN": "<YTDLP_BIN>",
        "FFMPEG_BIN": "<FFMPEG_BIN>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "ytdlp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fanyzp/[email protected]"
      ],
      "env": {
        "YTDLP_DOWNLOAD_DIR": "<YTDLP_DOWNLOAD_DIR>",
        "YTDLP_COOKIES_FILE": "<YTDLP_COOKIES_FILE>",
        "YTDLP_BIN": "<YTDLP_BIN>",
        "FFMPEG_BIN": "<FFMPEG_BIN>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ytdlp-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@fanyzp/[email protected]"
      ],
      "env": {
        "YTDLP_DOWNLOAD_DIR": "<YTDLP_DOWNLOAD_DIR>",
        "YTDLP_COOKIES_FILE": "<YTDLP_COOKIES_FILE>",
        "YTDLP_BIN": "<YTDLP_BIN>",
        "FFMPEG_BIN": "<FFMPEG_BIN>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
YTDLP_DOWNLOAD_DIR
Optional
Directory where downloaded files are saved.
YTDLP_COOKIES_FILE
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
Optional
Path to the yt-dlp binary.
FFMPEG_BIN
Optional
Path to the ffmpeg binary, used for merging and converting.

Details

Package@fanyzp/[email protected] (NPM, stdio)
First published17 Nov 2026
Last updated17 Nov 2026
Registry nameio.github.fanyzp/ytdlp-mcp

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.