Spotify MCP With Dual Mode
FreeNot checkedAI-ready Spotify control server with CLI and Claude support via MCP tools
About
AI-ready Spotify control server with CLI and Claude support via MCP tools
README
License: MIT License: Apache 2.0 Python Mode Spotipy PRs
Spotify MCP Server is a dual-mode tool server for controlling Spotify through your terminal or via AI assistants like Claude or ChatGPT.
Built in Python using spotipy, aiohttp, and rich, it supports both real-time manual use and seamless AI integration.
Supported Features
Depending on whether the Spotify account is free or premium, the available features differ
| Feature | Description | Free Account | Premium Required |
|---|---|---|---|
| Spotify Authentication | OAuth login using client credentials | ✅ | ✅ |
| Search (songs, albums, etc) | Search Spotify catalog | ✅ | ✅ |
| Get Playback Info | Current track, device, status info | ✅ | ✅ |
| View Playlists | Fetch user playlists | ✅ | ✅ |
| Create Playlist | Create a new playlist | ✅ | ✅ |
| Add to Playlist | Add tracks to an existing playlist | ✅ | ✅ |
| Play Song | Start playing a specific song | ❌ | ✅ |
| Pause / Resume Playback | Pause or resume music | ❌ | ✅ |
| Skip / Previous Track | Skip to next or previous song | ❌ | ✅ |
| Set Volume | Adjust playback volume | ❌ | ✅ |
Modes of Operation
1. Manual Mode (CLI)
python server.py --mode=manual
Launches an animated terminal UI to control your Spotify account without using the app.
2. AI Mode (Claude / ChatGPT / LangChain)
python server.py --mode=ai
Enables MCP tool server mode, allowing an AI agent to send structured tool calls and control your playback.
Installation & Setup
Requirements
- Python 3.9+
- Spotify Developer credentials (Client ID, Secret)
Install Dependencies
pip install -r requirements.txt
Configure Environment
Create a .env file in your root directory:
SPOTIFY_CLIENT_ID=your_client_id
SPOTIFY_CLIENT_SECRET=your_client_secret
SPOTIFY_REDIRECT_URI=http://localhost:8888/callback
Project Structure
spotipy-mcp-server/
├── server.py # Main CLI + AI server
├── main.py # Interactive terminal interface
├── requirements.txt # Dependencies
├── .gitignore
├── README.md
└── .env # (ignored)
Commands
| Command | Description |
|---|---|
python server.py --mode=manual |
Launch terminal UI |
python server.py --mode=ai |
Start MCP server for AI |
License
This project is open source and dual-licensed:
- MIT License — opensource.org/license/mit
- Apache 2.0 License — apache.org/licenses/LICENSE-2.0
Use it freely with attribution. Choose the license that fits your use case best.
Installing Spotify MCP With Dual Mode
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/vinay1359/Spotify-MCP-with-dual-modeFAQ
Is Spotify MCP With Dual Mode MCP free?
Yes, Spotify MCP With Dual Mode MCP is free — one-click install via Unyly at no cost.
Does Spotify MCP With Dual Mode need an API key?
No, Spotify MCP With Dual Mode runs without API keys or environment variables.
Is Spotify MCP With Dual Mode hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Spotify MCP With Dual Mode in Claude Desktop, Claude Code or Cursor?
Open Spotify MCP With Dual Mode 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 modelcontextprotocolCompare Spotify MCP With Dual Mode with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
