Spotify
liveMusicMediaEntertainmentSpotify Web API catalog access — search, tracks, artists, albums, audio features. Read-only via client_credentials.
Platform credentials handled by Pipeworx. BYO format: ?_apiKey=<client_id>:<client_secret>.
{
"mcpServers": {
"pipeworx-spotify": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gateway.pipeworx.io/spotify/mcp?_apiKey=your_client_id:your_client_secret"
]
}
}
}Tools
searchrequired: querySearch Spotify catalog. type = comma-separated of track,album,artist,playlist,show,episode,audiobook.
queryreqstringSearch querytypeoptstringComma-separated types (default "track")marketoptstringISO 3166-1 alpha-2 market codelimitoptnumber1-50 (default 20)offsetoptnumber0-1000 (default 0)Try it
get_trackrequired: track_idSingle track by Spotify ID.
track_idreqstringSpotify track ID (base62)marketoptstringMarket for availabilityTry it
get_artistrequired: artist_idArtist: name, genres, popularity, followers, images.
artist_idreqstringSpotify artist IDTry it
get_albumrequired: album_idAlbum record with tracklist.
album_idreqstringSpotify album IDmarketoptstringMarket for availabilityTry it
get_artist_top_tracksrequired: artist_idTop tracks for an artist in a market.
artist_idreqstringSpotify artist IDmarketoptstringISO market code (default "US")Try it
get_audio_featuresrequired: track_idTempo, key, mode, energy, danceability, valence, etc. for a track.
track_idreqstringSpotify track IDTry it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/spotify/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/spotify/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search","arguments":{"query": "hello"}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search", {"query":"example"});// Or ask in plain English:
const answer = await px.ask("spotify web api catalog access — search, tracks, artists, albums, audio features");Related packs
Other Pipeworx packs in the same categories (Music, Media, Entertainment):