{"type":"mcp_server","name":"spotify-mcp","description":"This repository hosts an MCP server that connects Claude to Spotify, enabling features like playback control, search, information retrieval, and queue management using the Spotipy API. This repository hosts an","category":"Communication","language":"Python","stars":605,"forks":24,"owner":"varunneal","github_url":"https://github.com/varunneal/spotify-mcp","homepage":null,"setup":"## Setup\n\n### Getting Spotify API Keys\nCreate an account on [developer.spotify.com](https://developer.spotify.com/). Navigate to [the dashboard](https://developer.spotify.com/dashboard). \nCreate an app with redirect_uri as http://localhost:8888. (You can choose any port you want but you must use http and localhost). \nI set \"APIs used\" to \"Web Playback SDK\".\n\n### Run this project locally\nThis project is not yet set up for ephemeral environments (e.g. `uvx` usage). \nRun this project locally by cloning this repo\n\n```bash\ngit clone https://github.com/varunneal/spotify-mcp.git\n```\n\nAdd this tool as a mcp server.\n\nOn MacOS: `~/Library/Application\\ Support/Claude/claude_desktop_config.json`\n\nOn Windows: `%APPDATA%/Claude/claude_desktop_config.json`\n\n\n  ```json\n  \"spotify\": {\n      \"command\": \"uv\",\n      \"args\": [\n        \"--directory\",\n        \"/path/to/spotify_mcp\",\n        \"run\",\n        \"spotify-mcp\"\n      ],\n      \"env\": {\n        \"SPOTIFY_CLIENT_ID\": YOUR_CLIENT_ID,\n        \"SPOTIFY_CLIENT_SECRET\": YOUR_CLIENT_SECRET,\n        \"SPOTIFY_REDIRECT_URI\": \"http://localhost:8888\"\n      }\n    }\n  ```\n\n### Troubleshooting\nPlease open an issue if you can't get this MCP working. Here are some tips:\n1. Make sure `uv` is updated. I recommend version `>=0.54`.\n2. Make sure claude has execution permisisons for the project: `chmod -R 755`.\n3. Ensure you have Spotify premium (needed for running developer API).\n\nThis MCP will emit logs to std err (as specified in the MCP) spec. On Mac the Claude Desktop app should emit these logs\nto `~/Library/Logs/Claude`. \nOn other platforms [you can find logs here](https://modelcontextprotocol.io/quickstart/user#getting-logs-from-claude-for-desktop).\n\nYou can launch the MCP Inspector via [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:\n\n```bash\nnpx @modelcontextprotocol/inspector uv --directory /path/to/spotify_mcp run spotify-mcp\n```\n\nUpon launching, the Inspector will display a URL that you can access in your browser to begin debugging.","tools":"## Available Tools\n\n1.  Start, pause, and skip playback (Control Spotify playback).\n2.  Search for tracks/albums/artists/playlists (Find music content).\n3.  Get info about a track/album/artist/playlist (Retrieve details about music).\n4.  Manage the Spotify queue (Modify the playback queue).","faq":null,"created_at":"2024-12-01T02:06:14+00:00","updated_at":"2025-03-28T14:07:28+00:00","source_url":"https://model-context-protocol.com/servers/claude-spotify-control-playback-queue-management","related_articles":[]}