Spotify MCP
by khglynn
Manage Spotify playlists, search tracks, and discover music through AI assistants
api Node.js Beginner Self-hostable
β 100 stars π
Updated: 1mo ago
Description
MCP server for Spotify bulk operations and music management. Control your Spotify library through AI assistants β search tracks, create and manage playlists, bulk add or remove songs, discover new music based on recommendations, and manage your library. Requires Spotify OAuth credentials from the Spotify Developer Dashboard. Perfect for power users who want to automate playlist curation, organize large music collections, or build AI-driven music discovery workflows.
β Best for
Spotify power users who want AI-assisted playlist management and music discovery
βοΈ Skip if
You do not have a Spotify account or prefer manual playlist curation
π‘ Use cases
- Creating themed playlists from natural language descriptions
- Bulk organizing and cleaning up large Spotify libraries
- Discovering new music based on AI-powered recommendations
- Automating playlist curation based on mood, genre, or activity
π Pros
- β Full playlist management with bulk add/remove operations
- β Music discovery through Spotify's recommendation engine
- β Cross-platform support (macOS, Linux, Windows)
- β Simple npx-based installation
π Cons
- β Requires Spotify Premium for some playback features
- β OAuth setup requires creating a Spotify Developer application
- β Rate limited by Spotify API quotas
π§ Exposed tools (5 tools)
| Tool | Category | Description |
|---|---|---|
| get_recommendations | discovery | Get track recommendations based on seeds and preferences |
| create_playlist | management | Create a new Spotify playlist with name and description |
| add_to_playlist | management | Add one or multiple tracks to a playlist |
| manage_library | management | Save or remove tracks from your Spotify library |
| search_tracks | search | Search Spotify catalog for tracks, artists, or albums |
β‘ Installation
Prerequisites:
- β’ Node.js v18+
- β’ Spotify OAuth credentials (Client ID and Client Secret from Spotify Developer Dashboard)
- β’ API key required
Check Claude Code documentation to configure this MCP server.
π‘ Tips & tricks
Create a Spotify Developer application at developer.spotify.com to get your OAuth credentials. Set the redirect URI to http://localhost:8888/callback for local development. Start with search and playlist creation before exploring bulk operations.
Quick info
- Author
- khglynn
- License
- MIT
- Runtime
- Node.js 18+
- Transport
- stdio
- Category
- api
- Difficulty
- Beginner
- Self-hostable
- β
- Auth
- β
- Docker
- β
- Version
- latest
- Updated
- Feb 28, 2026
Client compatibility
- β Claude Code
- β Cursor
- β VS Code Copilot
- β Gemini CLI
- β Windsurf
- β Cline
- β JetBrains AI
- β Warp
Platforms
π macOS π§ Linux πͺ Windows