Spotify MCP Server logo

Spotify MCP Server

by marcelmarais

A lightweight Model Context Protocol (MCP) server that enables AI assistants like Cursor & Claude to control Spotify playback and manage playlists.

View on GitHub

Last updated: N/A

What is Spotify MCP Server?

The Spotify MCP Server is a tool that allows AI assistants to interact with and control your Spotify account using the Model Context Protocol. It provides a set of tools for reading information from Spotify (like current playback, playlists, and search results) and for controlling playback and creating playlists.

How to use Spotify MCP Server?

To use the server, you need to install it, create a Spotify Developer application, configure the API credentials, and authenticate. Once set up, you can integrate it with AI assistants like Claude and Cursor by configuring them to use the server's command. The AI assistant can then use natural language commands to control Spotify.

Key features of Spotify MCP Server

  • Control Spotify playback via AI assistants

  • Manage Spotify playlists via AI assistants

  • Read current playback information

  • Search for tracks, albums, artists, and playlists

  • Create new playlists

  • Add tracks to existing playlists

  • Add tracks to the queue

  • Retrieve recently played tracks

Use cases of Spotify MCP Server

  • Play music based on natural language requests

  • Create playlists based on specific themes or artists

  • Copy tracks between playlists

  • Queue up music for a party or workout

  • Get information about the currently playing song

FAQ from Spotify MCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a standard that allows AI assistants to interact with external services.

Do I need a Spotify Premium account?

Yes, a Spotify Premium account is required to use the Spotify API.

How do I create a Spotify Developer Application?

You can create a Spotify Developer Application by going to the Spotify Developer Dashboard and following the instructions.

What is a Redirect URI?

A Redirect URI is the URL that Spotify redirects to after a user authorizes your application. It's typically a URL on your local machine (e.g., http://localhost:8888/callback).

How do I integrate this with Claude?

You can integrate with Claude by adding the server configuration to your Claude settings, specifying the command to run the server.