yt-dlp-mcp

Provides an MCP server (Node/TypeScript) that wraps yt-dlp to let AI agents search for videos, extract metadata, download subtitles/transcripts, and download video/audio (including trimming), via MCP tools such as ytdlp_search_videos and ytdlp_download_video/audio.

Evaluated Mar 30, 2026 (22d ago)
Repo ↗ Ai Ml mcp yt-dlp video audio transcripts typescript nodejs tooling media-extraction zod
⚙ Agent Friendliness
64
/ 100
Can an agent use this?
🔒 Security
48
/ 100
Is it safe for agents?
⚡ Reliability
36
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
86
Documentation
78
Error Messages
0
Auth Simplicity
65
Rate Limits
35

🔒 Security

TLS Enforcement
40
Auth Strength
55
Scope Granularity
30
Dep. Hygiene
45
Secret Handling
70

Security is mostly about client-side/agent-side usage: the tool supports cookie-based access through environment variables (and warns about authenticated endpoints). It claims URL validation, Zod input validation, and character limits, which can help against prompt/tool input issues. However, it also downloads content from third-party URLs and may execute yt-dlp with options/cookies, increasing the need for strict egress control and careful handling of cookie files to avoid leakage/logging. TLS enforcement is not directly applicable/observable for this MCP server from the README (it’s a local/server-side tool), so scoring is conservative.

⚡ Reliability

Uptime/SLA
0
Version Stability
55
Breaking Changes
50
Error Recovery
40
AF Security Reliability

Best When

You need an agent toolchain that can pull structured information and/or media artifacts from public video URLs on-demand through MCP.

Avoid When

You have strict egress controls, cannot run npx/Node tooling, or require guaranteed stability of third-party video site behavior (yt-dlp scraping).

Use Cases

  • AI-assisted video discovery (search with pagination/date filters)
  • Metadata extraction for summarization or indexing
  • Transcript/subtitle retrieval and processing (VTT and cleaned text)
  • Automated video/audio downloads at specified resolution and optionally with time ranges
  • Use by MCP-compatible clients (Claude, Dive, Cursor, etc.) via an MCP client config

Not For

  • Replacing a full-fledged media CDN or streaming service
  • Use in environments where arbitrary third-party URL fetching/downloading is disallowed
  • Producing authoritative transcripts without considering source accuracy/quality

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: Cookie-based access for private/age-restricted content via yt-dlp cookies (YTDLP_COOKIES_FROM_BROWSER or YTDLP_COOKIES_FILE)
OAuth: No Scopes: No

No platform OAuth described; access control (when needed) is handled via passing cookies through environment configuration for yt-dlp.

Pricing

Free tier: No
Requires CC: No

No pricing model for the package described; cost is primarily operational (your infrastructure, and rate/throughput of external platforms/yt-dlp behavior).

Agent Metadata

Pagination
offset-based (offset/maxResults/next_offset/has_more style described for search responses)
Idempotent
True
Retry Guidance
Not documented

Known Gotchas

  • Downloads are performed via yt-dlp, which can fail for site-specific changes; agents should handle failures and possibly retry with alternative URLs/parameters.
  • Cookie-based access requires an additional JS runtime (deno) per README note; without it, authenticated downloads may fail.
  • Because the tool executes commands for downloads, an agent should validate URLs and constrain parameters (resolution/time ranges) to reduce unexpected large downloads.
  • When using transcripts/subtitles, language availability can vary; agents may need to query available languages first.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for yt-dlp-mcp.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-30.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered