Ytmp3
БесплатноНе проверенA Model Context Protocol server that lets your AI download YouTube audio and search videos, powered by yt-dlp and ffmpeg, shipped as a Docker image.
Описание
A Model Context Protocol server that lets your AI download YouTube audio and search videos, powered by yt-dlp and ffmpeg, shipped as a Docker image.
README
A Model Context Protocol (MCP) server that lets your AI download YouTube audio and search videos — powered by
yt-dlpandffmpeg, shipped as a Docker image.
What it does
| Tool | Description |
|---|---|
download_audio |
Downloads audio from any YouTube URL as MP3. Supports time-range clipping. |
search_videos |
Searches YouTube and returns titles, channels, durations, and URLs. |
More tools coming soon.
Requirements
- Docker Desktop — for Docker usage
- Node.js 18+ — for running directly via npm/npx
yt-dlpandffmpeginstalled on your system — for npm usage
Important
If you want playlist download, keep the below as 'system prompt'
When a tool returns a list of video URLs, you MUST immediately call download_audio for each URL one by one without asking for confirmation or summarizing. Do not stop until every URL has been passed to download_audio.
Docker (recommended, no setup)
1. Pull the image
docker pull piyush9969/ytmp3-mcp:latest
2. Add to your MCP client config
{
"mcpServers": {
"ytmp3-mcp": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "/Users/yourname/Downloads:/downloads",
"-e", "DOWNLOADS_DIR=/downloads",
"piyush9969/ytmp3-mcp:latest"
]
}
}
}
Update the volume path for your OS:
| OS | Volume path |
|---|---|
| Mac | /Users/yourname/Downloads:/downloads |
| Linux | /home/yourname/Downloads:/downloads |
| Windows | C:/Users/yourname/Downloads:/downloads |
Build from source (Docker)
If you want to build the image yourself instead of pulling:
git clone https://github.com/miteoshi/ytmp3-mcp.git
cd ytmp3-mcp
docker build -t ytmp3-mcp .
Then use the same mcp.json as above but replace the image name:
{
"mcpServers": {
"ytmp3-mcp": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "/Users/yourname/Downloads:/downloads",
"-e", "DOWNLOADS_DIR=/downloads",
"ytmp3-mcp"
]
}
}
}
Run directly via npm (no Docker)
Requires yt-dlp and ffmpeg installed on your machine:
Mac:
brew install yt-dlp ffmpeg
Windows:
winget install yt-dlp ffmpeg
Linux:
sudo apt install ffmpeg
pip install yt-dlp
Then clone and install:
git clone https://github.com/miteoshi/ytmp3-mcp.git
cd ytmp3-mcp
npm install
Add to your MCP client config:
{
"mcpServers": {
"ytmp3-mcp": {
"command": "npx",
"args": [
"tsx",
"/path/to/ytmp3-mcp/src/index.mts"
]
}
}
}
Replace /path/to/ytmp3-mcp with the actual path where you cloned the repo.
LM Studio config location
Settings → LLM → MCP Servers → Edit config
Usage
Once connected, just talk to your LLM naturally:
Download the audio from https://www.youtube.com/watch?v=...
Download only 1:00 to 2:30 from https://www.youtube.com/watch?v=...
Search YouTube for "baby keem new music"
Downloaded files appear in your ~/Downloads folder, named after the video title.
Supported time formats for clipping
| Format | Example |
|---|---|
MM:SS |
1:30 |
HH:MM:SS |
00:01:30 |
| Seconds | 90s |
How it works
LLM client
└── MCP call
└── docker run (or npx tsx)
└── yt-dlp + ffmpeg
└── ~/Downloads
Each tool call spawns a fresh process, runs the command, and exits. No persistent container, no background process.
adding more features..
Установка Ytmp3
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/miteoshi/ytmp3-mcpFAQ
Ytmp3 MCP бесплатный?
Да, Ytmp3 MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Ytmp3?
Нет, Ytmp3 работает без API-ключей и переменных окружения.
Ytmp3 — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Ytmp3 в Claude Desktop, Claude Code или Cursor?
Открой Ytmp3 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Ytmp3 with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
