Connect Claude to Spotify for music playback and management.
Connect Claude to Spotify for music playback and management. That is what the spotify mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
MCP project to connect Claude with Spotify. Built on top of spotipy-dev's API.
The server publishes 1 tool. What each one is for:
Troubleshooting — Please open an issue if you can't get this MCP working. Here are some tips:Configuration is passed through the environment: SPOTIFY_REDIRECT_URI, SPOTIFY_CLIENT_ID, YOUR_CLIENT_ID, SPOTIFY_CLIENT_SECRET, YOUR_CLIENT_SECRET, UV_PUBLISH_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
The server ships on npm as @modelcontextprotocol/inspector, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Spotify's toolset — Troubleshooting — is a fair guide to whether it matches your workflow. It is maintained by g2dgaming; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Spotify's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Troubleshooting | Please open an issue if you can't get this MCP working. Here are some tips: |
{
"mcpServers": {
"spotify-3": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/inspector"],
"env": {
"SPOTIFY_REDIRECT_URI": "your-value",
"SPOTIFY_CLIENT_ID": "your-value",
"YOUR_CLIENT_ID": "your-value",
"SPOTIFY_CLIENT_SECRET": "your-value",
"YOUR_CLIENT_SECRET": "your-value",
"UV_PUBLISH_TOKEN": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| SPOTIFY_REDIRECT_URI | Filesystem location the server is allowed to use. | Optional |
| SPOTIFY_CLIENT_ID | Configuration value read at startup. | Optional |
| YOUR_CLIENT_ID | Configuration value read at startup. | Optional |
| SPOTIFY_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| YOUR_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| UV_PUBLISH_TOKEN | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.