Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
yt-dlp search, download, metadata, delivery, and Plex workflows over MCP and CLI.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
YTDLP_PLEX_URL, YTDLP_PLEX_TOKEN, YTDLP_ACOUSTID_CLIENT_KEY, YTDL_RMCP_BINARY_VERSION, YTDL_RMCP_RELEASE_BASE_URL, RUST_LOGValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"rytdl": {
"command": "npx",
"args": [
"-y",
"@dinglebear/rytdl"
],
"env": {
"YTDLP_PLEX_URL": "your-value",
"YTDLP_PLEX_TOKEN": "your-value",
"YTDLP_ACOUSTID_CLIENT_KEY": "your-value",
"YTDL_RMCP_BINARY_VERSION": "your-value",
"YTDL_RMCP_RELEASE_BASE_URL": "your-value",
"RUST_LOG": "your-value"
}
}
}
}Run this in your terminal
claude mcp add rytdl --env YTDLP_PLEX_URL=your-value --env YTDLP_PLEX_TOKEN=your-value --env YTDLP_ACOUSTID_CLIENT_KEY=your-value --env YTDL_RMCP_BINARY_VERSION=your-value --env YTDL_RMCP_RELEASE_BASE_URL=your-value --env RUST_LOG=your-value -- npx -y @dinglebear/rytdlFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"rytdl": {
"command": "npx",
"args": [
"-y",
"@dinglebear/rytdl"
],
"env": {
"YTDLP_PLEX_URL": "your-value",
"YTDLP_PLEX_TOKEN": "your-value",
"YTDLP_ACOUSTID_CLIENT_KEY": "your-value",
"YTDL_RMCP_BINARY_VERSION": "your-value",
"YTDL_RMCP_RELEASE_BASE_URL": "your-value",
"RUST_LOG": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"rytdl": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dinglebear/rytdl"
],
"env": {
"YTDLP_PLEX_URL": "your-value",
"YTDLP_PLEX_TOKEN": "your-value",
"YTDLP_ACOUSTID_CLIENT_KEY": "your-value",
"YTDL_RMCP_BINARY_VERSION": "your-value",
"YTDL_RMCP_RELEASE_BASE_URL": "your-value",
"RUST_LOG": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
YTDLP_PLEX_URL envYTDL_RMCP_BINARY_VERSION envYTDL_RMCP_RELEASE_BASE_URL envRUST_LOG envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified against the domain dinglebear.ai (the registry checks domain ownership)
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: YTDLP_PLEX_TOKEN, YTDLP_ACOUSTID_CLIENT_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (1.0.4) reached the registry 3 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
yt-dlp search, download, metadata, delivery, and Plex workflows over MCP and CLI.
Written in Rust on the rmcp crate. yt-dlp and ffmpeg are auto-downloaded into a per-user cache on first run, so the host needs neither pre-installed — the one binary is the whole install.
30-second path: npx -y @dinglebear/rytdl setup -> configure a target path -> call youtube_search or youtube_probe; use youtube_download only after the destination and trust boundary are clear.
Status: production personal-media MCP server. Read-only search/probe/stats paths are safe; download, playlist, queue-drain, and tag-writing paths create or move state and are intended for trusted callers.
Not for: a generic web-downloader SaaS, a multi-tenant media ingestion boundary, a replacement for yt-dlp's upstream site handling, or an arbitrary filesystem writer for untrusted MCP callers.
| Surface | This repo |
|---|---|
| Repository | dinglebear-ai/rytdl |
| Cargo crate | ytdl-rmcp |
| npm package | @dinglebear/rytdl |
| CLI / binary | rytdl |
| MCP tools | youtube_search, youtube_search_ui, youtube_download, youtube_probe, youtube_identify, youtube_stats, youtube_plex_playlist, youtube_transfer_queue |
| Env prefix | YTDLP_*, plus FFMPEG_*, FPCALC_PATH, and YTDLP_LOG |
| Transport | stdio only — no HTTP listener, no service port |
The crate and npm package use the *-rmcp family naming pattern, while the repository and runtime binary are rytdl so local shells get a short Rust-native command.
| This repo owns | Upstream owns | Explicitly out of scope |
|---|---|---|
| MCP tools, CLI setup, media staging, tagging, transfer policy, queue manifests, config validation, response shaping, plugin/package metadata. | yt-dlp extraction behavior, source-site availability, ffmpeg media conversion, Plex library indexing, SSH/rclone authentication. | Multi-tenant isolation, arbitrary local writes for untrusted callers, credential brokering, site-specific scraping guarantees, media-server replacement. |
Artist/Title [id].ext so media servers (Plex, etc.) index it cleanly. A non-greedy Artist - Title parse recovers the artist from free-form video titles. Source .info.json, thumbnail, and description sidecars are preserved next to the media for future retagging/indexing. Common YouTube title noise like (Official Video), [Official Audio], and trailing channel handles is stripped from embedded title metadata by default.ytdl-rmcp setup registers the server into Claude Code, Codex, and/or Gemini CLI via each tool's own mcp add./path) are copied in-process by the binary itself, SSH targets (host:/path) use rsync -a --partial --protect-args with an scp fallback when rsync is missing, and rclone targets (remote:path or rclone:remote:/path) use rclone copy. On transfer failure the local staging copy is kept for retry and recorded as a drainable manifest for youtube_transfer_queue.use_archive records downloaded IDs (per mode) and skips them on later runs; YouTube mix/radio URLs are auto-cleaned to the seed video.yt-dlp Downloads by default.| Tool | Purpose |
|---|---|
youtube_search | Search YouTube with yt-dlp and return result URLs without downloading. |
youtube_search_ui | Open an interactive YouTube search UI in MCP App-capable hosts. |
youtube_download | Download one or more URLs (audio/video/both) and transfer them to a target path. |
youtube_probe | Read-only: resolve title/duration/uploader/format counts without downloading. |
youtube_identify | Fingerprint local audio with fpcalc, return AcoustID/MusicBrainz candidates, preview canonical tags, and optionally write high-confidence tags. |
youtube_stats | Summarize the download ledger: totals, file kinds, uploaders, and recent entries. |
youtube_plex_playlist | Build or preview Plex audio playlists from successful transferred audio history. |
youtube_transfer_queue | List and drain retained-staging transfer failure manifests. |
youtube_download parameters| Param | Default | Meaning |
|---|---|---|
urls | — (required) | One URL string or an array of URLs. |
mode | audio | audio, video, or both. |
audio_format | env YTDLP_AUDIO_FORMAT → mp3 | mp3/m4a/opus/flac/wav/best. |
audio_quality | 0 | yt-dlp quality for lossy codecs: 0–9 or a bitrate like 192K. |
max_height | best | Cap video resolution (e.g. 1080). |
container | mp4 | mp4 or mkv for video. |
target_path | env YTDLP_TARGET_PATH | Destination for audio. Use /path for local, host:/path for SSH, or remote:path or rclone:remote:/path for rclone. |
video_target_path | env YTDLP_VIDEO_TARGET_PATH → target_path | Destination for video when it should land somewhere different from audio. Same target forms. |
keep_local | false | Keep the local staging copy after transfer. |
use_archive | false | Record + skip already-downloaded IDs (per mode). |
plex_playlist | env YTDLP_PLEX_PLAYLIST → yt-dlp Downloads when Plex is configured | Plex playlist title or ID to add downloaded audio tracks to. Requires YTDLP_PLEX_URL and YTDLP_PLEX_TOKEN. |
response_format | markdown | markdown or json. |
When Plex credentials are configured, successful downloads that produced audio files search Plex for each downloaded track, create the target playlist if needed, and add missing tracks while skipping entries already present. The default playlist is yt-dlp Downloads; set YTDLP_PLEX_PLAYLIST or pass plex_playlist to override it. Plex errors are reported as plex_playlist_error and do not make the completed download fail. JSON responses include a plex_playlist summary with matched, added, already_present, and missing counts.
Canonical metadata matching through MusicBrainz/AcoustID is documented in docs/musicbrainz-acoustid.md. youtube_download automatically runs high-confidence MusicBrainz retagging for downloaded audio when YTDLP_ACOUSTID_CLIENT_KEY is configured; youtube_identify remains available for previewing or repairing existing library files, with manual tag writes enabled by write_tags=true.
youtube_download JSON responseWith response_format=json, the call returns a single object describing the batch:
| Field | Meaning |
|---|---|
transferred | true if every produced subtree reached its target. |
transfer_error | null on success, else the failure/timeout message (string). |
target_path / destination / destinations | The per-kind target destination(s) actually used. |
staging_kept_at | Local staging path retained for retry (set when the transfer failed or keep_local was requested). |
total_files / total_bytes / total_size | Aggregate counts across all items. |
partial_items | Count of items that errored but still produced files. |
failed_items | Count of items that errored and produced no files. |
items[] | Per-URL results, each with a status, title, video_id, error, and a files[] list. |
Each items[].status is one of:
ok — succeeded with files.partial — an error occurred but some files were still produced.failed — errored with no files.skipped — nothing new (already in the archive).Optional keys are attached only when the relevant stage ran:
metadata_retag — MusicBrainz/AcoustID auto-retag summary (attempted, matched, written, skipped, errors, or an error string); present when YTDLP_ACOUSTID_CLIENT_KEY is configured.plex_playlist — Plex playlist summary (playlist, matched, added, already_present, missing); plex_playlist_error is set instead if the Plex update failed (a Plex failure does not fail the download).history_error — set when the download succeeded but the JSONL ledger append failed.youtube_probe takes urls and response_format.
youtube_plex_playlistBuild or preview Plex audio playlists from successful ytdl-rmcp download history.
Actions:
| Action | Meaning |
|---|---|
list_candidates | Return audio candidates from history entries where transferred is true. |
preview | Resolve selected candidates against Plex without mutating Plex. |
apply | Add selected candidates to a Plex audio playlist idempotently. |
Candidates are history-derived and audio-only. Failed or retained-staging transfers are intentionally excluded.
apply can return plexamp_url, plex_web_url, and playback_link_status. plexamp_url is a best-effort generated listen.plex.tv playback link, not an official Plexamp API guarantee. The regular Plex playlist API calls use the official Plex Media Server API.
youtube_transfer_queueList and drain server-created transfer failure manifests.
Actions:
| Action | Meaning |
|---|---|
list | Show pending retained-staging transfer manifests. |
retry | Retry one manifest by opaque manifest_id. |
retry_all | Retry all pending manifests. |
prune | Remove manifests whose staging directory is gone. |
The queue never accepts arbitrary filesystem paths. Retry uses the original target paths recorded at failure time and re-checks local target policy before transfer. Manifests are created by the local s
Only the beginning is shown; read the rest in the repo