Spotify MCP

Productivitystdio
Repository

A lightweight Model Context Protocol server for Spotify that lets AI assistants control playback and manage playlists through the Spotify Web API. Agents can search tracks, albums, and artists, start or pause playback, queue tracks, and create or update playlists on behalf of the authenticated user.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": [],
      "env": {
        "SPOTIFY_CLIENT_ID": "<YOUR_SPOTIFY_CLIENT_ID>",
        "SPOTIFY_CLIENT_SECRET": "<YOUR_SPOTIFY_CLIENT_SECRET>"
      }
    }
  }
}

Tools (2)

search

Search Spotify for tracks, albums, artists, or playlists.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Item type to search (track, album, artist, playlist)"
    },
    "query": {
      "type": "string",
      "description": "Search text"
    }
  }
}

control_playback

Control playback (play, pause, next, previous) on the active device.

{
  "type": "object",
  "required": [
    "action"
  ],
  "properties": {
    "action": {
      "type": "string",
      "description": "Playback action (play, pause, next, previous)"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server information

Author
Marcel Marais (@marcelmarais)
Repository
https://github.com/marcelmarais/spotify-mcp-server
License
MIT
Stars
0
Last updated
July 25, 2026