mcp-yt-dlp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-yt-dlp download https://youtu.be/dQw4w9WgXcQ at 720p and grab a few screenshots"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-yt-dlp
Inspect video URLs, download videos and available subtitles, and optionally extract screenshots for visual review. Supports the services handled by yt-dlp, including YouTube and Facebook.
Requirements
Use Node.js 22.18 or newer, npm, and uv with the uvx command available. FFmpeg and FFprobe are supplied by mcp-ffmpeg-runtime, which caches its downloaded binaries. First use requires internet access.
Related MCP server: yt-dlp
Start the MCP server
npx -y --prefer-online mcp-yt-dlp@latest mcpGeneric MCP configuration:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "--prefer-online", "mcp-yt-dlp@latest", "mcp"]
}
}
}Use npx.cmd on Windows if your client requires an executable command. Each CLI operation delegated by the published MCP adapter resolves the latest package through npm. yt-dlp itself runs through uvx --from "yt-dlp[default]@latest" yt-dlp, checking the configured Python package index for a compatible stable release.
Inspect, then download
Call inspect_video with a video URL. It returns a downloadId, title, duration and available resolutions. Then call download_video with that ID and the desired options, or supply a URL directly.
{
"downloadId": 0,
"maxHeight": 720,
"extractFrames": true,
"frameMode": "changes",
"frameMaxCount": 24,
"frameMaxHeight": 360
}Option | Default | Meaning |
| Required | Supply exactly one |
| Best available | Maximum video height, such as 720 |
|
| Enable optional screenshot extraction |
|
| Adaptive visual selection, or |
|
| Candidate spacing, with 0 selecting automatically |
|
| Maximum screenshots across the entire video |
|
| Maximum PNG height without upscaling |
|
| Grayscale similarity threshold. Higher suppresses more similar images |
Only enable screenshots when the task requires visual scene analysis. Long recordings take additional processing time. Sampling can miss brief changes. The legacy storyboard, one_per_second, keyframes and frameFps inputs remain accepted. storyboard maps to changes; one_per_second maps to interval. The codec-keyframe compatibility mode produces JPEGs and does not use the adaptive PNG limit.
Output
Downloads are stored in the operating system temporary directory under ytdlp/<MD5-of-URL>/. The persistent URL list in ytdlp/downloads.json assigns zero-based IDs. Keep this file to reuse IDs across restarts.
Videos and available subtitles share the video folder. Screenshot exports use separate subfolders containing time-labelled PNGs, a JSON manifest with original source times, and JPEG contact sheets with up to 12 images per sheet. Shared extraction is provided by mcp-extract-video-frames.
The result reports paths to the video, subtitles, screenshot manifest and contact sheets. Missing subtitles produce an empty list. Frame extraction errors report the saved video path. Existing matching video filenames are reused. Changes to a remote title or quality setting may produce a different filename.
CLI
npx -y --prefer-online mcp-yt-dlp@latest inspect "https://example.com/video"
npx -y --prefer-online mcp-yt-dlp@latest download --download-id 0 --extract-frames --frame-max-count 24Run --help to see all extraction options. Increase your MCP client's tool timeout for long downloads.
FFmpeg runtime configuration follows mcp-ffmpeg-runtime: FFMPEG_CACHE_DIR, FFMPEG_CHANNEL, FFMPEG_OFFLINE and FFMPEG_PREFERRED_RUNTIME. The downloader omits the runtime preference by default, using latest with cached update checks every 24 hours. An explicit preference can select cached, local, an npm semver range or a build ID. cached and local fall back to latest when unavailable. Version ranges stay within the requested constraint. Offline mode requires a complete existing runtime cache. Runtime and extractor npm dependencies are refreshed within their declared version constraints by the release workflow.
License
MIT.
Available Tools
2 toolsdownload_videoA
Download a video and available subtitles to an identifiable temporary folder. Supply a URL or downloadId. Inspect and download videos with subtitles. Frame extraction is optional and should be enabled only for visual scene analysis, especially for long videos where it adds processing time and compute cost. Use low resolution and a small frame budget for an overview.
Inputs: frameMode (required), extractFrames (required), frameMaxCount (required), frameMaxHeight (required), +6 more.
inspect_videoA
Inspect a video URL without downloading. Returns duration, available resolutions and a downloadId.
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools split cleanly along a metadata-vs-action boundary: inspect_video returns information without downloading, while download_video performs the download. The shared downloadId handoff makes the intended sequence explicit, so an agent cannot easily misselect.
Both names follow the same verb_noun pattern (inspect_video, download_video) with a consistent snake_case style and a shared object noun. There is no mixing of conventions or vague verbs.
Two tools is thin for a server whose descriptions imply several distinct capabilities (subtitles, frame extraction, resolution selection). The inspect-then-download pairing is well-scoped, but the surface feels minimal rather than complete.
The core inspect → download lifecycle is covered, but there is no way to clean up or delete the temporary download folders the server creates, and no status/progress or list operation for in-flight work. Frame extraction and subtitles are bundled into download_video rather than being separately controllable.
Maintenance
Related MCP Connectors
Video links, downloads and transcripts from YouTube, TikTok and 500+ sites; web page screenshots.
Download YouTube videos and clips as MP4 or MP3/AAC, and look up video metadata.
yt-dlp Link Extractor - Any Video URL to Direct Links
Extract video transcripts, storyboard grids, and cited JSON from YouTube, TikTok, Reels, and X.
Related MCP Servers
- -licenseAqualityNot gradedmaintenanceEnables downloading videos from 1000+ platforms including YouTube, Bilibili, TikTok, and Twitter using yt-dlp. Supports both MCP protocol and REST API modes with real-time progress tracking, multiple formats, and subtitle downloads.514 npm1-
- FlicenseAqualityDmaintenanceEnables video metadata extraction and downloading from platforms like TikTok and YouTube via yt-dlp, including direct MP4 links and local downloads with MP3 conversion.3-
- AlicenseNot gradedqualityCmaintenanceEnables link type detection, video downloading, metadata extraction, and transcript generation across 16+ platforms including YouTube, Bilibili, and WeChat Channels. Supports automatic subtitle extraction and optional Whisper speech-to-text for videos without captions.2MIT
- AlicenseAqualityBmaintenanceEnables AI agents to download, transcribe, and read metadata for any video or audio URL - YouTube, TikTok, X, podcasts and 1000+ sites - working from agent sandboxes and servers where direct downloads usually get blocked. $3 free credit, no card.1016 npmMIT