samitmohan
MCP Serversamitmohanpublic

spotify mcp

Connect Spotify to LLM via MCP model.

Repository Info

1
Stars
0
Forks
1
Watchers
0
Issues
Python
Language
-
License

About This Server

Connect Spotify to LLM via MCP model.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Blog-: https://samit.bearblog.dev/mcp-servers/

Video Demo-: https://youtu.be/BExl8jhthoE

To start-:

  1. Clone repo
  2. Download dependencies -> uv, requests, mcp, spotipy via pip
  3. Use ngrok for tunnelling localhost -> ngrok http 3000 {spotify doesn't support localhost anymore}
  4. Go to Spotify Dashboard and get your client ID and secret ID, paste that in server.py
  5. In dashboard create a new app and add the redirect uri = your ngrok url
  6. Download Claude Local -> Go to settings -> Edit configuration and edit the claude_desktop_config.json to the following and restart Claude-:
{
  "mcpServers": {
    "spotify": {
      "command": "/Users/smol/.local/bin/uv",
      "args": [
        "--directory",
        "/Users/smol/fun/mcp-server/mcp-server-demo",
        "run",
        "server.py"
      ]
    }
  }
}
  1. uv run server.py and open Claude again. Now you'll see all the MCP tools and you can ask Claude to access Spotify for you.

Features-: 🔊 Playback Controls

  • ✅ Play/pause/next
  • 🔁 Shuffle and repeat modes
  • 🎧 Play full album by name
  • 🔄 Autoplay based on mood (infinite playlist)

🎶 Playlist Wizardry

  • Create playlists by:

    • Genre, mood, custom song list
    • ➕ Add a song to an existing playlist by name
    • 🗑️ Delete playlists by name
    • 🎯 Fetch playlist content with track + artist
  • 🎙️ Lyrics & Info

    • 📃 Get lyrics of any song (Genius API)
    • 🎵 Get lyrics of currently playing song
    • 📌 Show current playing song + metadata
  • 💡 Smart Recommendations

    • 🧠 Recommend songs based on recent listening
    • 👥 Get recently played artists
    • 🔍 Find albums by artist
    • 📚 List liked songs
    • Recommends songs based on history

Quick Start

1

Clone the repository

git clone https://github.com/samitmohan/spotify-mcp
2

Install dependencies

cd spotify-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownersamitmohan
Repospotify-mcp
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation