Last.fm

v0.2.0
io.github.ndyakov/lastfm-mcp Checked 8 hours ago Published 1 month ago

Last.fm MCP server: scrobbles, charts, artist/album/track info and more

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lastfm_album_get_info

Get album metadata, wiki, tags, and listener statistics.

ParameterTypeDescription
albumstringalbum name; required with artist when mbid is absent
artiststringartist name; required with album when mbid is absent
autocorrectbooleanallow Last.fm to correct names
mbidstringMusicBrainz release ID
usernamestringLast.fm username for personalized data

lastfm_album_get_tags

Get a user's tags for an album.

ParameterTypeDescription
user *stringLast.fm username
albumstringalbum name; required with artist when mbid is absent
artiststringartist name; required with album when mbid is absent
autocorrectbooleanallow Last.fm to correct names
mbidstringMusicBrainz release ID

lastfm_album_get_top_tags

Get the most popular tags for an album.

ParameterTypeDescription
albumstringalbum name; required with artist when mbid is absent
artiststringartist name; required with album when mbid is absent
autocorrectbooleanallow Last.fm to correct names
mbidstringMusicBrainz release ID

lastfm_artist_get_correction

Get Last.fm's canonical correction for an artist name.

ParameterTypeDescription
artiststringartist name; provide this or mbid
autocorrectbooleanallow Last.fm to correct the artist name
mbidstringMusicBrainz artist ID; provide this or artist

lastfm_artist_get_info

Get artist metadata, biography, tags, and statistics.

ParameterTypeDescription
artiststringartist name; provide this or mbid
autocorrectbooleanallow Last.fm to correct the artist name
languagestringISO 639 language code for biography text
mbidstringMusicBrainz artist ID; provide this or artist
usernamestringLast.fm username for personalized data

lastfm_artist_get_similar

Get artists similar to an artist.

ParameterTypeDescription
artiststringartist name; provide this or mbid
autocorrectbooleanallow Last.fm to correct the artist name
limitintegermaximum number of results
mbidstringMusicBrainz artist ID; provide this or artist

lastfm_artist_get_tags

Get a user's tags for an artist.

ParameterTypeDescription
user *stringLast.fm username
artiststringartist name; provide this or mbid
autocorrectbooleanallow Last.fm to correct the artist name
mbidstringMusicBrainz artist ID; provide this or artist

lastfm_artist_get_top_albums

Get an artist's most popular albums.

ParameterTypeDescription
artiststringartist name; provide this or mbid
autocorrectbooleanallow Last.fm to correct the artist name
limitintegermaximum number of results
mbidstringMusicBrainz artist ID; provide this or artist
pageintegerpage number starting at 1

lastfm_artist_get_top_tags

Get the most popular tags for an artist.

ParameterTypeDescription
artiststringartist name; provide this or mbid
autocorrectbooleanallow Last.fm to correct the artist name
mbidstringMusicBrainz artist ID; provide this or artist

lastfm_artist_get_top_tracks

Get an artist's most popular tracks.

ParameterTypeDescription
artiststringartist name; provide this or mbid
autocorrectbooleanallow Last.fm to correct the artist name
limitintegermaximum number of results
mbidstringMusicBrainz artist ID; provide this or artist
pageintegerpage number starting at 1

lastfm_chart_get_top_artists

Get the global top artists chart.

ParameterTypeDescription
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_chart_get_top_tags

Get the global top tags chart.

ParameterTypeDescription
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_chart_get_top_tracks

Get the global top tracks chart.

ParameterTypeDescription
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_geo_get_top_artists

Get the most popular artists in a country.

ParameterTypeDescription
country *stringcountry name as defined by ISO 3166-1
limitintegermaximum number of results
locationstringoptional location within the country
pageintegerpage number starting at 1

lastfm_geo_get_top_tracks

Get the most popular tracks in a country or location.

ParameterTypeDescription
country *stringcountry name as defined by ISO 3166-1
limitintegermaximum number of results
locationstringoptional location within the country
pageintegerpage number starting at 1

lastfm_library_get_artists

Get all artists in a user's Last.fm library.

ParameterTypeDescription
user *stringLast.fm username
include_recent_tracksbooleaninclude recent tracks for friends
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_tag_get_info

Get tag metadata and wiki text.

ParameterTypeDescription
tag *stringLast.fm tag
languagestringISO 639 language code

lastfm_tag_get_similar

Get tags similar to a tag.

ParameterTypeDescription
tag *stringLast.fm tag

lastfm_tag_get_top_albums

Get the top albums for a tag.

ParameterTypeDescription
tag *stringLast.fm tag
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_tag_get_top_artists

Get the top artists for a tag.

ParameterTypeDescription
tag *stringLast.fm tag
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_tag_get_top_tags

Get the globally most popular tags.

lastfm_tag_get_top_tracks

Get the top tracks for a tag.

ParameterTypeDescription
tag *stringLast.fm tag
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_tag_get_weekly_chart_list

Get available weekly chart date ranges for a tag.

ParameterTypeDescription
tag *stringLast.fm tag

lastfm_track_get_correction

Get Last.fm's canonical correction for an artist and track name.

ParameterTypeDescription
artiststringartist name; required with track when mbid is absent
autocorrectbooleanallow Last.fm to correct names
mbidstringMusicBrainz recording ID
trackstringtrack name; required with artist when mbid is absent

lastfm_track_get_info

Get track metadata, wiki, tags, and statistics.

ParameterTypeDescription
artiststringartist name; required with track when mbid is absent
autocorrectbooleanallow Last.fm to correct names
mbidstringMusicBrainz recording ID
trackstringtrack name; required with artist when mbid is absent
usernamestringLast.fm username for personalized data

lastfm_track_get_similar

Get tracks similar to a track.

ParameterTypeDescription
artiststringartist name; required with track when mbid is absent
autocorrectbooleanallow Last.fm to correct names
limitintegermaximum number of results
mbidstringMusicBrainz recording ID
trackstringtrack name; required with artist when mbid is absent

lastfm_track_get_tags

Get a user's tags for a track.

ParameterTypeDescription
user *stringLast.fm username
artiststringartist name; required with track when mbid is absent
autocorrectbooleanallow Last.fm to correct names
mbidstringMusicBrainz recording ID
trackstringtrack name; required with artist when mbid is absent

lastfm_track_get_top_tags

Get the most popular tags for a track.

ParameterTypeDescription
artiststringartist name; required with track when mbid is absent
autocorrectbooleanallow Last.fm to correct names
mbidstringMusicBrainz recording ID
trackstringtrack name; required with artist when mbid is absent

lastfm_user_get_friends

Get a user's Last.fm friends.

ParameterTypeDescription
user *stringLast.fm username
include_recent_tracksbooleaninclude recent tracks for friends
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_user_get_info

Get a Last.fm user's profile and statistics.

ParameterTypeDescription
user *stringLast.fm username

lastfm_user_get_loved_tracks

Get tracks loved by a user.

ParameterTypeDescription
user *stringLast.fm username
include_recent_tracksbooleaninclude recent tracks for friends
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_user_get_personal_tags

Get items to which a user applied a tag.

ParameterTypeDescription
tag *stringtag to filter by
tagging_type *stringartists, albums, or tracks
user *stringLast.fm username
limitintegermaximum number of results
pageintegerpage number starting at 1

lastfm_user_get_recent_tracks

Get a user's recent listening history.

ParameterTypeDescription
user *stringLast.fm username
extendedbooleaninclude extended artist data
fromintegerstart Unix timestamp, inclusive
limitintegermaximum number of results
pageintegerpage number starting at 1
tointegerend Unix timestamp, inclusive

lastfm_user_get_top_albums

Get a user's top albums for a period.

ParameterTypeDescription
user *stringLast.fm username
limitintegermaximum number of results
pageintegerpage number starting at 1
periodstringoverall, 7day, 1month, 3month, 6month, or 12month

lastfm_user_get_top_artists

Get a user's top artists for a period.

ParameterTypeDescription
user *stringLast.fm username
limitintegermaximum number of results
pageintegerpage number starting at 1
periodstringoverall, 7day, 1month, 3month, 6month, or 12month

lastfm_user_get_top_tags

Get a user's most frequently used tags.

ParameterTypeDescription
user *stringLast.fm username
limitintegermaximum number of tags

lastfm_user_get_top_tracks

Get a user's top tracks for a period.

ParameterTypeDescription
user *stringLast.fm username
limitintegermaximum number of results
pageintegerpage number starting at 1
periodstringoverall, 7day, 1month, 3month, 6month, or 12month

lastfm_user_get_weekly_album_chart

Get a user's album chart for a weekly range.

ParameterTypeDescription
user *stringLast.fm username
fromintegerchart start Unix timestamp
tointegerchart end Unix timestamp

lastfm_user_get_weekly_artist_chart

Get a user's artist chart for a weekly range.

ParameterTypeDescription
user *stringLast.fm username
fromintegerchart start Unix timestamp
tointegerchart end Unix timestamp

lastfm_user_get_weekly_chart_list

Get available weekly chart date ranges for a user.

ParameterTypeDescription
user *stringLast.fm username

lastfm_user_get_weekly_track_chart

Get a user's track chart for a weekly range.

ParameterTypeDescription
user *stringLast.fm username
fromintegerchart start Unix timestamp
tointegerchart end Unix timestamp