Spotify MCP
MCP server by NovaLux12 Community
Spotify MCP gives AI assistants access to the Spotify Web API for playback, search, playlists, library, following and podcasts. It is for people who want to manage their Spotify account from an MCP host. It is not affiliated with Spotify.
Install Spotify MCP
Built from the published package, never by AI.
claude mcp add spotify-mcp -e SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID -- npx -y @novalux12/spotify-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"spotify-mcp": {
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID"
},
"args": [
"-y",
"@novalux12/spotify-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"spotify-mcp": {
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID"
},
"args": [
"-y",
"@novalux12/spotify-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"spotify-mcp": {
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID"
},
"args": [
"-y",
"@novalux12/spotify-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add spotify-mcp --env SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID -- npx -y @novalux12/spotify-mcp{
"mcpServers": {
"spotify-mcp": {
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID"
},
"args": [
"-y",
"@novalux12/spotify-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add spotify-mcp npx -y @novalux12/spotify-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the spotify-mcp block.
About
Spotify MCP is an MCP server that wraps the Spotify Web API. It exposes tools for playback, library, playlists, search, following and podcasts. A default start registers 131 tools, and SPOTIFY_MCP_TOOLSETS=all registers all 562. Write operations support dry_run previews and receipts, and READONLY hides write-capable modules.
Setup uses a Spotify app Client ID and a PKCE browser login, so no client secret is needed. Tokens are saved locally and refreshed automatically. The spotify_doctor tool reports token state, scope gaps and rate limits. It suits people who want an assistant to manage listening, playlists and podcasts, and developers who want a broad Spotify tool set. The optional stats.fm tools need a separate stats.fm username.
Written from the project's README and checked against it.
Tools it gives your assistant
spotify_doctorRead-only check of token state, scope gaps, Premium gating and rate limits.list_show_episodesLists episodes for a podcast show. It replaced the removed get_show_episodes.archive_played_episodesBulk archive of played episodes that requires human confirmation before running.playlist_subtractPlaylist subtraction that takes base_playlist_id and playlists as inputs.taste_to_playlistWrites a playlist based on stats.fm taste data. Needs SPOTIFY_MCP_STATSFM=1.statsfm_jukeboxWrite tool backed by stats.fm data. Off unless SPOTIFY_MCP_STATSFM=1 is set.verify_receiptChecks a mutation receipt. Receipts survive restarts when SPOTIFY_MCP_RECEIPTS=1.undo_mutationReverses a logged mutation. History logging must be on with SPOTIFY_MCP_HISTORY=1.
What you need
- A Spotify Developer app with a Client ID
- Node.js, with npx for the published package
- A Spotify account for the browser login
- A stats.fm username for the optional stats.fm tools
| Setting | Needed | What it is |
|---|---|---|
SPOTIFY_Environment variable | Required | Spotify developer app client ID (from developer.spotify.com/dashboard) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- What are my top tracks this month?
- Make a late-night driving playlist
- Clean duplicates across all my playlists
Good to know
- Windows is supported for install and use but is not covered by CI.
- Derived listening analytics are off unless SPOTIFY_MCP_EXPERIMENTAL_ANALYTICS=1 is set.
- Spotify deleted some endpoints in February 2026, and the matching tools were removed in 3.0.
- Not affiliated with Spotify.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Spotify MCP
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
Spotify MCP: common questions
Does Spotify MCP need a client secret?
No. The server uses PKCE, so the Client ID is the only credential it needs.
How many tools does Spotify MCP register?
A default start registers 131 tools. SPOTIFY_MCP_TOOLSETS=all registers all 562 tools.
Can Spotify MCP run in read-only mode?
Yes. SPOTIFY_MCP_READONLY=1 hides write-capable modules, and read-only resources and prompts stay available.
How do I install Spotify MCP?
In Claude Code run claude mcp add spotify-mcp -e SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID -- npx -y @novalux12/spotify-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Spotify MCP the official server?
Spotify MCP is a community project by NovaLux12, not verified by a company domain.
Is Spotify MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Spotify MCP safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Spotify MCP?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does Spotify MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
