mcp-yt-dlp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-yt-dlpGet video info from https://youtube.com/watch?v=dQw4w9WgXcQ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-yt-dlp
MCP server wrapping yt-dlp for downloading videos and audio from URLs.
Works with Claude Code, Codex, Claude Desktop, Cursor, VS Code, Windsurf, and any MCP-compatible client.
Prerequisites
Node.js 18+
yt-dlp installed and in PATH
Install yt-dlp:
brew install yt-dlpRelated MCP server: yt-dlp-mcp
Installation
Claude Code
claude mcp add yt-dlp -- npx -y github:pauloFroes/mcp-yt-dlpCodex
Add to your codex.toml:
[mcp.yt-dlp]
command = "npx"
args = ["-y", "github:pauloFroes/mcp-yt-dlp"]Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-yt-dlp"]
}
}
}Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-yt-dlp"]
}
}
}VS Code
Add to .vscode/mcp.json:
{
"servers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-yt-dlp"]
}
}
}Windsurf
Add to ~/.windsurf/mcp.json:
{
"mcpServers": {
"yt-dlp": {
"command": "npx",
"args": ["-y", "github:pauloFroes/mcp-yt-dlp"]
}
}
}Available Tools
Tool | Description |
| Check if yt-dlp is installed and available in PATH |
| Get video metadata (title, duration, resolution, fps, thumbnail) |
| Download video from URL to local file (best quality MP4) |
| Download audio only from URL as MP3 |
License
MIT
Available Tools
4 toolscheck_dependenciesCheck DependenciesARead-only
Check if yt-dlp is installed and available in PATH. Returns status, version, and installation instructions if missing.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark it as read-only and non-destructive. The description adds useful behavioral detail by specifying that it returns status, version, and installation instructions if missing, making the tool's output behavior transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence that states the action and expected output. It avoids redundancy with the schema and annotations.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter check tool with read-only annotations, the description fully covers functionality and return values. It is complete enough for an agent to invoke and interpret the result.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the baseline score is 4. The description correctly focuses on behavior rather than parameters, and no additional parameter context is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: checking if yt-dlp is installed and available in PATH. It also specifies return values (status, version, installation instructions). This distinguishes it from sibling video tools like download_video and get_video_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for dependency checking but does not explicitly state when to use it relative to siblings. It lacks guidance on using it before downloads or as a prerequisite, but the name and context make the intended usage fairly clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
download_audioDownload AudioA
Download only the audio from a URL as MP3. Returns the path to the downloaded file. Uses yt-dlp with audio extraction.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL (YouTube, Vimeo, or any yt-dlp supported URL) | |
| filename | No | Output filename without extension (default: video title) | |
| output_dir | No | Output directory (default: system temp dir) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnlyHint=false and destructiveHint=false, so the description does not need to repeat that. It adds that the tool uses yt-dlp and returns a path, which is useful. However, it does not disclose behaviors like overwriting files, creating directories, or network dependencies, so some transparency gaps remain.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences long, with no fluff. It front-loads the main purpose, then states the return value and underlying library. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple tool, the description covers essentials: what it does, what it returns, and how it works. The schema covers parameter defaults, and annotations indicate side effects. It does not mention potential errors or the need for check_dependencies, but these are not critical for a basic download tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%: each parameter has a meaningful description (e.g., url is any yt-dlp supported URL, filename defaults to video title, output_dir defaults to system temp). The tool description itself adds no additional parameter semantics, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Download only the audio from a URL as MP3.' This is a specific verb+resource combination that distinguishes it from the sibling tool download_video. It also mentions the output (path to downloaded file), making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: this tool is for downloading audio only, implying it should be used when audio is needed. It does not explicitly mention alternatives or exclusions, but the phrase 'Download only the audio' and the sibling context (download_video) imply a usage boundary.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
download_videoDownload VideoA
Download a video from a URL to a local file. Returns the path to the downloaded file. Uses yt-dlp with best quality mp4 format.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL (YouTube, Vimeo, or any yt-dlp supported URL) | |
| filename | No | Output filename without extension (default: video title) | |
| output_dir | No | Output directory (default: system temp dir) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnly=false (write), openWorld=true (external interaction), and destructive=false. The description adds 'Uses yt-dlp with best quality mp4 format' and return path, but does not disclose behavior around file overwrites, failure modes, or network reliability. This provides some context beyond annotations but not rich detail, so a mid-range score is appropriate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three concise sentences, each delivering essential information: purpose, return value, and implementation detail. No fluff, front-loaded with the primary action, and all sentences earn their place. This is an example of efficient, well-structured description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description appropriately covers the return value (path). The underlying tool (yt-dlp) and format are disclosed. The presence of sibling tool check_dependencies hints at prerequisites, but the description could be slightly more explicit about failure cases or dependency requirements. Overall, it is complete for a simple download tool given the rich schema and annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with each parameter (url, filename, output_dir) already documented clearly. The description does not add parameter-level details, but it does note 'best quality mp4 format', which implies the output format despite no format parameter. Given the high schema coverage, a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Download a video from a URL to a local file') and the return value ('Returns the path'), distinguishing it from sibling tools like download_audio (audio-specific), get_video_info (metadata-only), and check_dependencies (environment check). The verb+resource construction is explicit and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage context is implied by the tool's name and description (use for downloading videos), but there is no explicit guidance on when to choose this over download_audio or get_video_info, nor any mention of prerequisites like network access or yt-dlp installation. This is adequate but lacks exclusions or alternative recommendations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_video_infoGet Video InfoARead-only
Get metadata about a video URL: title, duration, resolution, fps, filesize, thumbnail, and description. Uses yt-dlp --dump-json.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL (YouTube, Vimeo, or any yt-dlp supported URL) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate read-only and non-destructive behavior. The description adds useful context by mentioning the use of yt-dlp --dump-json and listing metadata fields returned. It does not detail network behavior or error handling, but the added implementation detail and output field list provide value beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the purpose and lists output fields without unnecessary words. Every element serves a clear function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple single-parameter tool, no output schema, and strong annotations, the description sufficiently covers the return values by listing metadata fields. It is complete enough for an agent to understand what information will be provided and how to invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a detailed description of the url parameter ('YouTube, Vimeo, or any yt-dlp supported URL'). The tool description only says 'video URL' and adds no new meaning beyond what the schema already provides, so the baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it gets metadata about a video URL and lists specific fields (title, duration, resolution, fps, filesize, thumbnail, description). This distinguishes it from sibling tools like download_video and download_audio, which focus on downloading rather than metadata retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The purpose of 'get metadata' is clearly distinct from downloading, implying usage when metadata is needed rather than actual content. However, it does not explicitly state when to use this tool instead of alternatives, so it lacks explicit exclusion guidance but provides clear context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v1.0.0- First observed
check_dependencies - First observed
download_audio - First observed
download_video - First observed
get_video_info
TDQS
Each tool has a distinctly different role: environment check, metadata retrieval, video download, and audio download. There is no overlap in purpose or output.
All tool names follow a consistent verb_noun pattern (check_dependencies, get_video_info, download_video, download_audio), making the naming predictable.
Four tools is a compact and well-scoped set for a yt-dlp wrapper, covering the essential actions without unnecessary bloat.
The set covers the core workflow: verify environment, fetch metadata, and download video or audio. Minor gaps exist (e.g., no explicit playlist support or format selection), but the surface is sufficient for typical use.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
An MCP server that gives any LLM or agent clean YouTube transcripts on demand: a single video, a whole channel, or a playlist, plus AI cleanup of auto-generated captions. API-key auth, credit-based, same backend as the public v1 API. Get a free API key with 25 free credits at youtubetranscriptdownload.com/account.
MCP server for Producer/Riffusion AI music generation
Hosted MCP tools for FFmpeg-style video and audio processing through FFMPEG API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for downloading videos and audio from YouTube and hundreds of other sites using yt-dlp.MIT
- AlicenseAqualityCmaintenanceWraps yt-dlp to enable MCP-compatible clients to look up video metadata and download videos.227MIT
- AlicenseAqualityAmaintenanceAn MCP server that extracts rich metadata (title, description, duration, chapters, subtitles, statistics, etc.) from media URLs across thousands of sites using yt-dlp, and also provides transcript fetching and search capabilities.3MIT
- AlicenseNot gradedqualityAmaintenanceMCP server and CLI for yt-dlp to search and download media, embed metadata and cover art, and deliver to local, SSH, rclone, or Plex targets.2AGPL 3.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pauloFroes/mcp-yt-dlp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server