Skip to main content
Glama

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-dlp

Related MCP server: yt-dlp-mcp

Installation

Claude Code

claude mcp add yt-dlp -- npx -y github:pauloFroes/mcp-yt-dlp

Codex

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_dependencies

Check if yt-dlp is installed and available in PATH

get_video_info

Get video metadata (title, duration, resolution, fps, thumbnail)

download_video

Download video from URL to local file (best quality MP4)

download_audio

Download audio only from URL as MP3

License

MIT

Available Tools

4 tools
check_dependenciesCheck DependenciesA
Read-only

Check if yt-dlp is installed and available in PATH. Returns status, version, and installation instructions if missing.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.3/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesVideo URL (YouTube, Vimeo, or any yt-dlp supported URL)
filenameNoOutput filename without extension (default: video title)
output_dirNoOutput directory (default: system temp dir)

TDQS

A4/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesVideo URL (YouTube, Vimeo, or any yt-dlp supported URL)
filenameNoOutput filename without extension (default: video title)
output_dirNoOutput directory (default: system temp dir)

TDQS

A3.8/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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 InfoA
Read-only

Get metadata about a video URL: title, duration, resolution, fps, filesize, thumbnail, and description. Uses yt-dlp --dump-json.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesVideo URL (YouTube, Vimeo, or any yt-dlp supported URL)

TDQS

A4.3/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

  1. 4 tool updatesv1.0.0
    • First observedcheck_dependencies
    • First observeddownload_audio
    • First observeddownload_video
    • First observedget_video_info

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a distinctly different role: environment check, metadata retrieval, video download, and audio download. There is no overlap in purpose or output.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (check_dependencies, get_video_info, download_video, download_audio), making the naming predictable.

Tool Count5/5

Four tools is a compact and well-scoped set for a yt-dlp wrapper, covering the essential actions without unnecessary bloat.

Completeness4/5

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

ActivityInactive
ResponsivenessNo issues

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

Related MCP Servers

Latest Blog Posts

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