Skip to content
MCP server
Registry

yt-dlp MCP Server

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

yt-dlp MCP scores 68 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 4 tools. Filed under Media. GitHub shows 3 stars. Package registries report about 87 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by fanyzpMITJavaScript3 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "fanyzp-ytdlp-mcp": {      "command": "npx",      "args": [        "-y",        "@fanyzp/ytdlp-mcp@1.0.0"      ],      "env": {        "YTDLP_DOWNLOAD_DIR": "",        "YTDLP_COOKIES_FILE": "",        "YTDLP_BIN": "yt-dlp",        "FFMPEG_BIN": "ffmpeg"      }    }  }}

Environment variables

NameRequiredNotes
YTDLP_DOWNLOAD_DIROptionalDirectory where downloaded files are saved.
YTDLP_COOKIES_FILEOptionalPath to a Netscape-format cookies.txt file for sites that require a signed-in session. Never paste cookie contents into chat.
YTDLP_BINOptionalPath to the yt-dlp binary.
FFMPEG_BINOptionalPath to the ffmpeg binary, used for merging and converting.

Tools4Tool docs quality grade C

All capabilities
  • Download a batch of URLs with optional delays

  • Extract audio as Opus, MP3, or M4A

  • Download manual or auto-generated subtitles as VTT

  • Download video, default output is MP4

About

Example

Send a link, get the file. Or type /ytdlp-mcp in OpenCode, Gemini CLI, or Claude Code:

chat

Install

git clone https://github.com/fanyzp/ytdlp-mcp.git && cd ytdlp-mcp && npm run setup

Requires yt-dlp, ffmpeg, Node 18. Or copy PROMPT.md into any AI agent and let it install for you.

Tools

ToolWhat it does
probeRead title, duration, uploader, views, thumbnail, and description
formatsList available media formats, quality, and estimated sizes
supportedCheck whether a URL matches a locally installed yt-dlp extractor
inspectRecommend a download action, quality, and available resolutions
get_videoDownload video, default output is MP4
get_audioExtract audio as Opus, MP3, or M4A
get_subtitlesDownload manual or auto-generated subtitles as VTT
adviseAnswer yt-dlp configuration questions
queuePreview a batch of URLs and per-item download plans
fetch_allDownload a batch of URLs with optional delays
watchList entries from a playlist or channel without downloading
searchSearch YouTube or SoundCloud and return compact metadata
convertRe-encode a local video using FFmpeg presets

Search providers

The search tool uses yt-dlp search extractor prefixes. YouTube (ytsearch) and SoundCloud (scsearch) were verified against the installed yt-dlp build. Other installed extractors include search-related entries, but not all provide a supported search prefix, so they are not exposed as providers unless the prefix works in a real query. Search results return metadata only and are limited to 1-50 items.

Provideryt-dlp prefix
youtubeytsearch
soundcloudscsearch

Env

VariableDefault
YTDLP_DOWNLOAD_DIR~/Downloads/ytdlp-mcp
YTDLP_COOKIES_FILEempty
YTDLP_BIN / FFMPEG_BINyt-dlp / ffmpeg

License

MIT: LICENSE

Frequently asked questions

What is yt-dlp MCP Server?

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

How do I install yt-dlp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. yt-dlp MCP Server runs locally from the npm package @fanyzp/ytdlp-mcp with the command npx -y @fanyzp/ytdlp-mcp@1.0.0.

Is yt-dlp MCP Server free and open source?

Yes. yt-dlp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does yt-dlp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for yt-dlp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does yt-dlp MCP Server provide?

yt-dlp MCP Server provides 4 tools: fetch_all, get_audio, get_subtitles, and get_video. See the full tool list for descriptions and parameters.

How is yt-dlp MCP Server's trust score calculated?

yt-dlp MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server