Spotify MCP

Connect Claude AI with Spotify for intelligent music control, playlist management, and discovery

Key Features

🎵

Playback Control

Complete control over your Spotify playback. Play, pause, skip tracks, and manage your queue seamlessly through Claude.

🔍

Smart Search

Find tracks, albums, artists, and playlists with intelligent pagination support for exploring deep into Spotify's catalog.

📋

Playlist Management

Create, modify, and manage playlists with smart batch operations. Handle playlists with 1000+ tracks efficiently.

Optimized API Usage

Intelligent batching reduces API calls by 60-80%. Add or remove up to 100 tracks in single operations.

🎯

Type-Safe Design

Built with FastMCP framework featuring full Pydantic validation and MyPy compliance for reliability.

📊

Real-time State

Access live user profile and playback status. Get detailed track and artist information on demand.

13 Powerful Tools

playback_control

Control playback - get state, start, pause, skip tracks

search_tracks

Search for tracks, albums, artists, or playlists with pagination

add_to_queue

Add tracks to your playback queue

get_queue

View your current playback queue

get_track_info

Get detailed metadata for any track

get_artist_info

Get artist details and top tracks

create_playlist

Create new playlists with custom settings

get_playlist_info

Get playlist metadata and details

get_playlist_tracks

Retrieve tracks from playlists with full pagination (handles 10k+ tracks)

get_user_playlists

List all user playlists with pagination

add_tracks_to_playlist

Batch add up to 100 tracks at once

remove_tracks_from_playlist

Batch remove tracks from playlists

modify_playlist_details

Update playlist name, description, and privacy

Installation

git clone https://github.com/jamiew/spotify-mcp.git
cd spotify-mcp
uv sync

Requires: Spotify Premium account, uv >= 0.54

Full Installation Guide

Usage Examples

"Create a chill study playlist"

Claude will search for appropriate tracks, create a new playlist, and batch add songs in one smooth workflow.

"Show me my Liked Songs"

Efficiently handles large playlists with pagination support, even for collections with thousands of tracks.

"Find similar artists to Radiohead"

Uses search and artist info tools to discover related artists and add their top tracks to your queue.