
Last.fm MCP
Unofficial, read-only access to your Last.fm listening history, charts, and music lookups.
- GitHub stars
- 53
- tools
- 21
- transport
- HTTP
- last updated
- Nov 14, 2026
Tools
21 toolsPublic tool metadata for what this MCP can expose to an agent.
get_track_infoDetailed information about a track
Detailed information about a track
No parameter schema in public metadata yet.
get_artist_infoArtist information and bio
Artist information and bio
No parameter schema in public metadata yet.
get_album_infoAlbum details and track listing
Album details and track listing
No parameter schema in public metadata yet.
get_artist_top_tracksAn artist's globally most-played tracks
An artist's globally most-played tracks
No parameter schema in public metadata yet.
get_artist_top_albumsAn artist's globally most-played albums
An artist's globally most-played albums
No parameter schema in public metadata yet.
get_similar_artistsArtists similar to a given artist
Artists similar to a given artist
No parameter schema in public metadata yet.
get_similar_tracksTracks similar to a given track
Tracks similar to a given track
No parameter schema in public metadata yet.
pingTest connectivity
Test connectivity
No parameter schema in public metadata yet.
server_infoServer status and capabilities
Server status and capabilities
No parameter schema in public metadata yet.
lastfm_auth_statusCheck authentication status
Check authentication status
No parameter schema in public metadata yet.
get_recent_tracksRecent listening history (paginated)
Recent listening history (paginated)
No parameter schema in public metadata yet.
get_top_artistsTop artists by time period
Top artists by time period
No parameter schema in public metadata yet.
get_top_albumsTop albums by time period
Top albums by time period
No parameter schema in public metadata yet.
get_top_tracksTop tracks by time period
Top tracks by time period
No parameter schema in public metadata yet.
get_loved_tracksLoved/favorited tracks
Loved/favorited tracks
No parameter schema in public metadata yet.
get_user_infoLast.fm profile information
Last.fm profile information
No parameter schema in public metadata yet.
get_listening_statsListening statistics
Listening statistics
No parameter schema in public metadata yet.
get_music_recommendationsNew-to-you artists, with the reason for each pick and starter tracks
New-to-you artists, with the reason for each pick and starter tracks
No parameter schema in public metadata yet.
get_weekly_chart_listAvailable historical time periods
Available historical time periods
No parameter schema in public metadata yet.
get_weekly_artist_chartArtist charts for a specific time period
Artist charts for a specific time period
No parameter schema in public metadata yet.
get_weekly_track_chartTrack charts for a specific time period
Track charts for a specific time period
No parameter schema in public metadata yet.
Sponsors
Readme
Last.fm MCP Server
A Model Context Protocol (MCP) server for Last.fm. Gives AI assistants access to your listening history, music discovery, and detailed track/artist/album information.
Runs on Cloudflare Workers. Your MCP client signs you in with OAuth the first time it connects, and after that every tool is available, from track and artist lookups to your own listening history.
Quick start
lastfm-mcp.com has setup steps for each app, including ChatGPT, Codex, Cursor, Devin Desktop (formerly Windsurf) and OpenCode. If an AI agent is setting it up for you, point it at lastfm-mcp.com/llms.txt.
Claude.ai / Claude Desktop
- Go to Customize -> Connectors
- Click Add, then Add custom connector. Name it Last.fm, enter
https://lastfm-mcp.com/mcpand click Continue - Leave the sign-in settings as they are, click Add, then Connect, and sign in to Last.fm
Claude Code
claude mcp add --scope user --transport http lastfm "https://lastfm-mcp.com/mcp"
Details
- Repository
- github.com/rianvdm/lastfm-mcp
- Website
- lastfm-mcp.com
- Category
- Media & Entertainment
- Transport
- HTTP
- Registry
- MCP registry, active