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
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
by gpu-bridgehamflx/imagen3-mcp
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,
by hamflxmerterbak/Grok-MCP
MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
by SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
by YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
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
