Skip to main content
Glama
Spotify MCP Server

Spotify MCP Server

by jamiew

Spotify MCP, Python local server

spotify-mcp

mcp-name: io.github.jamiew/spotify-mcp

A local Python MCP server for searching Spotify, controlling playback, and managing playlists and Liked Songs from your MCP client. Runs over stdio with your Spotify account. This is a supported fork of varunneal/spotify-mcp.

The TypeScript edition supports local and hosted use, with a different MCP surface.

Setup

Requires Python 3.12+, uv, and Spotify Premium for playback.

  1. Create an app in the Spotify developer dashboard.

  2. Register http://127.0.0.1:8888 as its redirect URI, exactly as written.

  3. Copy the app's Client ID and Client Secret into your MCP client's configuration:

{
  "mcpServers": {
    "spotify": {
      "command": "uvx",
      "args": ["spotify-mcp-jamiew"],
      "env": {
        "SPOTIFY_CLIENT_ID": "your_client_id",
        "SPOTIFY_CLIENT_SECRET": "your_client_secret",
        "SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8888"
      }
    }
  }
}

Restart the client. On first use, a browser opens for Spotify authorization; the token is cached locally. Keep the client secret and token cache private. Playback needs an available Spotify Connect device, so open Spotify on the device you want to control.

Client-specific setup: Claude Desktop, Claude Code, and Codex. Use the same command and environment variables in each client's format.

Run from source

The package command above uses the published package, which may lag this README's source changes. To run the current checkout:

git clone https://github.com/jamiew/spotify-mcp.git
cd spotify-mcp
uv sync

In the config above, change command to uv and args to ["--directory", "/absolute/path/to/spotify-mcp", "run", "spotify-mcp"]. Keep the same environment variables. Without cloning, use uvx --from git+https://github.com/jamiew/spotify-mcp.git spotify-mcp.

Reauthorization: artist-follow checks need user-follow-read, and following or unfollowing artists and playlists needs user-follow-modify. Existing grants do not receive new scopes automatically. Restart and complete Spotify authorization when prompted; if access is still denied, review the app's grant in your Spotify account and reauthorize. Do not automatically delete the auth cache.

Related MCP server: Spotify MCP Server

Features

48 tools, six resources (user, playback, track, playlist, artist, album), and five prompts. Tools provide typed outputs and behavior annotations; large playlist reads report progress. Playlist removal asks for confirmation where supported, reordering uses snapshot guards, and playback control attempts best-effort read-after-write confirmation, not guaranteed success.

Tools

Tool

Does

get_me

Read your profile

search_music

Search tracks, albums, artists, or playlists with filters and pagination

get_tracks

Read up to 50 tracks; individual reads when batching is unavailable

get_artist

Read up to 50 artists; top tracks for a single artist

get_album

Read up to 20 albums; track list for a single album

get_playback_state

Read current track or episode, device, progress, shuffle, and repeat

control_playback

Play tracks, episodes or a context; pause, skip, seek, volume, shuffle, repeat

list_devices

List Spotify Connect devices

transfer_playback

Move playback to another device

get_queue

Read now playing and upcoming tracks and episodes

add_to_queue

Queue a track or podcast episode

list_playlists

List your playlists with pagination

get_playlist

Read playlist metadata without tracks

get_playlist_tracks

Read up to 1000 playlist tracks per call; continue from next_offset

create_playlist

Create a private playlist; set public=true to publish

update_playlist_details

Change name, description, or visibility

add_tracks_to_playlist

Add up to 100 tracks or episodes

remove_tracks_from_playlist

Remove tracks or episodes with confirmation where supported

reorder_playlist

Move a block of tracks

follow_playlist

Follow (save) a playlist

unfollow_playlist

Unfollow a playlist, including your own

get_saved_tracks

Read Liked Songs with pagination

save_tracks

Like tracks

remove_saved_tracks

Unlike tracks

check_saved_tracks

Check up to 50 tracks against Liked Songs

check_saved_albums

Check up to 20 saved albums

check_following_artists

Check up to 50 followed artists

get_saved_albums

Read saved albums with pagination

save_albums

Save up to 20 albums

remove_saved_albums

Remove up to 20 saved albums

get_followed_artists

Read followed artists with cursor pagination

follow_artists

Follow up to 50 artists

unfollow_artists

Unfollow up to 50 artists

get_saved_shows

Read saved podcast shows with pagination

save_shows

Save up to 50 podcast shows

remove_saved_shows

Remove up to 50 saved podcast shows

check_saved_shows

Check up to 50 saved podcast shows

get_show_episodes

Read a show's episodes with resume points and pagination

get_saved_episodes

Read saved podcast episodes with pagination

check_saved_episodes

Check up to 50 saved podcast episodes

save_episodes

Save up to 50 podcast episodes

remove_saved_episodes

Remove up to 50 saved podcast episodes

get_saved_audiobooks

Read saved audiobooks with pagination

check_saved_audiobooks

Check up to 50 saved audiobooks

save_audiobooks

Save up to 50 audiobooks

remove_saved_audiobooks

Remove up to 50 saved audiobooks

get_top_items

Read top artists or tracks over a time range

get_recently_played

Read recently played tracks with timestamps

Behavior to know

  • New playlists default to private. Existing playlists are unchanged. Spotify can report unexpected visibility, so confirm sensitive playlists in the Spotify app.

  • Library writes (tracks, artists, shows, episodes, audiobooks) and membership checks accept 50 items, sent upstream in batches of 40. Album saves, removals and checks accept 20. Membership results preserve input alignment; incomplete chunks fail. Writes are not atomic across chunks: earlier changes may remain after an error. Check membership before retrying.

  • Restricted apps cap search pages at 10. Advance by the returned offset + limit, not the requested size. Individual-track fallback can make up to 50 Spotify requests.

  • Playlist pagination counts positions, including unresolved rows and local files with id: null. Local files also set is_local; positions remain valid for reordering.

Spotify access and policy

  • Permissions and app access mode determine available endpoints and playlist access. A 403 may mean missing permission, not a retired endpoint. Existing integrations' February restrictions were postponed; restricted apps use the February 2026 API routes.

  • Development Mode normally allows five allowlisted users and requires a Premium app owner; older larger allowlists may be grandfathered. Extended access is not routine hobby-project approval: criteria include an organization, a legal entity, a launched service, and 250,000 monthly active users. A public URL does not remove these limits.

  • All Development Mode apps on a developer account share one quota, even with the 25 permitted Client IDs. This server surfaces 429 errors without retries, including QUOTA_EXCEEDED and ordinary rate limits with Retry-After when provided. No guaranteed quota reset time is specified.

  • This server uses one local identity. Do not share its token cache or expose it as an unauthenticated public service. Other users should self-host and authorize their own accounts.

  • AI policy is a separate constraint. Spotify Developer Policy III.14 restricts training or otherwise ingesting Spotify Content into AI/ML models; "no training" or "metadata only" is not automatic clearance. III.13 restricts analysis and derived metrics; III.3 restricts voice-control assistants. Seek Spotify clarification or approval before public AI access. This is a risk notice, not legal advice or permission.

Moving between implementations

Shared versions and tool names do not imply drop-in compatibility with other implementations. Check arguments, limits, and result shapes before switching. Preserve any workflow that relies on this server's resources, five prompts, snapshot guards, removal confirmation, or playback confirmation; those behaviors are not universal.

Credits

MIT license, copyright 2025 Varun Neal Srivastava. Thanks to @varunneal for the original project, @jamiew, @jonico, @tedeuxx, and @karimStekelenburg.

Banner made with Glif.

Available Tools

48 tools
add_to_queueAdd to QueueB

Add a track or podcast episode to the playback queue.

Args:
    track_id: Track ID, or a spotify:track:/spotify:episode: URI or
        open.spotify.com URL. A bare ID is taken as a track.
Returns:
    Status and message

Inputs: track_id (required). Returns: Result of a state-changing operation.

add_tracks_to_playlistAdd Tracks to PlaylistB

Add tracks or podcast episodes to a playlist.

Args:
    playlist_id: Playlist ID
    track_uris: Track or episode URIs/URLs (up to 100). Bare IDs are tracks;
        pass spotify:episode: URIs or episode URLs for episodes.

Inputs: track_uris (required), playlist_id (required). Returns: Result of a state-changing operation.

check_following_artistsCheck Followed ArtistsA
Read-onlyIdempotent

Check up to 50 artist follows in upstream chunks of at most 40.

Uses artist URIs on the consolidated library route, with a legacy fallback.
Requires user-follow-read; reauthorize if your existing grant lacks it.

Args:
    artist_ids: Artist IDs or URIs (up to 50)
Returns:
    MembershipStatus.results maps each Spotify artist id to true if followed

Inputs: artist_ids (required). Returns: Whether each requested id is in the user's library, keyed by Spotify id.

check_saved_albumsCheck Saved AlbumsA
Read-onlyIdempotent

Check which albums are already saved to the library.

Up to 20 albums per tool call, preserving this tool's existing album cap.

Args:
    album_ids: Album IDs or URIs (up to 20)
Returns:
    MembershipStatus.results maps each Spotify album id to true if saved

Inputs: album_ids (required). Returns: Whether each requested id is in the user's library, keyed by Spotify id.

check_saved_audiobooksCheck Saved AudiobooksA
Read-onlyIdempotent

Check which audiobooks are already saved, in upstream chunks of 40.

Args:
    audiobook_ids: Audiobook IDs or URIs (up to 50)
Returns:
    MembershipStatus.results maps each Spotify audiobook id to true if saved

Inputs: audiobook_ids (required). Returns: Whether each requested id is in the user's library, keyed by Spotify id.

check_saved_episodesCheck Saved EpisodesA
Read-onlyIdempotent

Check which podcast episodes are already saved, in upstream chunks of 40.

Args:
    episode_ids: Episode IDs or URIs (up to 50)
Returns:
    MembershipStatus.results maps each Spotify episode id to true if saved

Inputs: episode_ids (required). Returns: Whether each requested id is in the user's library, keyed by Spotify id.

check_saved_showsCheck Saved ShowsA
Read-onlyIdempotent

Check which podcast shows are already saved, in upstream chunks of 40.

Args:
    show_ids: Show IDs or URIs (up to 50)
Returns:
    MembershipStatus.results maps each Spotify show id to true if saved

Inputs: show_ids (required). Returns: Whether each requested id is in the user's library, keyed by Spotify id.

check_saved_tracksCheck Liked SongsA
Read-onlyIdempotent

Check which tracks are already liked, without paging the whole library.

Up to 50 tracks per tool call, split into upstream chunks of at most 40.
Use this before save_tracks rather than paging through get_saved_tracks.

Args:
    track_ids: Track IDs or URIs (up to 50)
Returns:
    MembershipStatus.results maps each Spotify track id to true if liked

Inputs: track_ids (required). Returns: Whether each requested id is in the user's library, keyed by Spotify id.

control_playbackControl PlaybackA

Control Spotify playback. Requires Premium and an active device.

Args:
    action: 'play', 'pause', 'next', 'previous', 'seek', 'volume', 'shuffle' or 'repeat'
    track_ids: Tracks or episodes to play (action='play'; ignored when
        context_uri is set). Bare IDs are tracks; pass spotify:episode: URIs
        or episode share URLs for podcast episodes.
    context_uri: Album, playlist, artist or show URI to play (action='play')
    position_ms: Position in milliseconds (required for action='seek')
    volume_percent: Volume 0-100 (required for action='volume')
    state: 'on'/'off' for shuffle; 'track'/'context'/'off' for repeat
    device_id: Target device (default: the currently active one)

Returns:
    Last observed PlaybackState, possibly unconfirmed.

Confirmation is best effort: at most five post-action reads with brief waits.
Stale state or a later read failure returns the last observation. Checks do not
verify every requested track, context or device transition.

Inputs: action (required), state, device_id, track_ids, +3 more. Returns: Current playback state.

create_playlistCreate PlaylistB

Create a new Spotify playlist.

Args:
    name: Playlist name
    description: Playlist description (default: empty)
    public: Whether playlist is public (default: False)

Returns:
    The created Playlist

Inputs: name (required), public, description. Returns: A Spotify playlist.

follow_artistsFollow ArtistsA
Idempotent

Follow artists. Requires user-follow-modify; reauthorize if it is missing.

Args:
    artist_ids: Artist IDs or URIs (up to 50)

Inputs: artist_ids (required). Returns: Result of a state-changing operation.

follow_playlistFollow PlaylistA
Idempotent

Follow (save) a playlist so it appears in the user's library.

Args:
    playlist_id: Playlist ID, URI or open.spotify.com URL

Inputs: playlist_id (required). Returns: Result of a state-changing operation.

get_albumGet AlbumA
Read-onlyIdempotent

Get details for one or more Spotify albums, batched into a single request.

Args:
    album_ids: One album ID/URI, or a list of up to 20 — Spotify's own cap
        for album batches, which is lower than the 50 for tracks and artists.

Returns:
    AlbumInfo whose `albums` follows the order requested. `tracks` holds the
    album's track list only when a single album was requested.

Inputs: album_ids (required). Returns: One or more albums, with the track list when a single album was requested.

get_artistGet ArtistA
Read-onlyIdempotent

Get details for one or more Spotify artists, batched into a single request.

Args:
    artist_ids: One artist ID/URI, or a list of up to 50. A list costs one
        Spotify request rather than one per artist.
Returns:
    ArtistInfo whose `artists` follows the order requested. `top_tracks` is
    filled only when a single artist was requested, and is empty rather than
    an error when Spotify withholds that endpoint.

Inputs: artist_ids (required). Returns: One or more artists, with top tracks when a single artist was requested.

get_followed_artistsGet Followed ArtistsA
Read-onlyIdempotent

Get the artists the user follows. Paged by cursor, not offset.

Args:
    limit: Max artists to return per page (1-50, default 20)
    after: The `after` cursor from the previous page (omit for the first page)

Returns:
    FollowedArtists; pass its `after` back for the next page (None on the last)

Inputs: after, limit. Returns: A cursor page of followed artists. Spotify pages this list by cursor, not offse…

get_meSpotify ProfileA
Read-onlyIdempotent

Get the signed-in user's Spotify profile.

Returns:
    UserProfile. email/country/product are unavailable on newer Spotify apps
    and come back empty rather than erroring.

Inputs: no named parameters. Returns: The signed-in user's profile. Everything but `id` is optional: Spotify's restri…

get_playback_stateNow PlayingA
Read-onlyIdempotent

Get the current playback state: track, device, progress, shuffle and repeat.

Returns:
    PlaybackState (is_playing is False when nothing is playing)

Inputs: no named parameters. Returns: Current playback state.

get_playlistGet PlaylistA
Read-onlyIdempotent

Get basic information about a Spotify playlist.

Args:
    playlist_id: Spotify playlist ID

Returns:
    Playlist metadata (no tracks - use get_playlist_tracks for tracks)

Note: This returns playlist info only. For tracks, use get_playlist_tracks
which supports full pagination for large playlists.

Inputs: playlist_id (required). Returns: A Spotify playlist.

get_playlist_tracksGet Playlist TracksA
Read-onlyIdempotent

Get tracks from a playlist with full pagination support.

Args:
    playlist_id: Playlist ID
    limit: Max tracks to return (None for all tracks, up to 10,000 safety limit)
    offset: Number of tracks to skip for pagination (default 0)

Returns:
    PlaylistTracks with 'items' (list of tracks), 'total', 'limit', 'offset'

Note: Large playlists require pagination. Use limit/offset to get specific ranges:
- Get first 100: limit=100, offset=0
- Get next 100: limit=100, offset=100
- Get all tracks: limit=None (use with caution on very large playlists)

Inputs: playlist_id (required), limit, offset. Returns: Paginated tracks from a single playlist.

get_queueGet QueueB
Read-onlyIdempotent

Get the current playback queue. Returns: Currently playing track and queue of upcoming tracks

Inputs: no named parameters. Returns: Currently playing track plus the upcoming queue.

get_recently_playedRecently PlayedB
Read-onlyIdempotent

Get recently played tracks, most recent first.

Args:
    limit: Max tracks to return (1-50, default 20)

Returns:
    RecentlyPlayed with each track's played_at timestamp

Inputs: limit. Returns: Recently played tracks, most recent first.

get_saved_albumsGet Saved AlbumsB
Read-onlyIdempotent

Get albums saved in the user's library.

Args:
    limit: Max albums to return per page (1-50, default 20)
    offset: Number of albums to skip for pagination (default 0)

Returns:
    SavedAlbums with 'items' (albums with added_at) and pagination info

Inputs: limit, offset. Returns: Paginated saved albums.

get_saved_audiobooksGet Saved AudiobooksB
Read-onlyIdempotent

Get the audiobooks saved in the user's library.

Args:
    limit: Max audiobooks to return per page (1-50, default 20)
    offset: Number of audiobooks to skip for pagination (default 0)

Returns:
    SavedAudiobooks with 'items' and pagination info

Inputs: limit, offset. Returns: Paginated saved audiobooks.

get_saved_episodesGet Saved EpisodesA
Read-onlyIdempotent

Get the podcast episodes saved in the user's library.

Args:
    limit: Max episodes to return per page (1-50, default 20)
    offset: Number of episodes to skip for pagination (default 0)

Returns:
    EpisodeList with 'items' (episodes with show and added_at) and pagination info

Inputs: limit, offset. Returns: Paginated podcast episodes (a show's episodes, or the saved ones).

get_saved_showsGet Saved ShowsA
Read-onlyIdempotent

Get the podcast shows saved in the user's library.

Args:
    limit: Max shows to return per page (1-50, default 20)
    offset: Number of shows to skip for pagination (default 0)

Returns:
    SavedShows with 'items' (shows with added_at) and pagination info

Inputs: limit, offset. Returns: Paginated saved podcast shows.

get_saved_tracksGet Liked SongsA
Read-onlyIdempotent

Get user's saved/liked tracks (Liked Songs library).

Args:
    limit: Max tracks to return per page (1-50, default 20)
    offset: Number of tracks to skip for pagination (default 0)

Returns:
    SavedTracks with 'items' (tracks with added_at timestamp) and pagination info

Inputs: limit, offset. Returns: Paginated saved/liked tracks.

get_show_episodesGet Show EpisodesA
Read-onlyIdempotent

Get a podcast show's episodes, with the user's resume point for each.

Args:
    show_id: Show ID, URI or open.spotify.com URL
    limit: Max episodes to return per page (1-50, default 20)
    offset: Number of episodes to skip for pagination (default 0)

Returns:
    EpisodeList with 'items' and pagination info

Inputs: show_id (required), limit, offset. Returns: Paginated podcast episodes (a show's episodes, or the saved ones).

get_top_itemsTop Artists and TracksA
Read-onlyIdempotent

Get the user's top artists or tracks over a time range.

This remains useful when recommendations or related artists are unavailable
to the app. Spotify's policy also restricts analysis and AI ingestion.

Args:
    item_type: 'tracks' or 'artists' (default 'tracks')
    time_range: 'short_term' (~4 weeks), 'medium_term' (~6 months) or 'long_term'
    limit: Max items to return (1-50, default 20)

Returns:
    TopItems with either 'tracks' or 'artists' populated

Inputs: limit, item_type, time_range. Returns: The user's top artists or tracks over a time range.

get_tracksGet TracksA
Read-onlyIdempotent

Get detailed information about one or more Spotify tracks.

Args:
    track_ids: Single track ID or list of track IDs (up to 50)

Returns:
    TrackList with 'tracks' containing track metadata including release_date.
    For single ID, returns {'tracks': [track]}.

Note: Batch lookup is much more efficient where it is available - 50 tracks
in 1 API call instead of 50. Spotify withholds the batch endpoint from some
apps, in which case this transparently falls back to one request per track,
so the result is the same either way.

Inputs: track_ids (required). Returns: A list of tracks.

list_devicesAvailable DevicesA
Read-onlyIdempotent

List the user's available Spotify devices.

Returns:
    DeviceList; use transfer_playback with a device id to make one active

Inputs: no named parameters. Returns: The user's available devices.

list_playlistsList My PlaylistsA
Read-onlyIdempotent

Get current user's playlists with pagination support.

Args:
    limit: Max playlists to return per page (1-50, default 20)
    offset: Number of playlists to skip for pagination (default 0)

Returns:
    PlaylistList with 'items' (list of playlists) and pagination info ('total', 'limit', 'offset')

Note: For users with many playlists, use offset to paginate through results.
Example: offset=0 gets playlists 1-20, offset=20 gets playlists 21-40, etc.

Inputs: limit, offset. Returns: Paginated list of playlists.

remove_saved_albumsRemove Saved AlbumsB
DestructiveIdempotent

Remove albums from the user's library.

Args:
    album_ids: Album IDs or URIs (up to 20)

Inputs: album_ids (required). Returns: Result of a state-changing operation.

remove_saved_audiobooksRemove Saved AudiobooksB
DestructiveIdempotent

Remove audiobooks from the user's library.

Args:
    audiobook_ids: Audiobook IDs or URIs (up to 50)

Inputs: audiobook_ids (required). Returns: Result of a state-changing operation.

remove_saved_episodesRemove Saved EpisodesB
DestructiveIdempotent

Remove podcast episodes from the user's library.

Args:
    episode_ids: Episode IDs or URIs (up to 50)

Inputs: episode_ids (required). Returns: Result of a state-changing operation.

remove_saved_showsRemove Saved ShowsB
DestructiveIdempotent

Remove podcast shows from the user's library.

Args:
    show_ids: Show IDs or URIs (up to 50)

Inputs: show_ids (required). Returns: Result of a state-changing operation.

remove_saved_tracksUnlike TracksA
DestructiveIdempotent

Remove tracks from the user's saved (liked) tracks.

Args:
    track_ids: Track IDs or URIs (up to 50)

Inputs: track_ids (required). Returns: Result of a state-changing operation.

remove_tracks_from_playlistRemove Tracks from PlaylistB
Destructive

Remove tracks or podcast episodes from a playlist.

Args:
    playlist_id: Playlist ID
    track_uris: Track or episode URIs/URLs to remove. Bare IDs are tracks.

Inputs: track_uris (required), playlist_id (required). Returns: Result of a state-changing operation.

reorder_playlistReorder PlaylistA
Destructive

Move a contiguous block of tracks to a new position within a playlist.

Args:
    playlist_id: Playlist ID
    range_start: Zero-based position of the first track to move
    insert_before: Zero-based position to insert the moved block before.
        Pass the playlist's total track count to move the block to the end.
    range_length: Number of consecutive tracks to move (default 1)
    snapshot_id: Optional playlist snapshot ID to guard against concurrent edits

Returns:
    ActionResult with the new snapshot_id

Note: Positions are zero-based. Example: move the first 3 tracks to just
before position 10 with range_start=0, range_length=3, insert_before=10.

Inputs: playlist_id (required), range_start (required), insert_before (required), snapshot_id, +1 more. Returns: Result of a state-changing operation.

save_albumsSave AlbumsB
Idempotent

Save albums to the user's library.

Args:
    album_ids: Album IDs or URIs (up to 20)

Inputs: album_ids (required). Returns: Result of a state-changing operation.

save_audiobooksSave AudiobooksB
Idempotent

Save audiobooks to the user's library.

Args:
    audiobook_ids: Audiobook IDs or URIs (up to 50)

Inputs: audiobook_ids (required). Returns: Result of a state-changing operation.

save_episodesSave EpisodesA
Idempotent

Save podcast episodes to the user's library.

Args:
    episode_ids: Episode IDs or URIs (up to 50)

Inputs: episode_ids (required). Returns: Result of a state-changing operation.

save_showsSave ShowsB
Idempotent

Save (follow) podcast shows to the user's library.

Args:
    show_ids: Show IDs or URIs (up to 50)

Inputs: show_ids (required). Returns: Result of a state-changing operation.

save_tracksLike TracksA
Idempotent

Save (like) tracks to the user's library.

Args:
    track_ids: Track IDs or URIs (up to 50)

Inputs: track_ids (required). Returns: Result of a state-changing operation.

search_musicSearch SpotifyA
Read-onlyIdempotent

Search Spotify for tracks, albums, artists, or playlists.

Args:
    query: Search query
    qtype: Type ('track', 'album', 'artist', 'playlist')
    limit: Max results per page (1-50, default 10). Spotify caps search at 10
        per page for restricted apps and rejects anything larger; a larger
        limit is retried at the cap rather than failing. Check the returned
        `limit` for what was actually served, and use `offset` to go deeper.
    offset: Number of results to skip for pagination (default 0)
    year: Filter by year (e.g., '2024')
    year_range: Filter by year range (e.g., '2020-2024')
    genre: Filter by genre (e.g., 'electronic', 'hip-hop')
    artist: Filter by artist name
    album: Filter by album name

Returns:
    SearchResults with 'items' (list of tracks) and pagination info ('total', 'limit', 'offset')

Note: Filters use Spotify's search syntax. For large result sets, use offset to paginate.
Example: query='love', year='2024', genre='pop' searches for 'love year:2024 genre:pop'

Inputs: query (required), year, album, genre, +5 more. Returns: Paginated search results.

transfer_playbackSwitch DeviceA
Idempotent

Move playback to a different device (see list_devices).

Args:
    device_id: Target device ID
    play: Start playing after the transfer (default True)

Inputs: device_id (required), play. Returns: Result of a state-changing operation.

unfollow_artistsUnfollow ArtistsA
DestructiveIdempotent

Unfollow artists. Requires user-follow-modify; reauthorize if it is missing.

Args:
    artist_ids: Artist IDs or URIs (up to 50)

Inputs: artist_ids (required). Returns: Result of a state-changing operation.

unfollow_playlistUnfollow PlaylistA
DestructiveIdempotent

Unfollow a playlist, removing it from the user's library.

For playlists the user owns this is how Spotify deletes them — there is no
separate delete endpoint.

Args:
    playlist_id: Playlist ID or URI

Inputs: playlist_id (required). Returns: Result of a state-changing operation.

update_playlist_detailsEdit Playlist DetailsC
DestructiveIdempotent

Modify playlist details.

Args:
    playlist_id: Playlist ID
    name: New playlist name (optional)
    description: New playlist description (optional)
    public: Whether playlist should be public (optional)

Inputs: playlist_id (required), name, public, description. Returns: Result of a state-changing operation.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 48 tools

    Disambiguation4/5

    Most tools target a clear resource+action pair (save_tracks vs check_saved_tracks vs get_saved_tracks, follow_artists vs check_following_artists), and descriptions explicitly cross-reference each other. The main soft spots are control_playback being a multi-action mega-tool that partly overlaps transfer_playback and add_to_queue, and the large family of save/remove/check/get library tools for six resource types that a hurried agent could mix up.

    Naming Consistency4/5

    Nearly everything follows a verb_noun pattern (get_tracks, save_albums, remove_saved_shows, list_playlists, check_saved_episodes), with predictable get_/save_/remove_/check_ prefixes per resource. Minor deviations like get_me and control_playback (verb-only, multiplexed) are the only breaks in the pattern.

    Tool Count2/5

    48 tools is heavy for a single MCP surface; the library-management matrix (get/save/remove/check for tracks, albums, shows, episodes, audiobooks, artists, playlists) alone accounts for ~20 tools. It mirrors the Spotify API faithfully, but many of these will rarely be selected and inflate the decision space for an agent.

    Completeness4/5

    Coverage is broad: playback control, queue, playlists with reorder, library CRUD across all media types, podcasts, audiobooks, and personalization. Gaps are mostly read-side detail endpoints — no get_show, get_episode, or get_audiobook metadata tools, and playlist deletion is only reachable via unfollow_playlist — but agents can work around these.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers