marcelmarais/Spotify
Free控制 Spotify 播放和管理播放列表。
FreeFree tier
About marcelmarais/Spotify
Spotify MCP Server is a lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude, Cursor, and VS Code (Cline) to control Spotify playback, manage playlists, and retrieve listening data through natural language commands. It provides tools for searching Spotify, getting currently playing track info, retrieving user playlists and their tracks, accessing recently played tracks, and viewing liked songs. The server requires a Spotify Developer application for API credentials and supports authentication via OAuth. It is open source and designed for easy integration with AI-powered development environments.
Key Features
Search for tracks, albums, artists, or playlists on Spotify
Get currently playing track info including device and volume
Retrieve user's playlists and their tracks with pagination
Access recently played tracks
View saved/liked songs with pagination
Integrate with AI assistants: Claude, Cursor, VS Code (Cline)
Lightweight Model Context Protocol (MCP) server
Supports play/create operations for playback control
Pros & Cons
Pros
- Lightweight and open source
- Easy integration with popular AI tools (Claude, Cursor, VS Code)
- Provides detailed Spotify data (track, album, artist, device info)
- Supports both read and write operations (playback, playlist creation)
- Well-documented setup and configuration
Cons
- Requires a Spotify Developer account and API credentials to use
- Limited to controlling the authenticated user's Spotify account
- Depends on internet connectivity and Spotify service availability
- Setup involves multiple steps (developer app, authentication, config)
- MCP protocol may require learning for non-technical users
Best For
Controlling Spotify playback via natural language commands (e.g., 'Play Elvis's first song')Creating fusion playlists with AI assistance (e.g., 'Create a Taylor Swift / Slipknot fusion playlist')Automating music curation and playlist managementBuilding AI-powered music applications that interact with SpotifyIntegrating Spotify data into AI coding assistants
FAQ
What is Spotify MCP Server?
It is a lightweight Model Context Protocol (MCP) server that allows AI assistants to control Spotify playback, manage playlists, and retrieve listening data through natural language commands.
What AI assistants does it support?
It supports Claude Desktop, Cursor, and VS Code (via Cline).
How do I set it up?
You need to create a Spotify Developer application, obtain API credentials, configure the server with your credentials, and then integrate it with your AI assistant. Full setup instructions are in the GitHub README.
Is it free to use?
Yes, the server is open source and free to use. However, you need a Spotify account and a Spotify Developer application (also free).
What operations can I perform?
You can search Spotify, get currently playing track info, retrieve playlists and their tracks, get recently played tracks, view liked songs, and control playback (play, create playlists, etc.).