
Connects to Last.fm's music metadata API to pull artist, album, and track information into your Claude workflow. You'll need a free Last.fm API key to use it. Hosted through Pipeworx's gateway infrastructure, which offers an ask_pipeworx tool that lets you query in plain English instead of calling specific endpoints. The gateway approach means you can either use this standalone or tap into Pipeworx's full collection of 673+ data sources. Useful when you're building music recommendation features, analyzing listening patterns, or need structured music metadata without scraping.
Last.fm MCP — artist / album / track metadata + scrobbling. Free API key (signed up at https://www.last.fm/api/account/create).
Part of Pipeworx — an MCP gateway connecting AI agents to 1476+ live data sources.
PLATFORM_LASTFM_KEY.?_apiKey=….artist_info(artist, mbid?, lang?) — artist bio + similar + tagsartist_top_tracks(artist, mbid?, limit?) — most-played tracks for an artistartist_similar(artist, mbid?, limit?) — similar artistsalbum_info(artist, album, mbid?) — album metadatatrack_info(artist, track, mbid?) — track metadatatrack_search(query, limit?) — track searchuser_top_tracks(user, period?, limit?) — user top tracks (period: overall|7day|1month|3month|6month|12month)tag_top_artists(tag, limit?) — top artists in a tagchart_top_artists(limit?) — global top artistshttps://ws.audioscrobbler.com/2.0/
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"last-fm": {
"url": "https://gateway.pipeworx.io/last-fm/mcp"
}
}
}
tools/list at https://gateway.pipeworx.io/last-fm/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Both URLs reach the same gateway and the same 1476+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Last Fm data" })
The gateway picks the right tool and fills the arguments automatically.
MIT