Design Engineer Logo
Visit Repo
Open Graph preview

Spotify MCP

MCP to connect Claude with Spotify

Site favicon
⚡️ System Operation

Overview

Spotify MCP: Connecting Claude with Spotify

Overview

The Spotify MCP project is a server-side application that aims to connect the Claude AI assistant with Spotify, enabling seamless integration and control of Spotify playback. This project is built on top of the spotipy-dev API, providing a range of features to enhance the user experience.

Key Features

  • Playback Control: Start, pause, and skip Spotify playback through the MCP server.
  • Search Capabilities: Search for tracks, albums, artists, and playlists on Spotify.
  • Detailed Information: Retrieve detailed information about tracks, albums, artists, and playlists.
  • Queue Management: Manage the Spotify queue, including adding and removing tracks.

Target Audience and Use Cases

The Spotify MCP project is primarily designed for users who want to leverage the power of the Claude AI assistant to control and interact with their Spotify account. This can be particularly useful for hands-free music playback, voice-controlled playlist management, and seamless integration of Spotify into various applications and workflows.

What Makes It Unique?

The Spotify MCP project stands out by providing a dedicated integration between the Claude AI assistant and Spotify, allowing users to control their music playback and access Spotify's features through voice commands or other interfaces. This integration can enhance productivity, accessibility, and the overall user experience for Spotify users.

Configuration

{
  "mcpServers": {
    "spotify": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/spotify_mcp",
        "run",
        "spotify-mcp"
      ],
      "env": {
        "SPOTIFY_CLIENT_ID": "your_client_id",
        "SPOTIFY_CLIENT_SECRET": "your_client_secret",
        "SPOTIFY_REDIRECT_URI": "http://localhost:8888"
      }
    }
  }
}

Technical Details

| Feature | Support | |---------|---------| | Runtime | Python | | Platform | Cross-platform | | Dependencies | spotipy-dev | | Category | Music | | Requirements | Spotify Premium |

The server requires Spotify developer credentials and Premium subscription for full functionality. Some features are currently limited due to Spotify API deprecations.