A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

yt-dlp MCP server for video search, metadata, transcripts and downloads
An MCP server that integrates yt-dlp so AI agents can search videos, extract metadata and comments, fetch subtitles and transcripts, and download video or audio.
WHAT IT DOES
- •Searches YouTube with pagination and date filtering, returning results in JSON or Markdown.
- •Extracts video metadata, including views, likes, upload date, tags and formats, with optional field filtering and a human-readable summary tool.
- •Lists subtitle languages and downloads subtitles as VTT or clean plain-text transcripts in multiple languages.
- •Downloads video at selectable resolutions with trimming, and extracts audio-only files.
BEST FOR
- •Having an AI assistant find videos on a topic and show results for a given page range.
- •Retrieving and summarizing a video's title, channel, view count, duration and upload date.
- •Downloading a specific segment of a video or saving only its audio.
ABOUT YOUTUBE-DOWNLOADER
yt-dlp MCP server for video search, metadata, transcripts and downloads is cataloged as an MCP server attributed to kevinwatt. An MCP server that integrates yt-dlp so AI agents can search videos, extract metadata and comments, fetch subtitles and transcripts, and download video or audio. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for yt-dlp MCP server for video search, metadata, transcripts and downloads are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Can it retrieve video comments in formats suitable for AI analysis?
Yes. It extracts comments in flat JSON, threaded JSON, or AI-friendly Markdown trees, plus a human-readable summary view.
Which video resolutions can be selected when downloading?
Downloads support 480p, 720p, 1080p and best resolution options.
上游原版 README
README.md · 1bca5e8e7092 · 采集于 2026-11-13 09:23:27 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
🎬 yt-dlp-mcp
A powerful MCP server that brings video platform capabilities to your AI agents
Integrate yt-dlp with Claude, Dive, and other MCP-compatible AI systems. Download videos, extract metadata, get transcripts, and more — all through natural language.
Features • Installation • Tools • Usage • Documentation
✨ Features
🔍 Search & Discovery
📊 Metadata Extraction
📝 Transcript & Subtitles
|
🎥 Video Downloads
🎵 Audio Extraction
🛡️ Privacy & Safety
|
🚀 Installation
Prerequisites
Install yt-dlp on your system:
| Platform | Command |
|---|---|
| 🪟 Windows | winget install yt-dlp |
| 🍎 macOS | brew install yt-dlp |
| 🐧 Linux | pip install yt-dlp |
Getting Started
Add the following config to your MCP client:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "@kevinwatt/yt-dlp-mcp@latest"]
}
}
}
MCP Client Configuration
Dive
- Open Dive Desktop
- Click "+ Add MCP Server"
- Paste the config provided above
- Click "Save" and you're ready!
Claude Code
Use the Claude Code CLI to add the yt-dlp MCP server (guide):
claude mcp add yt-dlp npx @kevinwatt/yt-dlp-mcp@latest
Claude Desktop
Add to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "@kevinwatt/yt-dlp-mcp@latest"]
}
}
}
Cursor
Go to Cursor Settings -> MCP -> New MCP Server. Use the config provided above.
VS Code / Copilot
Install via the VS Code CLI:
code --add-mcp '{"name":"yt-dlp","command":"npx","args":["-y","@kevinwatt/yt-dlp-mcp@latest"]}'
Or follow the MCP install guide with the standard config from above.
Windsurf
Follow the configure MCP guide using the standard config from above.
Cline
Follow Cline MCP configuration guide and use the config provided above.
Warp
Go to Settings | AI | Manage MCP Servers -> + Add to add an MCP Server. Use the config provided above.
JetBrains AI Assistant
Go to Settings | Tools | AI Assistant | Model Context Protocol (MCP) -> Add. Use the config provided above.
Manual Installation
npm install -g @kevinwatt/yt-dlp-mcp
🛠️ Available Tools
All tools are prefixed with ytdlp_ to avoid naming conflicts with other MCP servers.
🔍 Search & Discovery
| Tool | Description |
|---|---|
ytdlp_search_videos |
Search YouTube with pagination and date filtering support
|
📝 Subtitles & Transcripts
| Tool | Description |
|---|---|
ytdlp_list_subtitle_languages |
List all available subtitle languages for a video
|
ytdlp_download_video_subtitles |
Download subtitles in VTT format with timestamps
|
ytdlp_download_transcript |
Generate clean plain text transcript
|
🎥 Video & Audio Downloads
| Tool | Description |
|---|---|
ytdlp_download_video |
Download video to Downloads folder
|
ytdlp_download_audio |
Extract and download audio only
|
📊 Metadata
| Tool | Description |
|---|---|
ytdlp_get_video_metadata |
Extract comprehensive video metadata in JSON
|
ytdlp_get_video_metadata_summary |
Get human-readable metadata summary
|
💬 Comments
| Tool | Description |
|---|---|
ytdlp_get_video_comments |
Extract comments in flat JSON, threaded JSON, or AI-friendly Markdown
|
ytdlp_get_video_comments_summary |
Get a human-readable summary of comments
|
💡 Usage Examples
Search Videos
"Search for Python programming tutorials"
"Find the top 20 machine learning videos"
"Search for 'react hooks tutorial' and show results 10-20"
"Search for JavaScript courses in JSON format"
Get Metadata
"Get metadata for https://youtube.com/watch?v=..."
"Show me the title, channel, and view count for this video"
"Extract just the duration and upload date"
"Give me a quick summary of this video's info"
Get Comments
"Get the top 20 comments for https://youtube.com/watch?v=..."
"Get comments as threaded JSON for this video"
"Extract comments as markdown_tree so the reply branches stay intact"
"Get newest comments with maxDepth 1 and maxRepliesPerThread 0"
"Summarize comments in threaded view"
Download Subtitles & Transcripts
"List available subtitles for https://youtube.com/watch?v=..."
"Download English subtitles from this video"
"Get a clean transcript of this video in Spanish"
"Download Chinese (zh-Hant) transcript"
Download Content
"Download this video in 1080p: https://youtube.com/watch?v=..."
"Download audio from this YouTube video"
"Download this video from 1:30 to 2:45"
"Save this Facebook video to my Downloads"
📖 Documentation
- API Reference - Detailed tool documentation
- Configuration - Environment variables and settings
- Cookie Configuration - Authentication and private video access
- Error Handling - Common errors and solutions
- Contributing - How to contribute
🔧 Configuration
Environment Variables
# Downloads directory (default: ~/Downloads)
YTDLP_DOWNLOADS_DIR=/path/to/downloads
# Default resolution (default: 720p)
YTDLP_DEFAULT_RESOLUTION=1080p
# Default subtitle language (default: en)
YTDLP_DEFAULT_SUBTITLE_LANG=en
# Allow URLs that resolve to localhost/private/link-local addresses (default: false)
YTDLP_ALLOW_PRIVATE_URLS=false
Only http/https URLs are accepted, and URLs whose host resolves to a loopback, private, or link-local address (e.g. localhost, 192.168.x.x, 169.254.169.254) are rejected. Set YTDLP_ALLOW_PRIVATE_URLS=true if you need to fetch media from your local network.
Limitation: this check runs once on the URL you pass in, before yt-dlp starts. yt-dlp then makes its own connections, so it does not cover HTTP redirects to internal addresses or DNS rebinding. If you run this server where reaching internal services matters (e.g. a shared or cloud-hosted deployment), restrict outbound traffic at the network layer (container network policy, firewall, or blocking
169.254.169.254).
See the Configuration Guide for the full list.
Proxy and yt-dlp Config File
All tools read your yt-dlp config file (~/.config/yt-dlp/config), so any
--proxy, --cookies or other options set there apply automatically. This is
the only channel available to MCP clients that cannot pass environment
variables to the server process.
These are alternatives — set only the one you need:
| Setting | Effect |
|---|---|
YTDLP_PROXY=socks5://127.0.0.1:1080 | Route all requests through this proxy |
YTDLP_PROXY= (empty) | Force a direct connection, overriding a proxy in the yt-dlp config file |
YTDLP_IGNORE_CONFIG=1 | Skip all yt-dlp config files |
Supported proxy schemes: http, https, socks4, socks5, socks5h.
YTDLP_IGNORE_CONFIG=1is not a straight revert to 0.9.x. The search, metadata and comments tools always read the config file, so this setting stops them from doing so as well.
MCP Configuration with a proxy:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "@kevinwatt/yt-dlp-mcp@latest"],
"env": {
"YTDLP_PROXY": "socks5://127.0.0.1:1080"
}
}
}
}
If your MCP client cannot pass environment variables to the server, put the
options in ~/.config/yt-dlp/config instead — every tool reads that file:
--proxy socks5://127.0.0.1:1080
--cookies /path/to/cookies.txt
Note: Your config file applies to downloads as well. Options that change the output format (
-x,--remux-video,--recode-video) change what the download tools produce; the tools report the file yt-dlp actually wrote, so the reported name stays correct. Output-location options (-o,-P) have no effect, because the tools always pass an absolute--outputon the command line, which takes precedence.Note: yt-dlp config files can contain options that execute commands (
--exec,--postprocessor-args,--ffmpeg-location). These now run on tool invocations too, including ones triggered by an AI assistant. SetYTDLP_IGNORE_CONFIG=1if you would rather the server ignore your config file entirely.
Cookie Configuration
To access private videos, age-restricted content, or avoid rate limits, configure cookies:
⚠️ Important: Cookie authentication requires a JavaScript runtime (deno) to be installed. When using cookies, YouTube uses authenticated API endpoints that require JavaScript challenge solving. Without deno, downloads will fail with "n challenge solving failed" error.
Install deno: https://docs.deno.com/runtime/getting_started/installation/
# Extract cookies from browser (recommended)
YTDLP_COOKIES_FROM_BROWSER=chrome
# Or use a cookie file
YTDLP_COOKIES_FILE=/path/to/cookies.txt
MCP Configuration with cookies:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "@kevinwatt/yt-dlp-mcp@latest"],
"env": {
"YTDLP_COOKIES_FROM_BROWSER": "chrome"
}
}
}
}
Supported browsers: brave, chrome, chromium, edge, firefox, opera, safari, vivaldi, whale
See Cookie Configuration Guide for detailed setup instructions.
🏗️ Architecture
Built With
- yt-dlp - Video extraction engine
- MCP SDK - Model Context Protocol
- Zod - TypeScript-first schema validation
- TypeScript - Type safety and developer experience
Key Features
- ✅ Type-Safe: Full TypeScript with strict mode
- ✅ Validated Inputs: Zod schemas for runtime validation
- ✅ Character Limits: Automatic truncation to prevent context overflow
- ✅ Tool Annotations: readOnly, destructive, idempotent hints
- ✅ Error Guidance: Actionable error messages for LLMs
- ✅ Modular Design: Clean separation of concerns
📊 Response Formats
JSON Format
Perfect for programmatic processing:
{
"total": 50,
"count": 10,
"offset": 0,
"videos": [...],
"has_more": true,
"next_offset": 10
}
Markdown Format
Human-readable display:
Found 50 videos (showing 10):
1. **Video Title**
📺 Channel: Creator Name
⏱️ Duration: 10:30
🔗 URL: https://...
Comment Markdown Tree
Useful for LLM analysis when reply context matters:
# AI-Ready Comment Threads
source_title: "Sample Video"
comments_detected: 20
root_threads: 6
reply_comments: 14
## Threads
### Thread 1
- comment_id: "abc123"
parent_id: "root"
depth: 0
reply_count: 2
text:
| Root comment text
- comment_id: "reply456"
parent_id: "abc123"
depth: 1
reply_count: 0
text:
| Reply text
Comment Limits
YouTube comment extraction supports the full extractor tuple:
youtube:comment_sort=<sort>;max_comments=<total>,<parents>,<replies>,<repliesPerThread>,<depth>
Examples:
- Default behavior:
maxComments=20yieldsmax_comments=20,20,20,20,2 - Root-only comments:
maxDepth=1,maxRepliesPerThread=0 - Limited branching:
maxReplies=40,maxRepliesPerThread=5,maxDepth=2
🔒 Privacy & Security
- No Tracking: Direct downloads, no analytics
- Input Validation: Zod schemas prevent injection
- URL Validation: Strict URL format checking
- Character Limits: Prevents context overflow attacks
- Read-Only by Default: Most tools don't modify system state
🤝 Contributing
Contributions are welcome! Please check out our Contributing Guide.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- yt-dlp - The amazing video extraction tool
- Anthropic - For the Model Context Protocol
- Dive - MCP-compatible AI platform
📚 Related Projects
- MCP Servers - Official MCP server implementations
- yt-dlp - Command-line video downloader
- Dive Desktop - AI agent platform
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for yt-dlp MCP server for video search, metadata, transcripts and downloads from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/youtube-downloader)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related media design MCP Servers
Alternative and complementary servers in the same category

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.
