Skip to main content
Glama
martin-gomola

Spotify MCP Server

A Model Context Protocol server that lets Cursor, Claude, and other AI assistants control Spotify playback, manage playlists, and plan DJ sets from BPM, key, and energy data. Ships with the agent skills that drive those tools.

Started from marcelmarais/spotify-mcp-server and since rewritten from scratch. Follow this setup, not upstream's. MIT licensed.

Example interactions

  • "Play Elvis's first song"

  • "Create a Taylor Swift / Slipknot fusion playlist"

  • "Copy the techno tracks from my workout playlist into my work playlist"

  • "Reorder my house playlist into a set that warms up, peaks, then cools down"

  • "What's the BPM and key of everything in this playlist?"

Related MCP server: Spotify MCP Server

What it does

Playback control, search, playlist and album editing, and listening history through 30 tools. See Tools.

On top of that sit the DJ tools. analyzeDjPlaylist reads BPM, Camelot key, and playlist-relative energy for a playlist and names the source behind every value. planDjSet turns that into a set order you can review, honouring harmonic mixing, an energy curve, artist spacing, and anchors you pin by hand. applyDjSetPlan writes it, defaulting to a dry run, checking the snapshot before and after, and keeping a receipt so a half-applied reorder rolls back. See DJ sets.

Quick start

You need Node.js 18+, a Spotify Premium account, and a Spotify Developer app with http://127.0.0.1:8888/callback registered as a Redirect URI.

git clone https://github.com/martin-gomola/spotify-mcp-server.git
cd spotify-mcp-server
npm install && npm run build
cp spotify-config.example.json spotify-config.json  # add your client ID and secret
npm run auth

Then point your client at build/index.js. Setup covers each step, the client config for Claude Desktop, Cline, and Cursor, and the optional SoundNet key.

Documentation

Guide

Covers

Setup

Spotify app, credentials, OAuth, connecting a client

Tools

Read, playback, playlist, and album tools with parameters

DJ sets

Audio features, the analyze/plan/apply flow, set shaping, restore

Agent skills

The bundled skills and how to use them outside this repo

Development

Scripts, layout, the Spotify API rules, local data

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Privacy-first audio intelligence: BPM, key, waveform. Audio never stored. Pay per second.

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Create and track AI music videos and audio-reactive visuals from songs.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/martin-gomola/spotify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server