Spotify
Control Spotify playback and manage your liked songs using LLMs.
Spotify MCP Server
A simple MCP server to control Spotify playback and manage your liked songs via LLM's.
Features
- Play and pause Spotify playback
- Get info about the current track
- Add the current track to your Liked Songs
Setup
-
Clone the repository:
git clone https://github.com/yourusername/spotify-mcp-server.git cd spotify-mcp-server -
Create and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate -
Install dependencies:
pip install uv pip install -r requirements.txt -
Create a
.envfile:SPOTIPY_CLIENT_ID=your_spotify_client_id SPOTIPY_CLIENT_SECRET=your_spotify_client_secret SPOTIPY_REDIRECT_URI=http://localhost:8888/callback -
Run the server:
python main.py
Integration with Claude Desktop (MCP Server)
To use this server as an MCP server with Claude, add the following entry to your Claude config file (usually located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"spotify-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PROJECT/spotify-mcp-server",
"run",
"main.py"
]
}
}
}
- Replace
/ABSOLUTE/PATH/TO/PROJECT/spotify-mcp-serverwith the actual path to your project - If command
uvis not recognized, give the absolute path foruvexecutable (can be found withwhich uvon MacOS) - Make sure your environment variables are set either in the config or via a
.envfile. - Restart Claude after editing the config file.
Notes
- You need to register your app at the Spotify Developer Dashboard to get your client ID and secret.
Example Session
Below is an example session using Claude with the Spotify MCP server:

Sample interaction:
User: Play the current track using Spotify MCP server
Claude: Playback started successfully
User: What song is playing?
Claude: Currently playing: Shape of You by Ed Sheeran
User: Like this song
Claude: Added 'Shape of You' to your Liked Songs.
Related Servers
Multi-Cloud VM MCP Server
Manage virtual machines across multiple cloud providers, including AWS EC2, Azure Virtual Machines, and GCP Compute Engine.
Shared Memory MCP
An example project for deploying a remote MCP server on Cloudflare Workers without authentication.
Replicate
Run AI models for tasks like image generation using the Replicate API.
Zuora Product Catalog
An MCP server for accessing a Zuora product catalog, deployable on Cloudflare Workers.
Free Crypto News
Free crypto news API + MCP - real-time aggregator for Bitcoin, Ethereum, DeFi, Solana & altcoins. No API key required. RSS/Atom feeds, JSON REST API, historical archive with market context, embeddable widgets, ChatGPT plugin, Claude MCP server, SDKs (Python, TypeScript, Go, React, PHP). AI/LLM ready. Vibe coding friendly. Open source.
ServiceNow
An MCP server for interacting with ServiceNow instances to manage records, incidents, and other platform features.
Alpha Vantage
Access real-time financial data, including stock prices, forex rates, and cryptocurrencies from Alpha Vantage.
Rewards Flights Public MCP
Deploy a remote, authentication-free MCP server on Cloudflare Workers to search for rewards flights.
Uptime Agent
Connects your Uptime Agent monitoring system to AI assistants.
Coin MCP Server
Provides access to real-time cryptocurrency data from CoinMarketCap.