yt-dlp MCP

v1.0.0
io.github.fanyzp/ytdlp-mcp Checked 4 days ago Published 19 days ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

probe

VIEW metadata only: title, duration, uploader, views, thumbnail, short description. One yt-dlp call, no download. Works on any site yt-dlp supports (1300+ extractors). Call this first to see what a URL contains.

ParameterTypeDescription
desc_chars *integer
url *string

formats

VIEW available formats only: compact list of video/audio qualities and sizes for a URL. One yt-dlp call, no download.

ParameterTypeDescription
limit *integer
url *string

supported

VIEW site support only: check whether a URL belongs to a site yt-dlp can handle, and name the matched extractor. No download.

ParameterTypeDescription
url *string

inspect

VIEW resolution plan only: probe a URL once and return which qualities exist plus the recommended download action (get_video/get_audio) and quality. Full automation: use its output to call the right download tool without asking the user. No download.

ParameterTypeDescription
url *string
want *string
qualitystring

get_video

DOWNLOAD video to mp4. One action per call: video only. Defaults to 720p; progressive single-file sources (TikTok) always use best direct copy.

ParameterTypeDescription
allow_playlist *boolean
quality *string
url *string
out_dirstring

get_audio

DOWNLOAD audio only. One action per call: audio only, default opus 64K.

ParameterTypeDescription
allow_playlist *boolean
codec *string
quality *string
url *string
out_dirstring

get_subtitles

DOWNLOAD subtitles only as VTT (manual subs preferred, auto-subs fallback). One action per call: subtitles only, no video.

ParameterTypeDescription
auto *boolean
lang *string
url *string
out_dirstring

advise

KNOWLEDGE question answering about yt-dlp itself: cookies, format selectors, audio extraction, subtitles, playlists, network flags, ffmpeg, output naming. No download. Use when the user asks HOW yt-dlp works or how to configure something.

ParameterTypeDescription
question *string

queue

BULK plan only: probe many URLs at once and return one plan per item (action, quality, wait_before_s delay). No download. Use to automate a batch before running fetch_all.

ParameterTypeDescription
delay_s *number
max *integer
urls *array
want *string
qualitystring

fetch_all

BULK download: run a batch of URLs with delay between items and per-item progress. Returns one result per URL. Use queue first to preview, then fetch_all to execute.

ParameterTypeDescription
codec *string
delay_s *number
max *integer
quality *string
urls *array
want *string
out_dirstring

watch

BULK list only: list videos in a playlist or channel (flat, no download) so the agent can archive new items on a schedule. Returns id, title, duration per entry.

ParameterTypeDescription
max *integer
url *string

convert

CONVERT a local video file with ffmpeg to a social-ready codec. Ask the user which platform it is for (or pass site) because the preset depends on preference; default h264. One action per call: transcode only.

ParameterTypeDescription
crf *integer
input *string
output *string
codecstring
sitestring