MCP.so
Sign In

MCP Server for Spotify

@richbai90

About MCP Server for Spotify

A spotify MCP server

Basic information

Category

Media & Design

Runtime

node

Transports

stdio

Publisher

richbai90

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "spotify-mcp-richbai90": {
      "command": "node",
      "args": [
        "dist/index.js"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Server for Spotify?

MCP Server for Spotify integrates with the Spotify API, allowing you to search music, manage playlists, and get recommendations through Claude. It is for Spotify users who want to control their music library conversationally via an MCP-compatible AI.

How to use MCP Server for Spotify?

Obtain a Spotify App from the Developer Dashboard, set the redirect URI to http://localhost:8888/callback, and use the included auth app to get a refresh token. Set environment variables SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, and SPOTIFY_REFRESH_TOKEN, then run the server via npm install && npm run build && node dist/index.js or with Docker using podman run. Add the provided JSON configuration to Claude’s MCP server list.

Key features of MCP Server for Spotify

  • Search for tracks, artists, and albums
  • Create and modify playlists
  • Browse user playlists
  • Get music recommendations based on tracks, artists, and genres
  • Works with Claude through MCP

Use cases of MCP Server for Spotify

  • Ask Claude to search for songs, albums, or artists
  • Create a playlist based on a theme or genre
  • Add tracks to an existing playlist
  • Explore your own Spotify playlists
  • Get track recommendations similar to your favorites

FAQ from MCP Server for Spotify

How do I set up authentication?

Create a Spotify App, set the redirect URI to http://localhost:8888/callback, run the auth app in the auth-app directory, and follow the browser authorization to obtain a refresh token.

What environment variables are required?

You need SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, and SPOTIFY_REFRESH_TOKEN.

How do I run the server?

Install dependencies with npm install, build with npm run build, and run node dist/index.js. Alternatively, build the Docker image and run the container with the required environment variables.

How do I use this with Claude?

Add the MCP configuration (shown in the README) to your Claude client’s mcpServers object, specifying the Spotify server with your credentials.

What actions can Claude perform?

Claude can search music, create/modify playlists, browse your playlists, and get recommendations based on your preferences.

Comments

More Media & Design MCP servers