Spotify integration
Music streaming platform API for accessing catalog data and playback features. Search tracks, albums, artists, shows, episodes, and audiobooks, manage playlists, access user library, and control playback. Essential for building music discovery apps, playlist tools, podcast players, and audiobook applications.
Say what should happen.
The workflow builds itself.
Common Spotify use cases
- Build seek bar
- Rename playlist
- Build next button
- Add track to queue
- Display play queue
- Build repeat button
- Build volume slider
- Build shuffle button
- Build previous button
- Display device picker
What you can do with Spotify
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Playback, 10 operations
get_current_playbackGet current playbackGETAgents: ask firstRetrieves information about the user's current playback state and active device.pause_playbackPause playbackPUTAgents: ask firstPauses playback on the user's currently active Spotify device.seek_to_positionSeek to positionPUTAgents: ask firstSeeks to the given position in the user's currently playing track.set_repeat_modeSet repeat modePUTAgents: ask firstSet the repeat mode for the user's playback.set_volumeSet volumePUTAgents: ask firstSet the volume for the user's current playback device.skip_to_nextSkip to nextPOSTAgents: ask firstSkips to next track in the user's queue.skip_to_previousSkip to previousPOSTAgents: ask firstSkips to previous track in the user's queue.start_playbackStart playbackPUTAgents: ask firstStarts or resumes playback on the user's active Spotify device.toggle_shuffleToggle shufflePUTAgents: ask firstToggle shuffle on or off for user's playback.transfer_playbackTransfer playbackPUTAgents: ask firstTransfer playback to a new device and determine if it should start playing.
Playlist, 4 operations
create_playlistCreate playlistPOSTAgents: ask firstCreates a new empty playlist for the current user.get_current_user_playlistsGet current user playlistsGETAgents: ask firstRetrieves a paginated list of the authenticated user's playlists.get_playlistGet playlistGETAgents: ask firstRetrieves detailed information about a specific Spotify playlist.update_playlistUpdate playlistPUTAgents: ask firstChange a playlist's name and public/private state.
Playlist item, 4 operations
add_items_to_playlistAdd items to playlistPOSTAgents: ask firstAdd one or more items to a user's playlist.get_playlist_itemsGet playlist itemsGETAgents: ask firstGet full details of the items of a playlist owned by a Spotify user.remove_playlist_itemsRemove playlist itemsDELETEAgents: ask firstRemove one or more items from a user's playlist.update_playlist_itemsUpdate playlist itemsPUTAgents: ask firstReorder or replace items in a playlist.
Library item, 3 operations
check_saved_itemsCheck saved itemsGETAgents: ask firstCheck if one or more items are already saved in the current user's library.remove_from_libraryRemove from libraryDELETEAgents: ask firstRemove one or more items from the current user's library using Spotify URIs.save_to_librarySave to libraryPUTAgents: ask firstSave one or more items to the current user's library using Spotify URIs.
Playlist image, 2 operations
add_custom_playlist_cover_imageAdd custom playlist cover imagePUTAgents: ask firstReplace the image used to represent a specific playlist.get_playlist_cover_imageGet playlist cover imageGETAgents: ask firstGet the current image associated with a specific playlist.
Queue, 2 operations
add_to_queueAdd to queuePOSTAgents: ask firstAdd an item to the end of the user's current playback queue.get_queueGet queueGETAgents: ask firstGet the list of objects that make up the user's queue.
Album, 1 operation
get_albumGet albumGETAgents: ask firstRetrieves detailed information about a specific Spotify album.
Album track, 1 operation
get_album_tracksGet album tracksGETAgents: ask firstGet Spotify catalog information about an album's tracks.
Artist, 1 operation
get_artistGet artistGETAgents: ask firstRetrieves detailed information about a specific Spotify artist.
Artist album, 1 operation
get_artist_albumsGet artist albumsGETAgents: ask firstGet Spotify catalog information about an artist's albums.
Audiobook, 1 operation
get_audiobookGet audiobookGETAgents: ask firstGet Spotify catalog information for a single audiobook identified by its unique Spotify ID.
Audiobook chapter, 1 operation
get_audiobook_chaptersGet audiobook chaptersGETAgents: ask firstGet Spotify catalog information about an audiobook's chapters.
Chapter, 1 operation
get_chapterGet chapterGETAgents: ask firstGet Spotify catalog information for a single audiobook chapter identified by its unique Spotify ID.
Currently playing, 1 operation
get_currently_playingGet currently playingGETAgents: ask firstGet the object currently being played on the user's Spotify account.
Device, 1 operation
get_available_devicesGet available devicesGETAgents: ask firstGet information about a user's available devices.
Episode, 1 operation
get_episodeGet episodeGETAgents: ask firstGet Spotify catalog information for a single episode identified by its unique Spotify ID.
Followed artist, 1 operation
get_followed_artistsGet followed artistsGETAgents: ask firstGet the current user's followed artists.
Recently played, 1 operation
get_recently_playedGet recently playedGETAgents: ask firstGet tracks from the current user's recently played tracks.
Saved album, 1 operation
get_saved_albumsGet saved albumsGETAgents: ask firstGet a list of the albums saved in the current user's 'Your Music' library.
Saved audiobook, 1 operation
get_saved_audiobooksGet saved audiobooksGETAgents: ask firstGet a list of audiobooks saved in the current user's library.
Saved episode, 1 operation
get_saved_episodesGet saved episodesGETAgents: ask firstGet a list of episodes saved in the current user's library.
Saved show, 1 operation
get_saved_showsGet saved showsGETAgents: ask firstGet a list of shows saved in the current user's library.
Saved track, 1 operation
get_saved_tracksGet saved tracksGETAgents: ask firstRetrieves the user's saved tracks (liked songs) from their Spotify library.
Search result, 1 operation
searchSearchGETAgents: ask firstSearches Spotify's catalog for tracks, artists, albums, or playlists matching a query.
Show, 1 operation
get_showGet showGETAgents: ask firstGet Spotify catalog information for a single show identified by its unique Spotify ID.
Show episode, 1 operation
get_show_episodesGet show episodesGETAgents: ask firstGet Spotify catalog information about a show's episodes.
Top item, 1 operation
get_user_top_itemsGet user top itemsGETAgents: ask firstGets the current user's top artists or tracks based on calculated affinity.
Track, 1 operation
get_trackGet trackGETAgents: ask firstRetrieves detailed information about a specific Spotify track.
User, 1 operation
get_current_userGet current userGETAgents: ask firstRetrieves the authenticated user's Spotify profile information and subscription details.
Spotify API rate limits
- 180 requests per minute
February 2026 breaking changes: popularity, followers removed from tracks/artists. Search limit max reduced to 10.
These are the limits Spotify documents, not ones LiveContext measured. They can change and often depend on your plan, so check the Spotify documentation for current values.
Use Spotify from Claude Code, Cursor or Codex
Connect Spotify in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Spotify operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Spotify
- Create your workspace
Sign up free. Nothing to install.
- Connect Spotify once
Add your Spotify connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Spotify integration FAQ
What can you do with the Spotify integration?
LiveContext exposes 48 operations on Spotify, covering playback, playlist, playlist item and library item. Common uses include Build seek bar, Rename playlist and Build next button.
What are the Spotify API rate limits?
Spotify documents 180 requests per minute. February 2026 breaking changes: popularity, followers removed from tracks/artists. Search limit max reduced to 10. Limits are set by Spotify and can depend on your plan.
