Open Source · MIT Licensed

Turn Claude into your
personal DJ

An MCP server that bridges Claude's deep music knowledge with Spotify's 100M+ track catalog. Create playlists no algorithm could imagine.

$ npx spotify-mcp-server

One Sentence. One Playlist.

Watch Claude turn a vibe into a fully curated Spotify playlist in real time.

Claude Code
$ "Make me a playlist of songs that feel like 3am in a diner — lonely but not sad, warm coffee and neon lights"
🔍 Searching: "track:Fast Car artist:Tracy Chapman"
🔍 Searching: "track:Fade Into You artist:Mazzy Star"
🔍 Searching: "track:Pink Moon artist:Nick Drake"
📝 Creating playlist: "3AM at the Diner"
🎵 Adding 5 tracks to playlist...
Playlist created: 3AM at the Diner — 5 tracks

Algorithms recommend.
Claude curates.

Algorithmic Recommendations
  • Based on listening history and collaborative filtering
  • Can't understand thematic or literary concepts
  • No narrative structure or emotional arcs
  • Trapped in your existing taste bubble
Claude's Curation
  • Draws on deep knowledge of music, literature, and culture
  • Understands metaphor, mythology, and narrative
  • Builds playlists with acts, climax, and resolution
  • Finds connections across genres, decades, and languages

What Claude Can Create

🎭

Thematic Playlists

Claude understands concepts, metaphors, and cultural references that no search algorithm can parse.

Try: "Songs referencing Greek mythology"
📖

Narrative Arcs

Build playlists that tell a story — with rising action, climax, and resolution.

Try: "A road trip from hope to disillusionment to acceptance"
🔀

Era Blending

Find unexpected common ground between two musical worlds separated by decades.

Try: "Blend 1960s Motown with 2020s hyperpop"

7 Tools, Infinite Playlists

Simple primitives that Claude composes into creative workflows.

search_tracks
Search Spotify's catalog with rich query syntax (track, artist, genre, year)
Search
create_playlist
Create a new playlist with a creative name and description
Create
add_tracks_to_playlist
Add tracks to a playlist by URI (up to 100 per call)
Modify
remove_tracks_from_playlist
Remove tracks from a playlist by URI
Modify
get_playlist
Get full details and track listing for a playlist
Read
get_my_playlists
List your playlists with pagination support
Read
disconnect_spotify
Delete all stored tokens and disconnect your account
Auth

Up and Running in 3 Steps

1

Create a Spotify App

Get your Client ID from the Developer Dashboard.

2

Install & Configure

Clone the repo, set environment variables, add to Claude's MCP config.

3

Start Creating

Ask Claude to make a playlist. It handles everything automatically.

93
Tests Passing
7
MCP Tools
0
Dependencies with Vulnerabilities
MIT
Open Source License

Works with Claude Code and Claude Desktop on Windows, macOS, and Linux