SuperAPI AI Directory

spotify-mcp

spotify-mcp is an MCP server project that connects large language models with Spotify, built on the spotipy-dev API, mainly used to let MCP-compatible clients such as Claude control Spotify playback and music library management. It can start, pause, and skip playback, search for tracks, albums, artists, and playlists, retrieve information about tracks, albums, artists, and playlists, manage the Spotify playback queue, and manage, create, and update playlists. The project requires first creating an app at developer.spotify.com to obtain Spotify API credentials, and setting the redirect URI to http://127.0.0.1:8080/callback。使用时需在 Add the corresponding configuration to the configuration file of an MCP client (such as Cursor or Claude Desktop). It can be run via uvx or by cloning the repository and running it locally. The project author has noted that the project has been inactive since March 2026, and most PRs will not be merged. Running it requires a Spotify Premium account.

Open website

About this tool

spotify-mcp is an MCP server project whose goal is to connect large language models with Spotify, built on the spotipy-dev API. The project states that it is used to connect Claude with Spotify.

In terms of purpose: this MCP server enables MCP-compatible LLM clients to operate Spotify, including controlling playback, searching for music content, viewing music information, and managing playlists and the playback queue.

Main capabilities include:

  • Start, pause, and skip playback;
  • Search for tracks, albums, artists, and playlists;
  • Retrieve information about tracks, albums, artists, and playlists;
  • Manage the Spotify playback queue;
  • Manage, create, and update playlists.

In terms of usage:

  1. Obtain Spotify API credentials: create an account at developer.spotify.com, go to the dashboard, create an app, and set the redirect_uri to http://127.0.0.1:8080/callback。端口可自选,但必须使用 http and an explicit loopback address (IPv4 or IPv6). The documentation suggests consulting more information and troubleshooting, and the MCP environment (such as Claude Desktop) may need to be restarted once or twice before it works properly.
  2. Locate the MCP configuration: for Cursor, Claude Desktop, or other MCP-compatible clients, you need to find the location of their configuration file. For Claude Desktop on MacOS, the location is ~/Library/Application\ Support/Claude/claude_desktop_config.json, and on Windows it is %APPDATA%/Claude/claude_desktop_config.json.
  3. Run via uvx: add the corresponding code snippet to the MCP configuration (the original text does not provide the specific code content of that snippet).
  4. Run locally: using UVX will open the Spotify redirect URI on every tool call; to avoid this, you can clone the repository and run it locally, and add it to the MCP configuration as described in the documentation.

Troubleshooting tips:

  • Make sure uv is updated, with a recommended version of at least 0.54;
  • If cloning locally, you need to enable execution permissions for the project with the command chmod -R 755 .;
  • Make sure you have Spotify Premium, which is required to run the developer API;
  • This MCP outputs logs to stderr according to the MCP specification. On Mac, the Claude Desktop app should output logs to ~/Library/Logs/Claude; for log locations on other platforms, see the documentation link;
  • The MCP Inspector can be started via npm for debugging (the original text gives the specific text of the startup command, but it is not provided here). After starting, the Inspector will display a URL that can be accessed in a browser to begin debugging.

Project status and limitations:

  • The project has been noted as inactive since March 2026 (Inactive project), and most PRs will not be merged.
  • Many interesting features in the Spotify API have been deprecated, and new features are mostly minor or used for project health maintenance, such as adding API support for managing playlists and adding pagination for search results/playlists/albums.Added API support, PRs welcome.
  • A Spotify Premium account is required to run.

Other information: The project page lists acknowledgements for contributors, including @jamiew, @davidpadbury, @manncodes, @hyuma7, @aanurraj, @JJGO, etc.