Spotify MCP server for playback control and user data access

Spotify MCP server for playback control and user data access

spotify_mcp•byjmoro0408

An MCP server that exposes Spotify API tools and resources for controlling playback and accessing user listening data.

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Controls playback, including playing songs, pausing, skipping tracks, and toggling shuffle.
  • •Provides access to user playlists, liked songs, queue, and recently played tracks.
  • •Plays from user playlists and Spotify-created playlists such as charts.
  • •Reports the most played songs for the week, month, or year.

BEST FOR

  • •Users who want to control Spotify playback through an MCP-capable client.
  • •Users who want to browse and play their Spotify playlists and liked songs via MCP.
  • •Users interested in reviewing their recent and most-played listening history.

ABOUT SPOTIFY_MCP

Spotify MCP server for playback control and user data access is cataloged as an MCP server attributed to jmoro0408. An MCP server that exposes Spotify API tools and resources for controlling playback and accessing user listening data. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Spotify MCP server for playback control and user data access are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server require Spotify API credentials?

Yes; users must create a Spotify application and configure client ID, client secret, and redirect URI.

Can it generate playlists with an LLM?

Not currently; LLM-powered playlist generation is listed under future work.

Upstream README

View this exact version on GitHub

README.md · 16cdf5951982 · Fetched 2026-11-13 11:51:39 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

spotify_mcp

Project Description

This project is a Spotify integration built using the Model Context Protocol (MCP). It provides a set of tools and resources that allow interaction with the Spotify API, enabling control over playback, access to user data, and more, all through the MCP framework.

Setup

To get this project up and running, follow these steps:

  1. Clone the repository:

    git clone https://github.com/jmoro0408/spotify_mcp.git
    cd spotify_mcp
    
  2. Set up a virtual environment (recommended):

    python -m venv .venv
    source .venv/bin/activate
    
  3. Install dependencies:

    uv sync
    
  4. Set up Spotify API Credentials:

    • Go to the Spotify Developer Dashboard.
    • Log in and create a new application.
    • Note down your Client ID and Client Secret.
    • Add a Redirect URI. For local development, http://localhost:8888/callback is commonly used.
    • Create a .env file in the project root directory with the following content:
      SPOTIPY_CLIENT_ID='YOUR_CLIENT_ID'
      SPOTIPY_CLIENT_SECRET='YOUR_CLIENT_SECRET'
      SPOTIPY_REDIRECT_URI='YOUR_REDIRECT_URI'
      
      Replace the placeholder values with your actual credentials and redirect URI.
  5. Run the server:

    python src/server.py
    

    This will start the MCP server, making the Spotify tools and resources available.

Usage

Once the server is running and configured, you can interact with the Spotify API through the defined MCP tools. The specific methods for interacting with MCP tools will depend on the client application or framework you are using that supports MCP.

If using Claude as your MCP client, you need to edit your claude_desktop_config.json to include:

{
  "mcpServers": {
    "Spotify_MCP": {
      "command": "<FULL_UV_PATH>",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "--with",
        "spotipy",
        "mcp",
        "run",
        <FULL_PATH_TO_MAIN.py>
      ],
      "env": {
        "SPOTIFY_CLIENT_ID": "<CLIENT_ID>",
        "SPOTIFY_CLIENT_SECRET": "<CLIENT_SECRET>",
        "SPOTIFY_REDIRECT_URI": "<REDIRECT_URI>"
      }
    }
  }
}

Currently supported actions

  1. Play a song
  2. Get users playlists
  3. Play from user playlist
  4. Play from SP playlists like charts
  5. Pause Playback
  6. Skip to next
  7. Skip to previous
  8. Turn shuffle on
  9. Turn shuffle off
  10. Play a user's liked songs
  11. Get recently played song
  12. Add to queue
  13. Get most played songs this week/month/year

To Implement

  1. Add a song to a playlist
  2. Add tracks to playlist
  3. Create a playlist
  4. Get recently popular songs. i.e. songs that I discovered recently that I have been playing a lot of.
  5. Generate LLM powered playlists. i.e. "Create a dance workout playlist based on my recent favorite artists"

Project Structure

  • src/auth.py: Handles Spotify API authentication.
  • src/main.py: Likely the main entry point or core logic of the application.
  • src/resources.py: Defines MCP resources for accessing Spotify data.
  • src/server.py: The MCP server implementation.
  • src/tools.py: Defines MCP tools for interacting with the Spotify API (the supported actions listed above).
  • src/utils.py: Utility functions used across the project.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Spotify MCP server for playback control and user data access from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/spotify_mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design