TIDAL Music MCP

TIDAL Music MCP

Enables searching, managing playlists, getting recommendations, and downloading music from TIDAL through natural language commands via the Model Context Protocol.

Category
Visit Server

README

TIDAL Music MCP

Claude Code MCP Python License uv

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

  1. Clone this repository:

    git clone https://github.com/yourusername/tidal-dl-mcp.git
    cd tidal-dl-mcp
    
  2. Important: Do NOT create a virtual environment or run uv pip install --editable . in this directory. Claude Desktop uses uv run with --with flags to create an isolated environment automatically. Having a local .venv or 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: Claude MCP Configuration

Steps to Install MCP Configuration

  1. Open Claude Desktop
  2. Go to Settings > Developer
  3. Click on "Edit Config"
  4. Paste the modified JSON configuration
  5. Save the configuration
  6. 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 flow
  • search_tidal: Search TIDAL for tracks, albums, and artists by name
  • get_favorite_tracks: Retrieve your favorite tracks from TIDAL
  • recommend_tracks: Get personalized music recommendations
  • create_tidal_playlist: Create a new playlist in your TIDAL account
  • add_tracks_to_playlist: Add tracks to an existing playlist
  • get_user_playlists: List all your playlists on TIDAL
  • get_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 ID
  • download_album: Download an entire album by ID
  • download_playlist: Download all tracks from a playlist
  • download_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:

  1. 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 {} +
    
  2. Check for port conflicts (default port is 5050):

    # Windows
    netstat -ano | findstr ":5050"
    
    # Kill any conflicting processes
    taskkill /PID <pid> /F
    
  3. Restart Claude Desktop after making changes

  4. Check logs at:

    • Windows: %APPDATA%\Claude\logs\mcp-server-tidal.log
    • macOS/Linux: ~/.claude/logs/mcp-server-tidal.log

License

MIT License

Acknowledgements

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured