TIDAL Music MCP
Enables searching, managing playlists, getting recommendations, and downloading music from TIDAL through natural language commands via the Model Context Protocol.
README
TIDAL Music MCP
This was originally a fork of yuhuacheng/tidal-mcp but has grown into a more robust implementation of Tidal features. In addition to added Tidal search functionality and the ability to run tidal-dl-ng (if you have it installed), there have been other stability and performance improvements, including batch operations for large track lists.
Features
- 🔍 Music Search: Search TIDAL's catalog for tracks, albums, and artists by name
- ⚡ Batch Operations: Search for multiple songs and create playlists efficiently in a single request
- 🌟 Music Recommendations: Get personalized track recommendations based on your listening history plus your custom criteria.
- ၊၊||၊ Playlist Management: Create, view, and manage your TIDAL playlists
- 📥 Music Downloads: Download tracks, albums, playlists, and favorites via tidal-dl-ng integration
Quick Start
Prerequisites
- Python 3.10+
- uv (Python package manager)
- TIDAL subscription
Installation
-
Clone this repository:
git clone https://github.com/yourusername/tidal-dl-mcp.git cd tidal-dl-mcp -
Important: Do NOT create a virtual environment or run
uv pip install --editable .in this directory. Claude Desktop usesuv runwith--withflags to create an isolated environment automatically. Having a local.venvor editable install can cause version conflicts and hangs.
MCP Client Configuration
Claude Desktop Configuration
To add this MCP server to Claude Desktop, you need to update the MCP configuration file. Here's an example configuration:
(you can specify the port by adding an optional env section with the TIDAL_MCP_PORT environment variable)
{
"mcpServers": {
"TIDAL Integration": {
"command": "/path/to/your/uv",
"env": {
"TIDAL_MCP_PORT": "5100"
},
"args": [
"run",
"--with",
"requests",
"--with",
"mcp[cli]",
"--with",
"flask",
"--with",
"tidalapi",
"mcp",
"run",
"/path/to/your/project/tidal-mcp/mcp_server/server.py"
]
}
}
}
Example scrrenshot of the MCP configuration in Claude Desktop:

Steps to Install MCP Configuration
- Open Claude Desktop
- Go to Settings > Developer
- Click on "Edit Config"
- Paste the modified JSON configuration
- Save the configuration
- Restart Claude Desktop
Suggested Prompt Starters
Once configured, you can interact with your TIDAL account through a LLM by asking questions like:
Search Examples:
- "Search for Bohemian Rhapsody"
- "Find albums by Radiohead"
- "Look up the artist Daft Punk"
Recommendation Examples:
- "Recommend songs like those in this playlist, but slower and more acoustic."
- "Create a playlist based on my top tracks, but focused on chill, late-night vibes."
- "Find songs like these in playlist XYZ but in languages other than English."
Playlist Management Examples:
- "Add this track to my workout playlist"
- "Put these songs in my 90's playlist"
- "Show me all tracks in my road trip playlist"
Batch Playlist Creation Examples:
- "Create a playlist called 'Road Trip Mix' with these songs: Bohemian Rhapsody, Hotel California, Stairway to Heaven, Sweet Home Alabama"
- "Make me a workout playlist with 20 high-energy rock songs from the 80s"
- "Build a dinner party playlist with jazz standards like Take Five, So What, and My Favorite Things"
💡 You can also ask the model to:
- Use more tracks as seeds to broaden the inspiration.
- Return more recommendations if you want a longer playlist.
- Or delete a playlist if you're not into it — no pressure!
Download Examples (requires tidal-dl-ng):
- "Download this track: 12345678"
- "Download the album with ID 87654321"
- "Download all my favorite tracks"
Available Tools
The TIDAL MCP integration provides the following tools:
Core Tools:
tidal_login: Authenticate with TIDAL through browser login flowsearch_tidal: Search TIDAL for tracks, albums, and artists by nameget_favorite_tracks: Retrieve your favorite tracks from TIDALrecommend_tracks: Get personalized music recommendationscreate_tidal_playlist: Create a new playlist in your TIDAL accountadd_tracks_to_playlist: Add tracks to an existing playlistget_user_playlists: List all your playlists on TIDALget_playlist_tracks: Retrieve tracks from a playlist (supports pagination with offset/limit for large playlists)delete_tidal_playlist: Delete a playlist from your TIDAL account
Batch Tools (optimized for large operations):
batch_search_tidal: Search for multiple songs in a single request (up to 100 queries). 10-50x faster than individual searches.create_playlist_from_songs: Create a playlist from a list of song names/descriptions. Automatically searches for each song and adds the best matches.
Download Tools (requires tidal-dl-ng):
download_track: Download a single track by IDdownload_album: Download an entire album by IDdownload_playlist: Download all tracks from a playlistdownload_favorites: Download all favorites (tracks, albums, artists, or videos)
Security & Privacy
This application accesses your TIDAL account data (favorites, playlists, search history) through TIDAL's official API. Key security notes:
- OAuth tokens are stored in your system's temp directory (
<temp>/tidal-session-oauth.json) - Network binding is localhost-only (127.0.0.1) - not accessible from other machines
- No telemetry - your data is never sent to third parties
- Third-party libraries - uses community-maintained tidalapi, not an official TIDAL SDK
See SECURITY.md for full details on data access, storage, and reporting vulnerabilities.
Troubleshooting
If the MCP server hangs when Claude Desktop tries to call tools:
-
Delete any local Python environment artifacts:
# Remove these if they exist in the project directory rm -rf .venv rm -rf tidal_mcp.egg-info rm -f uv.lock # Clear Python cache find . -type d -name __pycache__ -exec rm -rf {} + -
Check for port conflicts (default port is 5050):
# Windows netstat -ano | findstr ":5050" # Kill any conflicting processes taskkill /PID <pid> /F -
Restart Claude Desktop after making changes
-
Check logs at:
- Windows:
%APPDATA%\Claude\logs\mcp-server-tidal.log - macOS/Linux:
~/.claude/logs/mcp-server-tidal.log
- Windows:
License
Acknowledgements
- yuhuacheng/tidal-mcp - Original TIDAL MCP implementation
- Model Context Protocol (MCP)
- TIDAL Python API
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。