Skip to content
MCP server
Registry

spotify-bulk-actions-mcp MCP Server

MCP server for bulk Spotify operations - batch playlist creation, exports, management

spotify-bulk-actions-mcp scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It declares 36 tools. Filed under Media. GitHub shows 2 stars. Package registries report about 16 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by khglynnMITPython2 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "khglynn-spotify-bulk-actions-mcp": {      "command": "uvx",      "args": [        "spotify-bulk-actions-mcp"      ],      "env": {        "SPOTIFY_CLIENT_ID": "",        "SPOTIFY_CLIENT_SECRET": "YOUR_SPOTIFY_CLIENT_SECRET"      }    }  }}

Environment variables

NameRequiredNotes
SPOTIFY_CLIENT_IDRequiredSpotify API Client ID from developer.spotify.com
SPOTIFY_CLIENT_SECRETSecretRequiredSpotify API Client Secret from developer.spotify.com

Tools36Tool docs quality grade D

All capabilities

About

Spotify Bulk Actions MCP

A Model Context Protocol (MCP) server for bulk Spotify operations - batch playlist creation, library exports, and large-scale library management.

What makes this different from other Spotify MCPs?

  • Confidence scoring - Batch searches return HIGH/MEDIUM/LOW confidence for each match
  • Human-in-the-loop - Uncertain matches are exported for review, then re-imported
  • Bulk operations - Handle 500+ songs efficiently with rate limiting built-in
  • Library exports - Export your complete library data
  • Podcast playlist focused - Built specifically for importing song lists from podcast show notes

Support This Project

Made cause I can't not have headphones on, support my 80k+ pocast subscriptions. Buy Me A Coffee


Listed On

DirectoryLink
PyPIpypi.org/project/spotify-bulk-actions-mcp
mcp.somcp.so/server/spotify-bulk-actions-mcp
awesome-mcp-serversPR #1541 (pending)

Projects I've Built With This

ProjectDescriptionLinks
recordOSWhich albums do you love most? A visual album collection appLive · Repo
Festival NavigatorNavigate multi-day festivals with friendsRepo

Playlists Maintained With This MCP

Coming soon: Switched On Pop, This American Life, and more podcast playlists


What This Does

Library Analysis:

  • Get all your followed artists
  • Get all saved/liked songs (handles libraries up to 10k songs)
  • Find unique artists from your library ranked by song count
  • Find albums where you have 6+ saved songs (great for vinyl shopping!)
  • Export your complete library summary

Listening Insights:

  • Your top artists and tracks (short/medium/long term)
  • Recently played history

Bulk Playlist Creation:

  • Import song lists from CSV files (for podcast playlists, etc.)
  • Batch search with confidence scoring (HIGH/MEDIUM/LOW)
  • Automatic handling of uncertain matches for human review
  • Create playlists from search results

Playlist Maintenance:

  • Find and remove duplicate tracks
  • Compare two playlists (shared vs unique tracks)
  • Bulk remove and reorder tracks, update playlist details
  • Export any playlist to CSV

Bulk Library Actions:

  • Follow/unfollow artists in bulk
  • Save/unsave tracks in bulk

Quick Start

1. Prerequisites

  • Python 3.10+
  • A Spotify account
  • Spotify Developer credentials (get them here)

2. Clone & Setup

# Clone the repo
git clone https://github.com/khglynn/spotify-bulk-actions-mcp.git
cd spotify-bulk-actions-mcp

# Create and activate virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install the package
pip install -e .

# Copy env example and add your credentials
cp .env.example .env
# Edit .env with your SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET

Also on PyPI: pip install spotify-bulk-actions-mcp - but you'll still need local .env and auth setup.

3. Authenticate with Spotify (One-Time)

This opens a browser for you to log in:

python setup_auth.py

After login, your token is saved locally in .spotify_cache/.

4. Test It Works

source venv/bin/activate
python -c "from spotify_bulk_actions_mcp.utils.auth import is_authenticated; print('Auth OK!' if is_authenticated() else 'Not authenticated')"

Option B: Hosted (claude.ai custom connector)

This server also runs as a remote MCP over streamable HTTP (MCP_TRANSPORT=http), fronted by OAuth 2.1 (WorkOS AuthKit) with a fail-closed user allowlist. That's how the author runs it: Cloud Run + Secret Manager for the Spotify refresh token, added to claude.ai as a custom connector. Tools carry readOnlyHint/destructiveHint annotations so clients can group read vs write actions. See Dockerfile and the deploy notes in the parent collection repo.

5. Connect to Claude Code

Add this to your Claude Code settings (~/.claude/settings.local.json):

{
  "mcpServers": {
    "spotify": {
      "command": "/path/to/spotify-bulk-actions-mcp/venv/bin/spotify-bulk-actions-mcp"
    }
  }
}

Restart Claude Code after adding this.

Available Tools (36)

Library Analysis

ToolDescription
check_auth_statusVerify Spotify auth is working
get_followed_artistsGet all artists you follow
get_saved_tracksGet all your liked songs
get_library_artistsArtists from saved songs, ranked by count
get_albums_by_song_countAlbums with N+ saved songs
export_library_summaryComplete library export

Listening Insights

ToolDescription
get_top_artistsYour top artists (short/medium/long term)
get_top_tracksYour top tracks (short/medium/long term)
get_recently_playedRecently played tracks

Bulk Library Actions

ToolDescription
follow_artistsFollow artists in bulk
unfollow_artistsUnfollow artists in bulk
save_tracksLike/save tracks in bulk
unsave_tracksUn-like tracks in bulk

Search

ToolDescription
search_trackSearch for a single track
search_track_fuzzyBroader search when exact fails
batch_search_tracksSearch many tracks with confidence scores
get_track_preview_urlGet 30-second preview URL
search_albumsFind an album by name (and artist), with confidence scores
get_album_tracksEvery track on an album, in order, ready to add to a playlist
find_playlistsFind a playlist by name: yours and followed first, then Spotify's search

Playlist Creation

ToolDescription
create_playlistCreate a new playlist
add_tracks_to_playlistAdd tracks to existing playlist
import_and_create_playlistFull CSV → playlist workflow
create_playlist_from_search_resultsCreate from batch search
add_reviewed_tracksAdd reviewed/corrected tracks

Playlist Management

ToolDescription
get_playlist_infoGet playlist details
update_playlistUpdate name, description, public status
get_playlist_tracksGet all tracks in a playlist
export_playlist_to_csvExport a playlist to CSV
compare_playlistsShared vs unique tracks between two playlists
find_duplicate_tracksFind duplicates in a playlist
remove_duplicate_tracksRemove duplicates, keeping first occurrence
remove_tracks_from_playlistBulk remove specific tracks
reorder_playlist_tracksMove tracks within a playlist

Utilities

ToolDescription
parse_song_list_csvValidate a song CSV
export_review_csvExport uncertain matches for review

How This Differs From the Official Spotify Connector

Claude has an official Spotify connector (built by Spotify, April 2026). It's excellent at what it does — but its tool surface is small, and this MCP exists for everything it doesn't cover. As of August 2026 the official connector exposes 8 tools: Search Spotify, Create Playlist, Get Currently Playing, Add to Library, Remove from Library, Fetch Playlist Tracks, and two auth utilities.

CapabilityOfficial connectorThis MCP
Search, playback context, mood playlists✅Search only
Create a playlist✅✅ (plus CSV import w/ confidence scoring)
Add/remove Liked Songs✅ (one at a time)✅ bulk
Read your full library (saved tracks, followed artists)❌✅
Listening insights (top artists/tracks, recently played)❌✅
Edit existing playlists (bulk remove, reorder, update details)❌✅
Dedupe / compare / export playlists to CSV❌✅
Bulk follow/unfollow artists❌✅

One more difference: the official connector runs on Spotify's partner-gated MCP gateway (no dynamic client registration; tokens from ordinary developer apps are rejected), so it's only usable inside partnered AI surfaces. This MCP runs under your own Spotify developer app — Development Mode limits apply (5 allowlisted users per Client ID as of February 2026), but you control it end to end.

Example Workflows

Get Your Library Stats

Ask Claude:

"What artists do I have the most saved songs from?"

Claude will use get_library_artists and show you.

Find Albums for Vinyl

Ask Claude:

"Find albums where I have 6 or more saved songs"

Claude will use get_albums_by_song_count with min_songs=6.

Create Playlist from Song List

  1. Create a CSV file:
title,artist
Bohemian Rhapsody,Queen
Hotel California,Eagles
Billie Jean,Michael Jackson
  1. Ask Claude:

"Create a playlist called 'My Mix' from this CSV: [paste CSV]"

Claude will:

  1. Parse the CSV
  2. Search each song with confidence scoring
  3. Create the playlist with high-confidence matches
  4. Show you uncertain matches to review

Bulk Podcast Playlist

For large lists (500+ songs):

  1. Ask Claude to use batch_search_tracks with your song list
  2. Review the results (HIGH goes in automatically)
  3. Use export_review_csv to get uncertain matches
  4. Review/correct in a spreadsheet
  5. Use add_reviewed_tracks to add your corrections

Rate Limits

The server handles Spotify's rate limits automatically:

  • Small delays between API calls
  • Automatic retry on 429 errors
  • Caching to reduce repeat calls

For 10k songs, expect the initial library fetch to take 2-3 minutes.

Files & Data

LocationPurpose
.envYour Spotify credentials (gitignored)
.spotify_cache/Auth tokens and cached data (gitignored)
spotify_bulk_actions_mcp/server.pyMain MCP server
spotify_bulk_actions_mcp/tools/Tool implementations

Troubleshooting

"Not authenticated" error:

python setup_auth.py

Rate limit errors: Wait a few minutes and try again. The server will auto-retry.

Token expired: The server auto-refreshes tokens. If issues persist, re-run setup_auth.py.

Security Notes

  • Your credentials are in .env (gitignored, never committed)
  • Auth tokens are stored locally in .spotify_cache/
  • Never share your .env or token files
  • If credentials are exposed, rotate them in Spotify Dashboard

License

MIT


Made cause I can't not have headphones on. If this helps you, buy me a coffee!

Frequently asked questions

What is spotify-bulk-actions-mcp MCP Server?

MCP server for bulk Spotify operations - batch playlist creation, exports, management

How do I install spotify-bulk-actions-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. spotify-bulk-actions-mcp MCP Server runs locally from the PyPI package spotify-bulk-actions-mcp with the command uvx spotify-bulk-actions-mcp.

Is spotify-bulk-actions-mcp MCP Server free and open source?

Yes. spotify-bulk-actions-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does spotify-bulk-actions-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for spotify-bulk-actions-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does spotify-bulk-actions-mcp MCP Server provide?

spotify-bulk-actions-mcp MCP Server provides 36 tools, including add_reviewed_tracks, add_tracks_to_playlist, batch_search_tracks, and check_auth_status. See the full tool list for descriptions and parameters.

How is spotify-bulk-actions-mcp MCP Server's trust score calculated?

spotify-bulk-actions-mcp MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server