SpotiPy MCP
Allows searching for tracks, artists, and albums, managing playlists (create, delete, add/remove tracks), and retrieving track details and artist top tracks.
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.
SpotiPy MCP
An MCP server for searching Spotify and managing your playlists from Claude (or any MCP client). Built on spotipy.
Features
Search
search_tracks,search_artists,search_albums(supports advanced filters likeartist:,year:,genre:)get_track_details,get_artist_top_tracks
Playlist management
list_my_playlists,get_playlist_tracksadd_tracks_to_playlist,remove_tracks_from_playlistcreate_playlist,delete_playlist— delete a playlist you ownunfollow_playlist— remove a playlist (typically one you don't own) from your library without deleting itsearch_and_add— find the top match for a query and add it in one step
Related MCP server: Spotify MCP Server
Setup
1. Install dependencies
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt2. Register the redirect URI
In the Spotify Developer Dashboard, open your app → Settings → Redirect URIs, and add:
http://127.0.0.1:8888/callback(Must match SPOTIFY_REDIRECT_URI in .env.)
3. Authorize once
python auth_setup.pyA browser window opens; log in and grant access. A refresh token is cached to
.cache so you never have to log in again (the server refreshes it silently).
4. Register with Claude Desktop / Claude Code
Add this to your MCP client config (for Claude Desktop, claude_desktop_config.json).
Use absolute paths:
{
"mcpServers": {
"spotipy": {
"command": "~\\SpotiPy\\.venv\\Scripts\\python.exe",
"args": ["~\\SpotiPy\\server.py"]
}
}
}For Claude Code:
claude mcp add spotipy -- "~\SpotiPy\.venv\Scripts\python.exe" "~\SpotiPy\server.py"Restart the client, and the SpotiPy MCP tools become available.
Configuration (.env)
Key | Purpose |
| Your app's client id |
| Your app's client secret |
| Must match the dashboard; default |
| OAuth scopes granted at authorization; default (if unset) is |
Security notes
.envand.cachehold secrets and are git-ignored. Do not commit them.If your client secret was ever exposed, rotate it in the Spotify dashboard.
Note on discovery endpoints
Spotify deprecated the Recommendations, Audio Features, Audio Analysis, and
Related Artists endpoints for newly-created apps (Nov 2024). SpotiPy MCP therefore
relies on search filters and get_artist_top_tracks for discovery rather than
those endpoints.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
This server cannot be deployed
Maintenance
Related MCP Connectors
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
Create, inspect, and manage Wubble music, speech, voice, and sound-effect requests through MCP.
Sonos MCP server: control your Sonos speakers from any MCP client. Play songs, artists and playlists, set volume, group rooms, move music to another room, switch to TV, spoken announcements and reminders. 27 tools, English and Chinese. Works through the official Sonos cloud, so there is no home bridge to install; sign in with OAuth. Requires the free ZoneFoundry iOS app.
MCP server for searching Airweave collections with natural language queries.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables control of Spotify through natural language by searching the catalog, managing playback and devices, controlling playlists, and managing saved songs. Includes OAuth authentication and streamable HTTP transport for remote connectivity.34 npm84MIT
- AlicenseNot gradedqualityDmaintenanceEnables control of Spotify playback, track search, and user profile retrieval via MCP tools with automatic OAuth token management.97 npm3MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and recently played.-
- AlicenseAqualityCmaintenanceEnables MCP clients to build and edit Spotify playlists from natural language descriptions.797 npmMIT