Spotify Web API Claude Desktop Config
Add the Spotify Web API MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"mcpServers": {
"spotify-com": {
"command": "npx",
"args": [
"-y",
"@mcp/spotify-com"
],
"env": {
"SPOTIFY_WEB_API_API_KEY": "your_spotify_web_api_api_key"
}
}
}
}Environment Variables
SPOTIFY_WEB_API_API_KEYReplace your_spotify_web_api_api_key with your actual spotify web api api key
Endpoints
GET
/albumsGet Several Albums
GET
/albums/{id}Get Album
GET
/albums/{id}/tracksGet Album Tracks
GET
/artistsGet Several Artists
GET
/artists/{id}Get Artist
GET
/artists/{id}/albumsGet Artist's Albums
GET
/artists/{id}/related-artistsGet Artist's Related Artists
GET
/artists/{id}/top-tracksGet Artist's Top Tracks
GET
/audio-analysis/{id}Get Track's Audio Analysis
GET
/audio-featuresGet Tracks' Audio Features