Spotify
MCP server by jamiew Community
MCP server connecting LLMs to Spotify, with smart-batching and large-playlist tools
Install Spotify
Built from the published package, never by AI.
claude mcp add spotify -e SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID -e SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET -e SPOTIFY_REDIRECT_URI=YOUR_SPOTIFY_REDIRECT_URI -- uvx spotify-mcp-jamiewRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID",
"SPOTIFY_CLIENT_SECRET": "YOUR_SPOTIFY_CLIENT_SECRET",
"SPOTIFY_REDIRECT_URI": "YOUR_SPOTIFY_REDIRECT_URI"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID",
"SPOTIFY_CLIENT_SECRET": "YOUR_SPOTIFY_CLIENT_SECRET",
"SPOTIFY_REDIRECT_URI": "YOUR_SPOTIFY_REDIRECT_URI"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID",
"SPOTIFY_CLIENT_SECRET": "YOUR_SPOTIFY_CLIENT_SECRET",
"SPOTIFY_REDIRECT_URI": "YOUR_SPOTIFY_REDIRECT_URI"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add spotify --env SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID --env SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET --env SPOTIFY_REDIRECT_URI=YOUR_SPOTIFY_REDIRECT_URI -- uvx spotify-mcp-jamiew{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "YOUR_SPOTIFY_CLIENT_ID",
"SPOTIFY_CLIENT_SECRET": "YOUR_SPOTIFY_CLIENT_SECRET",
"SPOTIFY_REDIRECT_URI": "YOUR_SPOTIFY_REDIRECT_URI"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add spotify uvx spotify-mcp-jamiewGemini 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 block.
What you need
| Setting | Needed | What it is |
|---|---|---|
SPOTIFY_Environment variable, secret | Required | Spotify app Client ID from developer.spotify.com |
SPOTIFY_Environment variable, secret | Required | Spotify app Client Secret from developer.spotify.com |
SPOTIFY_Environment variable | Required | OAuth redirect URI registered in your Spotify app Default: http://127.0.0.1:8888 |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Alternatives to Spotify
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
Spotify: common questions
How do I install Spotify?
In Claude Code run claude mcp add spotify -e SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID -e SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET -e SPOTIFY_REDIRECT_URI=YOUR_SPOTIFY_REDIRECT_URI -- uvx spotify-mcp-jamiew. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Spotify the official server?
Spotify is a community project by jamiew, not verified by a company domain.
Is Spotify free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Spotify safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality D. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Spotify?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does Spotify 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.
