Yt Dlp MCP Server

Model Context Protocol (MCP) Server for yt-dlp

Local serverstdio

What is the Yt Dlp MCP MCP server?

Most developer tooling work still happens through a UI a human drives. Yt Dlp MCP MCP server moves it into the conversation instead. Model Context Protocol (MCP) Server for yt-dlp.

The short version

An MCP server implementation that integrates with yt-dlp, providing video and audio content download capabilities from YouTube and other platforms for LLMs.

  • Video Download — Save videos to your specified folder with quality control
  • Audio Download — Extract and save audio in various formats (mp3, m4a, ogg, opus)
  • Video Information — Get metadata about videos without downloading
  • Privacy-Focused — Direct download without tracking
  • MCP Integration — Works with Claude Desktop and other MCP-compatible LLMs
  • Flexible Output — Customizable output paths and file formats

The tools it exposes

The server publishes 1 tool. What each one is for:

  • Prerequisites — The Prerequisites tool exposed by this server

Getting it running

Installation goes through your MCP client rather than a global install: point it at @gtvar/yt-dlp-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: YTDLP_PATH, FFMPEG_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Install yt-dlp based on your operating system: ```bash

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Yt Dlp MCP's toolset — Prerequisites — is a fair guide to whether it matches your workflow. It is maintained by Gtvar; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Yt Dlp MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.

How to install the Yt Dlp MCP MCP server

{
  "mcpServers": {
    "yt-dlp": {
      "command": "npx",
      "args": ["-y", "@gtvar/yt-dlp-mcp"],
      "env": {
        "YTDLP_PATH": "your-value",
        "FFMPEG_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Install yt-dlp based on your operating system: ```bash

VariableDescriptionRequired
YTDLP_PATHFilesystem location the server is allowed to use.Optional
FFMPEG_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Yt Dlp MCP to Prerequisites.

Frequently asked questions

It connects Yt Dlp MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Prerequisites) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Yt Dlp MCP directly.