Back to Browse

Yt Dlp Video Link Extractor MCP Server

Developer ToolsUse Caution4.8MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

yt-dlp Video Link Extractor - Any URL to Links, 1000+ Sites

About

yt-dlp Video Link Extractor - Any URL to Links, 1000+ Sites

Remote endpoints: streamable-http: https://mcp.apify.com/?tools=anshumanatrey/yt-dlp-video-link-extractor

Security Report

4.8
Use Caution4.8High Risk

This is a well-designed MCP server wrapping yt-dlp for video metadata and link extraction. The code is clean, properly structured, and avoids dangerous patterns. Authentication is handled correctly via Apify tokens passed through environment/headers. Permissions are appropriate for the tool's purpose (network access for video sites, file I/O for cookies/temp storage). Minor code quality observations (broad exception handling, no input validation on URL format) do not warrant a lower score given the tool's nature. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 4 high severity).

7 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

yt-dlp Video Link Extractor - Any URL to Links, 1000+ Sites

Paste any video URL and get back the direct stream and download links plus full metadata. No files are stored, no RAM is burned - it resolves the links, it does not host the bytes.

Available as an Apify Actor. $0.002 per run + $0.003 per URL processed + $0.04 per video resolved.


What does it do?

Give it one or more video URLs. For each one it returns the direct media links (a single combined audio+video file when one exists, plus the best video-only and audio-only streams), every available format with its own URL, thumbnails, subtitles, and the metadata: title, uploader, duration, view count, upload date.

It is powered by yt-dlp, so it works on 1,872 sites (verified at build time) - YouTube, Vimeo, SoundCloud, Twitch, Dailymotion, Reddit, Rumble, Bilibili and far more - not just YouTube. You paste a URL, you get the links. That is the whole tool.

It never downloads the actual file. That is deliberate: downloading large videos into cloud storage is slow, expensive, and memory-heavy. Resolving the link is instant and lets you fetch, stream, or transcode the media yourself.

How is it different from a YouTube downloader?

Typical YouTube downloaderThis actor
SitesYouTube onlyAny of 1,000+ yt-dlp sites
OutputAn .mp4 file in storageThe direct links + full metadata
SpeedWaits for the full downloadResolves in seconds, no transfer
Cost driverPer MB downloadedPer URL + per video resolved (flat)
RAMBuffers the videoFlat - nothing is downloaded

Most actors in this space stop at YouTube. This one hands you the raw links for almost any video site, so you can build your own download, archive, or analysis pipeline on top.

When should I use it?

  • Get a direct, playable/downloadable link for a video on almost any site
  • Pull metadata (title, duration, views, upload date, uploader) in bulk
  • Feed stream URLs into your own downloader, transcoder, or player
  • Grab subtitle and caption track URLs across languages
  • Resolve every video in a playlist or channel to its links in one run

What does it cost?

Pay-per-event:

  • $0.002 per run
  • $0.003 per URL processed (covers the resolve attempt for any URL)
  • $0.04 per video successfully resolved

A single video costs about $0.045. A failed URL costs only $0.005 (run + URL fee, never the $0.04 resolution fee). Resolving a 50-video playlist costs about $2.00.

Which inputs does it take?

FieldRequiredWhat it does
urlsyesOne or more video URLs. Any yt-dlp site works. A playlist/channel URL expands to its videos.
includeFormatsoptionalInclude the full format list (every resolution + codec with its URL) and all thumbnails. Default on.
includeSubtitlesoptionalInclude subtitle and auto-caption URLs by language. Default off.
playlistLimitoptionalMax videos to resolve from a playlist/channel. Default 50.
proxyConfigurationoptionalRoute through a proxy. Use a residential group for sites that block datacenter IPs.
cookiesoptionalNetscape-format cookie contents for age-restricted or login-gated videos.

What does the output look like?

One record per resolved video. The link-first fields:

{
  "input_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "ok": true,
  "extractor": "youtube",
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "uploader": "Rick Astley",
  "duration": "3:33",
  "view_count": 1779349674,
  "upload_date": "2009-10-25",
  "best_url": "https://rr3---sn-gwpa-a3ve7.googlevideo.com/videoplayback?...",
  "best_url_kind": "combined",
  "best_resolution": "640x360",
  "best_video_url": "https://...  (up to 3840x2160)",
  "best_audio_url": "https://...  (.m4a)",
  "thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg",
  "formats": [ { "format_id": "...", "ext": "mp4", "resolution": "1920x1080", "url": "..." } ]
}
  • best_url is the single link most people want: a combined audio+video file when the site offers one, otherwise the best audio (for music/podcasts) or best video.
  • best_video_url + best_audio_url matter for high-resolution sources. YouTube and Vimeo serve 1080p/4K video and audio as separate streams, so best_url (the combined file) tops out lower - use the two separate links for maximum quality.
  • A failed URL returns { "input_url": ..., "ok": false, "error": "..." }.

How reliable is it?

yt-dlp is the most actively maintained extractor project in the world, and this actor pulls the latest release on every rebuild, so extractor fixes land automatically. Validated at build time across YouTube, YouTube Shorts, Vimeo (adaptive streams correctly resolved to a progressive file), and SoundCloud, plus playlist expansion and graceful handling of dead URLs.

Common questions

Q: Does it download the video file? No. It returns the direct links. Fetch, stream, or transcode the media yourself. This keeps it fast and cheap.

Q: Do the links expire? Often yes. Many sites (YouTube especially) issue time-limited URLs that expire in a few hours. Use them promptly.

Q: Which sites are supported? Anything yt-dlp supports - 1,872 extractors at last build, including YouTube, TikTok, Vimeo, Twitch, SoundCloud, Reddit, Dailymotion, Rumble, Bilibili, Facebook and more.

Q: A TikTok / Instagram / X link failed. Why? Those platforms aggressively block datacenter IPs. Supply a residential proxy in proxyConfiguration and/or cookies and retry. Most other sites work with no proxy.

Q: Does YouTube work? Yes for a single or a few URLs per run. YouTube rate-limits rapid repeated requests from cloud (datacenter) IPs, so resolving many YouTube URLs in one run can trip a "confirm you're not a bot" challenge after the first few. For heavy YouTube bulk, pass cookies or a residential proxy, or split the work across runs.

Q: Can I pass a whole playlist or channel? Yes. It expands to the videos inside, capped by playlistLimit.

Q: Can I get just the audio? Yes - best_audio_url is the best audio-only stream. For music sites it is also the best_url.

Q: Am I charged for failed URLs? Only the small per-URL processing fee ($0.003), which covers the resolve attempt. You are never charged the $0.04 resolution fee unless a video is actually resolved.

Limitations

  • Returns links, not downloaded files (by design).
  • Direct links are time-limited by the source platform - use them quickly.
  • Datacenter-blocked sites (TikTok, Instagram, X) need a residential proxy and/or cookies.
  • Live streams resolve to HLS/DASH manifest URLs, not a single finished file.

Ethical use

Download and use only content you have the right to access. Respect each platform's terms of service and copyright. This tool resolves publicly reachable media links; it does not bypass paywalls or DRM.

Other actors by the same maintainer

Part of a portfolio of cloud tools built and maintained by Anshuman Atrey (@AnshumanAtrey). Custom features shipped within 24-48h for legitimate use cases via atrey.dev.

ActorUse case
holehe-email-osintEmail to registered accounts across 120+ sites
social-analyzerUsername across 900+ social sites
theharvester-osintDomain to emails + subdomains
netintelIP/domain to WHOIS + DNS + GeoIP + ports
instagram-profile-intel-no-loginInstagram profile fields, no login

License

MIT (see LICENSE). Built on top of yt-dlp (Unlicense / public domain).

Reviews

No reviews yet

Be the first to review this server!