Spotify MCP Server logo

Spotify MCP Server

by richbai90

This MCP server integrates with the Spotify API to allow you to manage and create playlists through Claude. It enables Claude to interact with Spotify for music management tasks.

View on GitHub

Last updated: N/A

What is Spotify MCP Server?

The Spotify MCP Server is a bridge between the Claude AI and the Spotify API. It allows Claude to programmatically interact with Spotify, enabling users to manage their music and playlists through natural language commands.

How to use Spotify MCP Server?

  1. Create a Spotify App and set the redirect URI. 2. Use the auth app to obtain your refresh token. 3. Set the required environment variables (SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REFRESH_TOKEN). 4. Run the server using npm or Docker. 5. Configure Claude to use the MCP server.

Key features of Spotify MCP Server

  • Search for tracks, artists, and albums

  • Create and modify playlists

  • Browse user playlists

  • Get recommendations based on tracks, artists, and genres

Use cases of Spotify MCP Server

  • Creating playlists based on themes or genres via Claude

  • Adding tracks to playlists using voice commands

  • Exploring existing playlists through Claude

  • Getting music recommendations from Claude based on preferences

FAQ from Spotify MCP Server

What is an MCP server?

MCP stands for Machine Communication Protocol. It allows AI models like Claude to interact with external services.

Do I need a Spotify Premium account?

The README doesn't explicitly state this, but access to the Spotify API often requires a Premium account for full functionality.

What if the auth app doesn't work?

Double-check that you've correctly configured the redirect URI in your Spotify App settings.

Can I use a different port than 8888?

You may need to modify the redirect URI in your Spotify App settings and the auth app configuration accordingly.

How do I update the server?

Pull the latest changes from the GitHub repository and rebuild the server using npm or Docker.