MCP Claude Spotify MCP Server

Model Context Protocol server for Spotify using Claude Desktop

Local serverstdioTypeScript

What is the MCP Claude Spotify MCP Server?

Model Context Protocol server for Spotify using Claude Desktop

What you get

  • Spotify authentication
  • Search for tracks, albums, artists, and playlists
  • Playback control (play, pause, next, previous)
  • Full playlist management (create, update, delete, reorder tracks, manage cover images)
  • Get personalized recommendations
  • Access user's top played tracks over different time periods

Configuration and credentials

  • Node.js 16 or higher - Spotify account - Claude Desktop - Spotify API credentials (Client ID and Client Secret)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
querySearch text
limit(Optional) Maximum number of tracks to return (1-50, default: 20)
trackIdSpotify track ID
deviceId(Optional) Spotify device ID to play on
offset(Optional) Index of the first track to return (default: 0)
public(Optional) Whether the playlist should be public
playlistIdSpotify ID of the playlist
collaborative(Optional) Whether the playlist should be collaborative (must set public to false first)
trackIdsArray of Spotify track IDs to remove
rangeStartPosition of the first track to move
insertBeforePosition where the tracks should be inserted
rangeLength(Optional) Number of tracks to move (default: 1)
imageBase64Base64 encoded JPEG image
time_range(Optional) Time frame for calculating affinity:
short_termApproximately last 4 weeks
medium_termApproximately last 6 months (default)
long_termSeveral years of data
before(Optional) Unix timestamp in milliseconds. Returns tracks played before this time
after(Optional) Unix timestamp in milliseconds. Returns tracks played after this time

How to install the MCP Claude Spotify MCP Server

{
  "mcpServers": {
    "spotify": {
      "command": "node",
      "args": [
        "ABSOLUTE_PATH_TO_DIRECTORY/mcp-claude-spotify/build/index.js"
      ],
      "env": {
        "SPOTIFY_CLIENT_ID": "your_client_id_here",
        "SPOTIFY_CLIENT_SECRET": "YOUR_SPOTIFY_CLIENT_SECRET"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 16 or higher - Spotify account - Claude Desktop - Spotify API credentials (Client ID and Client Secret)
VariableDescriptionRequired
SPOTIFY_CLIENT_IDDeclared in the maintainer’s client configuration.Check documentation
SPOTIFY_CLIENT_SECRETDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Claude Spotify to Configuration.”
  • “Use MCP Claude Spotify to Authentication.”
  • “Use MCP Claude Spotify to Search.”

Frequently asked questions

Model Context Protocol server for Spotify using Claude Desktop Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.