SecurityAuto-generated
Spotify Web API MCP Server
You can use Spotify's Web API to discover music and podcasts, manage your Spotify library, control audio playback, and much more. Browse our available Web API endpoints using the sidebar at left, or via the navigation bar on top of this page on smaller screens. In order to make successful Web API r
Quick Setup
Transport: STDIO
Command: npx -y @mcp/spotify-com
Environment Variables
SPOTIFY_WEB_API_API_KEYExample: your_spotify_web_api_api_key
MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"spotify-com": {
"command": "npx",
"args": ["-y","@mcp/spotify-com"],
"env": {
"SPOTIFY_WEB_API_API_KEY": "your_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