Lightweight MCP server for Spotify
open sourceMITself-hostablefreeMCP
Spotify MCP Server is an open source Model Context Protocol server that lets AI assistants such as Claude, Cursor and Cline control Spotify playback and manage playlists through Spotify's Web API. Its tools search Spotify, show what's playing and the queue, play, pause, skip, queue tracks, set the volume, list and create playlists, add tracks to them, and read or change Liked Songs, followed artists and saved albums. It runs over stdio by default, or as a long-lived Streamable HTTP server that several clients share, optionally as an OAuth-protected endpoint whose authorization server is Spotify itself; a Dockerfile and Compose file are included. It needs your own Spotify developer app and a Spotify Premium account.
Problems it solves
- I want to tell Claude to play a song or an album on my Spotify without touching the app
- ask my AI assistant to build a playlist mixing two artists and save it to my Spotify account
- copy the techno tracks from one of my playlists into another by asking an AI
- let Cursor turn the music volume down or skip a track while I'm coding
- give my AI agent access to my Spotify queue, liked songs and recently played tracks
- run one Spotify tool server that several AI clients connect to over HTTP with Spotify sign-in
Features
- search tracks, albums, artists and playlists
- now playing, queue, recently played and available devices
- play, pause, resume, skip and add to queue
- volume control (Spotify Premium)
- create playlists and add tracks to them
- read and remove Liked Songs; followed artists and saved albums
- stdio or Streamable HTTP transport
- OAuth-protected HTTP mode using Spotify as the authorization server
- Dockerfile and docker-compose for running beside MCPHub
- automatic access token refresh
Limitations
- Needs a Spotify Premium account and your own Spotify developer app1
Capabilities
| Has an MCP server | plan not known |
|---|
