loading…
Search for a command to run...
loading…
Enables searching, retrieving metadata, and downloading YouTube videos or audio without requiring an API key. It utilizes yt-dlp to support media retrieval and
Enables searching, retrieving metadata, and downloading YouTube videos or audio without requiring an API key. It utilizes yt-dlp to support media retrieval and playlist management within MCP-compliant clients like Claude and Cursor.
YouTube API 키 없이 동영상을 검색하고 다운로드하는 MCP 서버
Bug Report
·
Feature Request
This is a production-quality Model Context Protocol (MCP) server that allows you to search, get information about, and download YouTube videos and audio without needing a YouTube API key. It's designed to work seamlessly with MCP clients like Claude Desktop and Cursor.
The server is built with / for robust backend operations and FastMCP for a high-performance server framework.
yt-dlp.uv or pip. Works seamlessly with MCP clients.mp4, mkv, mp3, wav, etc.) and qualities.pipchoco install ffmpeg (with Chocolatey) or download from gyan.dev/ffmpegbrew install ffmpegsudo apt install ffmpeg (Ubuntu/Debian) or sudo dnf install ffmpeg (Fedora)Install the package using uv (recommended) or pip:
# Using uv (recommended)
uv pip install youtube-search-mcp
# Or using pip
pip install youtube-search-mcp
After installation, you can run the server directly:
youtube-search-mcp
Configure your MCP client to connect to the server.
For Claude Desktop or Cursor:
Add this to your MCP client configuration (usually claude_desktop_config.json):
{
"mcpServers": {
"youtube-search": {
"command": "youtube-search-mcp"
}
}
}
Or if using uvx (no installation required):
{
"mcpServers": {
"youtube-search": {
"command": "uvx",
"args": ["youtube-search-mcp"]
}
}
}
You can customize the server's behavior by setting environment variables. These can be added to your MCP client configuration (e.g., claude_desktop_config.json) or set via a .env file in the project root.
| Variable | Description | Default |
|---|---|---|
YT_MCP_DOWNLOAD_DIR |
Directory where videos/audio will be saved | downloads |
YT_MCP_DEFAULT_VIDEO_QUALITY |
Default video quality (best, high, medium, low) |
best |
YT_MCP_DEFAULT_MAX_RESULTS |
Number of search results to return by default | 10 |
YT_MCP_LOG_LEVEL |
Logging level (DEBUG, INFO, WARNING, ERROR) |
INFO |
Interested in contributing? Here’s how to set up your development environment.
pipchoco install ffmpeg (with Chocolatey) or download from gyan.dev/ffmpegbrew install ffmpegsudo apt install ffmpeg (Ubuntu/Debian) or sudo dnf install ffmpeg (Fedora)Clone the Repository
git clone https://github.com/easyhak/youtube-search-mcp.git
cd youtube-search-mcp
Install Dependencies
Using uv (recommended):
uv sync
Using pip:
python -m venv .venv
# Activate the virtual environment
# Windows: .venv\Scripts\activate
# macOS/Linux: source .venv/bin/activate
pip install -e ".[dev]"
Run the Server
Using uv:
uv run python -m youtube_search_mcp.main
Or with activated virtual environment:
python -m youtube_search_mcp.main
uv run black .uv run ruff check .uv run mypy .uv run pytestContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Please refer to the Contributing Guidelines for more details.
Distributed under the MIT License. See LICENSE for more information.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"youtube-search-download-mcp-server": {
"command": "npx",
"args": []
}
}
}