loading…
Search for a command to run...
loading…
Enables users to search the YouTube Music catalog and manage playlists using natural language. It provides tools for searching songs, albums, and artists, as we
Enables users to search the YouTube Music catalog and manage playlists using natural language. It provides tools for searching songs, albums, and artists, as well as performing playlist operations like creating, adding, and deleting tracks.
YouTube Music MCP server for Claude Code. Search the catalog and manage playlists via natural language.
| Tool | Actions | Description |
|---|---|---|
search |
— | Search songs, videos, albums, artists, playlists |
playlist |
list, create, add, tracks, delete |
Manage playlists |
config |
info, auth_status |
Check configuration and auth |
# Clone and install
git clone https://github.com/alexcook/mcp-ytmusic.git
cd mcp-ytmusic
python3 -m venv venv
source venv/bin/activate
pip install -e .
# Initialize config directory
ytmusic-mcp init
# Authenticate (paste browser headers from Chrome DevTools on music.youtube.com)
ytmusic-mcp auth
# Verify
ytmusic-mcp status
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"YouTube Music": {
"command": "/path/to/mcp-ytmusic/venv/bin/python",
"args": ["-m", "ytmusic_mcp"]
}
}
}
Uses browser cookie authentication via ytmusicapi. One-time setup:
ytmusic-mcp auth and paste when promptedCredentials are saved to ~/.config/ytmusic-mcp/browser.json and are valid for ~2 years.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-ytmusic": {
"command": "npx",
"args": []
}
}
}