
Last Fm
Last.fm music metadata and charts as MCP tools for AI assistants
- Pricing
- Freemium
- Platforms
- API, CLI, self-hosted
- Runs
- Locally or Remotely
- Version
- 0.2.1
- Listing updated
- today
Similar MCP servers
About Last Fm
Last Fm is a freemium MCP server for sports data. It can run locally on your machine or as a hosted remote server.
The README describes a gateway pack that exposes Last.fm's artist, album and track data to AI clients through nine tools. Lookups cover biographies, similar artists, top tracks, album and track details, keyword track search, genre-tag rankings, a named user's most-scrobbled tracks, and global top artists.
The server is hosted on the Pipeworx gateway at a streamable-HTTP endpoint, and an npm stdio bridge is also available for local clients. Calls are anonymous by default, and the registry notes an optional Pipeworx API key raises the daily cap. The README says the integration is unofficial and not affiliated with Last.fm.
It suits developers and assistant users who want music lookups, recommendations or chart data inside an MCP-compatible client. The endpoint also lists shared gateway meta-tools alongside the pack's own tools unless the npm bridge is set to pack-only.
Install
Run in a terminal
claude mcp add --transport http last-fm https://gateway.pipeworx.io/last-fm/mcpAdd to Settings → Connectors → Add custom connector
https://gateway.pipeworx.io/last-fm/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"last-fm": {
"url": "https://gateway.pipeworx.io/last-fm/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"last-fm": {
"type": "http",
"url": "https://gateway.pipeworx.io/last-fm/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"last-fm": {
"serverUrl": "https://gateway.pipeworx.io/last-fm/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"last-fm": {
"type": "http",
"url": "https://gateway.pipeworx.io/last-fm/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
PIPEWORX_API_KEYOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.
Tools this server provides (9)
Taken from the project documentation; the running server may differ.
- artist_info
- Artist bio, similar artists and tags.
- artist_top_tracks
- Most-played tracks for an artist.
- artist_similar
- Similar artists.
- album_info
- Album metadata.
- track_info
- Track metadata.
- track_search
- Track search by keyword.
- user_top_tracks
- A named user's top tracks for a period.
- tag_top_artists
- Top artists for a genre tag.
- chart_top_artists
- Global top artists.
What it does
- Artist profile lookup
- Returns an artist's biography, listener and play counts, similar artists and genre tags, optionally in a chosen language.
- Album and track metadata
- Fetches track listings, durations, listener counts and wiki summaries by artist and title or MusicBrainz ID.
- Track search
- Searches tracks by keyword and returns ranked results with artist names and listener counts.
- Genre and chart rankings
- Lists top artists for a genre tag or the current global top artists by listener count.
- User listening history
- Retrieves a named Last.fm user's most-scrobbled tracks over a selected time period.
- Optional API key
- Anonymous calls are daily-capped; a free Pipeworx key raises the limit.
Good for
- Adding artist bios and similar-artist suggestions to a music assistant
- Checking genre leaderboards or current global top artists for playlist ideas
- Looking up album track listings and durations for a catalogue or app
- Pulling a named Last.fm user's top tracks over a chosen period
Pricing
Freemium, from $49 a month
Free anonymous and free account tiers; paid credits and subscriptions for higher volume.
Prices change. Check pipeworx.io before you buy.
Last Fm FAQ
Is this an official Last.fm integration?
No. The README says it is an independent, unofficial integration that is not affiliated with, endorsed by or published by Last.fm.
Does it need an account?
Calls work anonymously with a daily cap of 50. The README says a free Pipeworx account raises that to 200 calls a day.
Which tools does the endpoint list?
The pack defines nine Last.fm tools. The README notes the hosted endpoint also lists roughly 30 shared Pipeworx meta-tools, while the npm bridge lists only pack tools by default.
Is Last Fm free?
Last Fm has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.
How do I add Last Fm to Claude Code?
Run this command in your terminal: claude mcp add --transport http last-fm https://gateway.pipeworx.io/last-fm/mcp
What are the best alternatives to Last Fm?
The closest alternatives to Last Fm are Setlist Fm, Seatgeek, Sports Feeds and Riot Games.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.