Spotify Server (Python)
FreeNot checkedEnables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and rece
About
Enables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and recently played.
README
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
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/callback - Copy your Client ID
- Add redirect URI:
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.
Installing Spotify Server (Python)
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/argotdev/spotify-mcp-pyFAQ
Is Spotify Server (Python) MCP free?
Yes, Spotify Server (Python) MCP is free — one-click install via Unyly at no cost.
Does Spotify Server (Python) need an API key?
No, Spotify Server (Python) runs without API keys or environment variables.
Is Spotify Server (Python) hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Spotify Server (Python) in Claude Desktop, Claude Code or Cursor?
Open Spotify Server (Python) on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
GPU inference API for LLMs, image and video generation, TTS, Whisper, embeddings, reranking and OCR, paid per use via x402 or an API key.
by gpu-bridgemerterbak/Grok-MCP
Access xAI's Grok API with agentic tool calling, image generation, vision and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
Image generation and editing with OpenAI's GPT image models.
by SureScaleAIYangLiangwei/PersonalizationMCP
Aggregate personal data from Steam, YouTube, Bilibili, Spotify, Reddit and other gaming, music, video and social platforms, with OAuth2 and token management.
by YangLiangweiAceDataCloud/MCPFlux
Flux image generation and editing from Black Forest Labs via the Ace Data Cloud API.
by AceDataCloudAceDataCloud/MCPNanoBanana
Nano Banana image generation and editing, including virtual try-on and product placement in realistic scenes.
by AceDataCloudCompare Spotify Server (Python) with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
