Spotify MCP Server (Python)
Provides tools for searching and retrieving Spotify data, including tracks, artists, albums, playlists, and user profile information such as playlists, top tracks, top artists, and recently played items.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Spotify MCP Server (Python)
MCP server for Spotify integration using PKCE authentication.
Features
PKCE authentication (no client secret needed)
Automatic token caching and refresh
14 Spotify tools for search, user data, and more
Related MCP server: spotify-mcp-server
Installation
cd spotify-mcp-py
pip install -e .Setup
Create Spotify App at https://developer.spotify.com/dashboard:
Add redirect URI:
http://127.0.0.1:8888/callbackCopy your Client ID
Configure Claude Desktop at
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"spotify": {
"command": "python",
"args": [
"-m",
"spotify_mcp.server"
],
"env": {
"SPOTIFY_CLIENT_ID": "your_client_id_here"
}
}
}
}Restart Claude Desktop - browser will open for Spotify login on first use
Available Tools
search_tracks- Search for tracksget_track- Get track detailssearch_artists- Search for artistsget_artist- Get artist detailsget_artist_top_tracks- Get artist's top trackssearch_albums- Search for albumsget_album- Get album detailssearch_playlists- Search for playlistsget_playlist- Get playlist detailsget_current_user- Get user profileget_user_playlists- Get user's playlistsget_user_top_tracks- Get user's top tracksget_user_top_artists- Get user's top artistsget_recently_played- Get recently played tracks
Token Cache
Tokens are cached in ~/.spotify-mcp/token-cache.json and automatically refreshed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Spotify MCP — Web API via client_credentials OAuth
Spotify MCP server for ChatGPT, Claude and any AI agent: search songs and artists, list playlists, read playlist songs, create playlist, add songs to playlist, remove songs from playlist, set playlist public or private and save to Liked Songs in your own Spotify account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Spotify yourself; Cotlet does not store your password and you need no Spotify API key. About the official Spotify API: Spotify has a full Web API and, since 23 Apr 2026, an official connector for Claude (checked 5 Nov 2026). The API needs an app you register, and in development mode the app owner must have Premium and the app allows 5 users; unlimited users need a registered business with at least 250,000 monthly users. Setup and FAQ: https://cotlet.dev/integrations/spotify-api-mcp-server
Full Spotify Web API coverage - albums, artists, playlists, player controls, and more.
Spotify: Spotify Data API for Millions of songs & podcasts, artists, albums, playlists and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables control of Spotify playback, track search, and user profile retrieval via MCP tools with automatic OAuth token management.118 npm3MIT
- FlicenseAqualityDmaintenanceExposes Spotify controls as MCP tools for playback, playlist management, and AI playlist generation; includes a web app and supports multi-user profiles.14-
- FlicenseNot gradedqualityDmaintenanceEnables controlling Spotify playback, managing playlists, searching music, and accessing library features through any MCP-compatible AI client. Provides 34 tools for full Spotify integration.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI assistants to control Spotify Premium accounts by searching music, managing playback and devices, handling queues, creating and editing playlists, and browsing or modifying the library.MIT