1. Conduid
  2. Developer Tools
  3. Lastfm MCP
MCP server · Developer Tools

Lastfm MCP

Ask Claude, ChatGPT, and other AI assistants about your Last.fm listening history. A remote MCP server with OAuth sign-in and read-only access, running on Cloudflare Workers.

Unclaimed MIT devtools
59Fair

Scored 20 hours ago · breakdown

About Lastfm MCP

Lastfm MCP is an MCP server published by rianvdm in the Developer Tools category: ask Claude, ChatGPT, and other AI assistants about your Last.fm listening history. A remote MCP server with OAuth sign-in and read-only access, running on Cloudflare Workers. Conduid read 21 tools from its source: get_album_info, get_artist_info, get_artist_top_albums, get_artist_top_tracks, get_listening_stats, get_loved_tracks and 15 more. No package is published for it, so it installs from a source checkout.

The repository has 55 stars and 10 forks, is licensed MIT, and its last commit was on 20 Nov 2026. The latest release is v2.6.0 (5 Oct 2026): MCP clients can now sign in by pointing at a web address that describes them, with no registration step first. It follows v2.5.0 (25 Aug 2026), and the 5 most recent releases go back to v2.3.0 (15 Mar 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools.

Install

From source
git clone https://github.com/rianvdm/lastfm-mcp

Tools (21)

get_album_infoAlbum details and track listing
ParameterTypeDescription
album *stringAlbum name
artist *stringArtist name
usernamestringLast.fm username for personal play counts (optional; defaults to the signed-in user)
get_artist_infoArtist information and bio
ParameterTypeDescription
artist *stringArtist name
usernamestringLast.fm username for personal play counts (optional; defaults to the signed-in user)
get_artist_top_albumsAn artist's globally most-played albums
ParameterTypeDescription
artist *stringArtist name
limitnumberNumber of albums to return (1-50)
mbidstringMusicBrainz ID of the artist (optional, more reliable than name)
get_artist_top_tracksAn artist's globally most-played tracks
ParameterTypeDescription
artist *stringArtist name
limitnumberNumber of tracks to return (1-50)
mbidstringMusicBrainz ID of the artist (optional, more reliable than name)
get_listening_statsListening statistics
ParameterTypeDescription
periodstringTime period for statistics
usernamestringLast.fm username (defaults to authenticated user)
get_loved_tracksLoved/favorited tracks
ParameterTypeDescription
limitnumberNumber of tracks to return (1-1000)
usernamestringLast.fm username (defaults to authenticated user)
get_music_recommendationsNew-to-you artists, with the reason for each pick and starter tracks
ParameterTypeDescription
excludearrayArtist names to leave out, such as earlier picks (up to ${MAX_EXCLUDE}, case-insensitive)
genrestringOptional Last.fm genre tag to keep picks in, e.g. "shoegaze"
limitnumberNumber of artists to recommend (1-15)
usernamestringLast.fm username (defaults to authenticated user)
get_recent_tracksRecent listening history (paginated)
get_similar_artistsArtists similar to a given artist
ParameterTypeDescription
artist *stringArtist name
limitnumberNumber of similar artists to return (1-100)
get_similar_tracksTracks similar to a given track
ParameterTypeDescription
artist *stringArtist name
limitnumberNumber of similar tracks to return (1-100)
track *stringTrack name
get_top_albumsTop albums by time period
ParameterTypeDescription
limitnumberNumber of albums to return (1-1000)
periodstringTime period for top albums
usernamestringLast.fm username (defaults to authenticated user)
get_top_artistsTop artists by time period
ParameterTypeDescription
limitnumberNumber of artists to return (1-1000)
periodstringTime period for top artists
usernamestringLast.fm username (defaults to authenticated user)
get_top_tracksTop tracks by time period
ParameterTypeDescription
limitnumberNumber of tracks to return (1-1000)
periodstringTime period for top tracks
usernamestringLast.fm username (defaults to authenticated user)
get_track_infoDetailed information about a track
ParameterTypeDescription
artist *stringArtist name
track *stringTrack name
usernamestringLast.fm username for personal play counts (optional; defaults to the signed-in user)
get_user_infoLast.fm profile information
ParameterTypeDescription
usernamestringLast.fm username (defaults to authenticated user)
get_weekly_artist_chartArtist charts for a specific time period
ParameterTypeDescription
fromnumberStart of the range (Unix timestamp). Any range works (a week, a month, a year); get_weekly_chart_list is one source of week boundaries.
tonumberEnd of the range (Unix timestamp). Any range works (a week, a month, a year); get_weekly_chart_list is one source of week boundaries.
usernamestringLast.fm username (defaults to authenticated user)
get_weekly_chart_listAvailable historical time periods
ParameterTypeDescription
usernamestringLast.fm username (defaults to authenticated user)
get_weekly_track_chartTrack charts for a specific time period
ParameterTypeDescription
fromnumberStart of the range (Unix timestamp). Any range works (a week, a month, a year); get_weekly_chart_list is one source of week boundaries.
tonumberEnd of the range (Unix timestamp). Any range works (a week, a month, a year); get_weekly_chart_list is one source of week boundaries.
usernamestringLast.fm username (defaults to authenticated user)
lastfm_auth_statusCheck authentication status
pingTest connectivity
ParameterTypeDescription
messagestringOptional message to echo back
server_infoServer status and capabilities

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 867 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 62 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
Streamable HTTPsrc/index-oauth.ts:60
Starts other programs
No calls that start other programs
Outbound network calls
6 callssrc/auth/oauth-handler.ts:52, src/index-oauth.ts:41, src/index-oauth.ts:130
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 62 files: places to read, not proof of what the code does at run time.

Releases

v2.6.0lastfm-mcp v2.6.0 — Sign-in without client registration · 5 Oct 2026MCP clients can now sign in by pointing at a web address that describes them, with no registration step first. This is the method the current MCP spec prefers, and existing connections keep working as before. All five changes behind it…
v2.5.0lastfm-mcp v2.5.0 — Latest MCP protocol support · 25 Aug 2026The server now speaks the current MCP revision (2026-07-28, the stateless one) natively, while older clients keep working through the SDK's compatibility lane. Tool responses also got smarter about what to call next, and two long-standing…
v2.4.0lastfm-mcp v2.4.0 — Top tracks and 8K fewer lines · 30 Apr 2026The big shifts in this release: three new tools, a glassmorphism-redesigned landing page, timezone-aware day boundaries on `get_recent_tracks`, and a 8,300-line cull of the original session-based worker now that the OAuth path has been the…
v2.3.1v2.3.1 — Timezone-aware date formatting · 17 Mar 2026What's new Track play times in `get_recent_tracks` now display in the correct timezone instead of silently using UTC. Previously, a track played at 11pm Pacific would show as the next day — causing Claude to say "yesterday" when it was…
v2.3.0v2.3.0 - Automatic OAuth Browser Flow · 15 Mar 2026What's New This release fixes the authentication experience for all MCP clients. Previously, connecting any client (Claude Code, Claude Desktop, opencode) to the server required manually copying and pasting a login URL. Now the browser…

README

The repository's README runs to about 867 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Lastfm MCP

How do I install Lastfm MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Lastfm MCP safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 62 source files found that it serves MCP over Streamable HTTP and makes outbound network calls (6 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Lastfm MCP still maintained?

Yes — the latest release is v2.6.0 (5 Oct 2026), and the last commit was 12 days ago. The repository has 55 stars and 14 open issues.

What tools does Lastfm MCP provide?

Conduid read 21 tools from the source: get_album_info, get_artist_info, get_artist_top_albums, get_artist_top_tracks, get_listening_stats, get_loved_tracks, get_music_recommendations, get_recent_tracks and 13 more. 18 of them publish their parameters, listed under Tools above.

What license is Lastfm MCP released under?

The repository declares the MIT license. That applies to the latest release, v2.6.0, as well.