YouTube Downloader MCP
Enables downloading YouTube videos and subtitles, including SRT subtitle files and plain-text transcripts, with background task execution and task history/status tracking.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
YouTube Downloader MCP
A YouTube video and subtitle downloader with two interfaces:
MCP Server — AI assistants (Cursor, Claude, etc.) can invoke tools via the Model Context Protocol
Electron Desktop App — a standalone GUI with search, format selection, and download progress
Both interfaces share the same yt-dlp-based core, ensuring consistent behavior.
Architecture
youtube-downloader-mcp/
index.js # MCP server entry (stdin/stdout JSON-RPC)
package.json
lib/
core/ # Shared core services (used by MCP + Electron)
youtube_video_downloader_service.js
youtube_subtitle_downloader_service.js
youtube_video_id_extractor_utility.js
download_task_persistent_json_store.js
download_task_runtime_state_tracker.js
yt_dlp_command_argument_builder.js
mcp_result_formatting_helpers.js
tools/ # MCP tool definitions (thin wrappers)
youtube_download_task_create.js
youtube_download_task_list.js
youtube_subtitle.js
electron-app/ # Electron + React desktop UI
electron/main.ts # IPC bridge to lib/core
src/App.tsx # React frontendRelated MCP server: YouTube Downloader MCP Server
Prerequisites
Node.js >= 18
Python 3 with
pip(yt-dlp is auto-installed on first use)For the Electron app: system dependencies for Electron
Quick Start
MCP Server
Add to your Cursor MCP config (~/.cursor/mcp.json):
{
"mcpServers": {
"youtube-downloader-mcp": {
"command": "node",
"args": ["/path/to/youtube-downloader-mcp/index.js"]
}
}
}Then restart Cursor. The following tools become available:
Tool | Description |
| Download a YouTube video (runs in background) |
| Download subtitles + generate plain text transcript |
| View history of all download/subtitle tasks |
Electron Desktop App
cd electron-app
npm install
npm run dev:electronMCP Tools
youtube_download
Downloads a YouTube video. The download runs in the background; use youtube_task_history to check progress.
url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
output_path: "~/Downloads" (optional)youtube_subtitle
Downloads subtitles in SRT format and converts them to a plain text transcript.
url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
language: "en-orig,en" (optional, comma-separated)
output_path: "~/Downloads" (optional)youtube_task_history
Lists all past download and subtitle tasks with their status, paths, and metadata.
type: "download" | "subtitle" (optional filter)
status: "completed" (optional filter)
limit: 50 (optional, max 200)Environment Variables
Variable | Default | Description |
|
| Browser for cookie extraction |
|
| YouTube player client for extractor |
|
| Set to |
| project root | Base directory for relative output paths |
License
MIT — see License.txt
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
SubDownload exposes YouTube as an MCP-native data source. Connect via OAuth and your AI agent can summarize videos, fetch full transcripts (even for videos with no captions, via AI ASR), search across channels, and save everything into a private knowledge base. Works with Claude, ChatGPT, Cursor, and 40+ MCP clients. Free credits on signup, no card required.
Fetch YouTube transcripts, monitor channels and track keyword matches from your AI assistant.
Search YouTube videos, read transcripts and get public video information in your AI assistant.
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides tools for downloading YouTube videos and audio using yt-dlp, enabling integration with AI assistants via MCP.5-
- AlicenseNot gradedqualityDmaintenanceAllows Claude or any MCP-compatible AI agent to download YouTube videos directly to your computer's Downloads folder.2MIT
- AlicenseNot gradedqualityCmaintenanceHosted MCP server that lets Claude, ChatGPT, Perplexity, Cursor and other AI assistants download videos as MP4 or audio as MP3/M4A from YouTube, TikTok, Instagram, Facebook, Vimeo, Twitch, SoundCloud and 6 more platforms. No install; free for 3 downloads a day.MIT
- FlicenseNot gradedqualityFmaintenanceGives MCP clients access to YouTube video transcripts and metadata. It lets AI agents read and summarize video content from a URL.-