Spotify

Control Spotify playback and pull listening history.

Works with: Claude Desktop

Community server · details last checked

Quick install
npx -y spotify-mcp

How to install the Spotify MCP server

Add this to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": [
        "-y",
        "spotify-mcp"
      ]
    }
  }
}

Built by ContextBoltThis directory is built by ContextBolt: MCP-native memory and SEO tools that run alongside Spotify in the same client.

Explore ContextBolt

The Spotify MCP server lets an agent control playback and read your listening data. It is not going to change how you work, but it is one of the most immediately convincing demonstrations of MCP, because the result happens in the physical world about a second after you ask.

What it actually does

The server authenticates through OAuth and exposes Spotify’s API. The agent can control playback on an active device, search the catalogue, read your saved library and recently played tracks, and create or modify playlists. Playlist building is where the combination of your library and the model’s reasoning produces something you could not get from the app.

Practical patterns:

  • ‘Build me a playlist for focused work from artists already in my library.’
  • ‘What have I actually been listening to this month, and has it changed?’
  • ‘Play something similar to this album but calmer.‘

Why use it

Playlist creation is a genuine use rather than a gimmick. Spotify’s own recommendations optimise for the catalogue; an agent working from your saved library and a description of what you want produces something more specific. The listening history side is mildly interesting and occasionally revealing about how your year has gone.

Gotchas

Playback control requires Premium and an active device, so a free account gets the read and playlist half only, and “no active device” is the most common confusing error. OAuth scopes for playback are broad, so read what you are granting. It is also worth being realistic: this is a pleasant integration rather than a productive one, and if you are choosing which servers to keep in a context window it is not the one earning its slot.

Built by ContextBolt

This directory is built by ContextBolt

We build MCP-native tools that give your AI the context it cannot reach on its own. Bookmarks turns your saved posts into agent-queryable memory. SEO puts live keyword and ranking data inside Claude. Both run alongside Spotify in the same client.

Explore the products →

Spotify MCP server: FAQs

Does it need Spotify Premium?

Playback control does. Reading your library, history and building playlists generally works on a free account.

Can it build a playlist?

Yes, and it is the best use. Describing a mood and letting it assemble from your library beats scrolling.

Does it see my listening history?

Recently played and top tracks are available through the API, so it can reason about what you actually listen to.

Is this a serious tool?

Not especially, and that is fine. It is also a clean example of MCP working, which makes it a good first server for a sceptic.