Connects Claude to Spotify's Web API using client_credentials OAuth, exposing four core lookup tools: get_track, get_artist, get_album, and get_artist_top_tracks. You get back structured metadata like popularity scores, genres, follower counts, preview URLs, and album tracklists. Useful when you need to fetch Spotify catalog data on demand, check artist stats, or grab track details by ID. Part of the Pipeworx gateway ecosystem, so you can either connect to just Spotify or hook into their full 250+ data source gateway. Supports both direct tool calls and natural language queries through ask_pipeworx. Ships as a streamable HTTP transport, so setup is just dropping a URL into your MCP client config.
Public tool metadata for what this MCP can expose to an agent.
track.statsGet stream count and metadata for a Spotify track. Returns title, artist, total play count, duration in ms, content rating, track number, album info, and artist info.1 paramsGet stream count and metadata for a Spotify track. Returns title, artist, total play count, duration in ms, content rating, track number, album info, and artist info.
track_idstringalbum.statsGet album statistics with per-track stream counts. Returns album name, type, release date, label, copyright, cover art, per-track stream counts and durations, and related albums.1 paramsGet album statistics with per-track stream counts. Returns album name, type, release date, label, copyright, cover art, per-track stream counts and durations, and related albums.
album_idstringartist.statsGet artist statistics including monthly listeners and top tracks. Returns monthly listeners, follower count, world rank, top 5 listener cities, top 10 tracks with stream counts, biography, external links, albums, singles, and verified status.1 paramsGet artist statistics including monthly listeners and top tracks. Returns monthly listeners, follower count, world rank, top 5 listener cities, top 10 tracks with stream counts, biography, external links, albums, singles, and verified status.
artist_idstringsearchSearch Spotify for artists, albums, tracks, and playlists. Returns matching results across all types. Track results include current stream counts.1 paramsSearch Spotify for artists, albums, tracks, and playlists. Returns matching results across all types. Track results include current stream counts.
qstringartist.getGet metadata for one or more artists in a single request. Returns artist names, images, genres, and follower counts.1 paramsGet metadata for one or more artists in a single request. Returns artist names, images, genres, and follower counts.
idsstringartist.overviewGet overview data for an artist. Returns detailed artist profile including biography, images, top tracks, discography summary, and related artists.1 paramsGet overview data for an artist. Returns detailed artist profile including biography, images, top tracks, discography summary, and related artists.
artist_idstringartist.albumsGet all albums in an artist's discography, paginated. Returns album names, IDs, types, release dates, and cover art.3 paramsGet all albums in an artist's discography, paginated. Returns album names, IDs, types, release dates, and cover art.
limitintegeroffsetintegerartist_idstringartist.singlesGet all singles in an artist's discography, paginated. Returns single names, IDs, release dates, and cover art.3 paramsGet all singles in an artist's discography, paginated. Returns single names, IDs, release dates, and cover art.
limitintegeroffsetintegerartist_idstringartist.relatedGet artists similar to the given artist. Returns a list of related artists with their names, IDs, images, and follower counts.1 paramsGet artists similar to the given artist. Returns a list of related artists with their names, IDs, images, and follower counts.
artist_idstringalbum.getGet metadata for one or more albums in a single request. Returns album names, artists, release dates, track listings, and cover art.1 paramsGet metadata for one or more albums in a single request. Returns album names, artists, release dates, track listings, and cover art.
idsstringtrack.getGet metadata for one or more tracks in a single request. Returns track names, artists, albums, durations, and preview URLs.1 paramsGet metadata for one or more tracks in a single request. Returns track names, artists, albums, durations, and preview URLs.
idsstringtrack.previewGet preview audio URL for a Spotify track. Returns a short preview URL that can be used to listen to a snippet of the track.1 paramsGet preview audio URL for a Spotify track. Returns a short preview URL that can be used to listen to a snippet of the track.
track_idstringplaylist.getGet metadata for a Spotify playlist. Returns playlist name, description, owner, follower count, and cover image.1 paramsGet metadata for a Spotify playlist. Returns playlist name, description, owner, follower count, and cover image.
playlist_idstringplaylist.tracksGet tracks in a Spotify playlist, paginated. Returns track names, artists, albums, durations, and add dates.3 paramsGet tracks in a Spotify playlist, paginated. Returns track names, artists, albums, durations, and add dates.
limitintegeroffsetintegerplaylist_idstringplaylist.permissionsGet permissions for a Spotify playlist. Returns whether the playlist is collaborative, public, and who can modify it.1 paramsGet permissions for a Spotify playlist. Returns whether the playlist is collaborative, public, and who can modify it.
playlist_idstringSpotify MCP — Web API via client_credentials OAuth
Part of Pipeworx — an MCP gateway connecting AI agents to 673+ live data sources.
| Tool | Description |
|---|---|
get_track | Single track by Spotify ID. Returns artists, album, popularity, preview URL, duration. |
get_artist | Artist record: name, genres, popularity, followers, images. |
get_album | Album record with tracklist. |
get_artist_top_tracks | Top tracks for an artist in a market (Spotify recommendation). |
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"spotify": {
"url": "https://gateway.pipeworx.io/spotify/mcp"
}
}
}
Or connect to the full Pipeworx gateway for access to all 673+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Spotify data" })
The gateway picks the right tool and fills the arguments automatically.
MIT
io.github.socialapishub/social-media-api
io.github.xpaysh/social-media
com.thenextgennexus/youtube-media-mcp-server
io.github.ludmila-omlopes/youtube-video-analyzer
csoai-org/social-media-ai-mcp
com.ezbizservices/social-media