Last.fm
v0.2.0Last.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.
| Parameter | Type | Description |
|---|---|---|
album | string | album name; required with artist when mbid is absent |
artist | string | artist name; required with album when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
mbid | string | MusicBrainz release ID |
username | string | Last.fm username for personalized data |
lastfm_album_get_tags
Get a user's tags for an album.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
album | string | album name; required with artist when mbid is absent |
artist | string | artist name; required with album when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
mbid | string | MusicBrainz release ID |
lastfm_album_get_top_tags
Get the most popular tags for an album.
| Parameter | Type | Description |
|---|---|---|
album | string | album name; required with artist when mbid is absent |
artist | string | artist name; required with album when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
mbid | string | MusicBrainz release ID |
lastfm_album_search
Search Last.fm albums by name.
| Parameter | Type | Description |
|---|---|---|
query * | string | search query |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_artist_get_correction
Get Last.fm's canonical correction for an artist name.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; provide this or mbid |
autocorrect | boolean | allow Last.fm to correct the artist name |
mbid | string | MusicBrainz artist ID; provide this or artist |
lastfm_artist_get_info
Get artist metadata, biography, tags, and statistics.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; provide this or mbid |
autocorrect | boolean | allow Last.fm to correct the artist name |
language | string | ISO 639 language code for biography text |
mbid | string | MusicBrainz artist ID; provide this or artist |
username | string | Last.fm username for personalized data |
lastfm_artist_get_similar
Get artists similar to an artist.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; provide this or mbid |
autocorrect | boolean | allow Last.fm to correct the artist name |
limit | integer | maximum number of results |
mbid | string | MusicBrainz artist ID; provide this or artist |
lastfm_artist_get_tags
Get a user's tags for an artist.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
artist | string | artist name; provide this or mbid |
autocorrect | boolean | allow Last.fm to correct the artist name |
mbid | string | MusicBrainz artist ID; provide this or artist |
lastfm_artist_get_top_albums
Get an artist's most popular albums.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; provide this or mbid |
autocorrect | boolean | allow Last.fm to correct the artist name |
limit | integer | maximum number of results |
mbid | string | MusicBrainz artist ID; provide this or artist |
page | integer | page number starting at 1 |
lastfm_artist_get_top_tags
Get the most popular tags for an artist.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; provide this or mbid |
autocorrect | boolean | allow Last.fm to correct the artist name |
mbid | string | MusicBrainz artist ID; provide this or artist |
lastfm_artist_get_top_tracks
Get an artist's most popular tracks.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; provide this or mbid |
autocorrect | boolean | allow Last.fm to correct the artist name |
limit | integer | maximum number of results |
mbid | string | MusicBrainz artist ID; provide this or artist |
page | integer | page number starting at 1 |
lastfm_artist_search
Search Last.fm artists by name.
| Parameter | Type | Description |
|---|---|---|
query * | string | search query |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_chart_get_top_artists
Get the global top artists chart.
| Parameter | Type | Description |
|---|---|---|
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_chart_get_top_tags
Get the global top tags chart.
| Parameter | Type | Description |
|---|---|---|
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_chart_get_top_tracks
Get the global top tracks chart.
| Parameter | Type | Description |
|---|---|---|
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_geo_get_top_artists
Get the most popular artists in a country.
| Parameter | Type | Description |
|---|---|---|
country * | string | country name as defined by ISO 3166-1 |
limit | integer | maximum number of results |
location | string | optional location within the country |
page | integer | page number starting at 1 |
lastfm_geo_get_top_tracks
Get the most popular tracks in a country or location.
| Parameter | Type | Description |
|---|---|---|
country * | string | country name as defined by ISO 3166-1 |
limit | integer | maximum number of results |
location | string | optional location within the country |
page | integer | page number starting at 1 |
lastfm_library_get_artists
Get all artists in a user's Last.fm library.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
include_recent_tracks | boolean | include recent tracks for friends |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_tag_get_info
Get tag metadata and wiki text.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Last.fm tag |
language | string | ISO 639 language code |
lastfm_tag_get_similar
Get tags similar to a tag.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Last.fm tag |
lastfm_tag_get_top_albums
Get the top albums for a tag.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Last.fm tag |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_tag_get_top_artists
Get the top artists for a tag.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Last.fm tag |
limit | integer | maximum number of results |
page | integer | page 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.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Last.fm tag |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_tag_get_weekly_chart_list
Get available weekly chart date ranges for a tag.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Last.fm tag |
lastfm_track_get_correction
Get Last.fm's canonical correction for an artist and track name.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; required with track when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
mbid | string | MusicBrainz recording ID |
track | string | track name; required with artist when mbid is absent |
lastfm_track_get_info
Get track metadata, wiki, tags, and statistics.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; required with track when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
mbid | string | MusicBrainz recording ID |
track | string | track name; required with artist when mbid is absent |
username | string | Last.fm username for personalized data |
lastfm_track_get_similar
Get tracks similar to a track.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; required with track when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
limit | integer | maximum number of results |
mbid | string | MusicBrainz recording ID |
track | string | track name; required with artist when mbid is absent |
lastfm_track_get_tags
Get a user's tags for a track.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
artist | string | artist name; required with track when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
mbid | string | MusicBrainz recording ID |
track | string | track name; required with artist when mbid is absent |
lastfm_track_get_top_tags
Get the most popular tags for a track.
| Parameter | Type | Description |
|---|---|---|
artist | string | artist name; required with track when mbid is absent |
autocorrect | boolean | allow Last.fm to correct names |
mbid | string | MusicBrainz recording ID |
track | string | track name; required with artist when mbid is absent |
lastfm_track_search
Search Last.fm tracks by name and optional artist.
| Parameter | Type | Description |
|---|---|---|
track * | string | track name to search for |
artist | string | optional artist filter |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_user_get_friends
Get a user's Last.fm friends.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
include_recent_tracks | boolean | include recent tracks for friends |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_user_get_info
Get a Last.fm user's profile and statistics.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
lastfm_user_get_loved_tracks
Get tracks loved by a user.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
include_recent_tracks | boolean | include recent tracks for friends |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_user_get_personal_tags
Get items to which a user applied a tag.
| Parameter | Type | Description |
|---|---|---|
tag * | string | tag to filter by |
tagging_type * | string | artists, albums, or tracks |
user * | string | Last.fm username |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
lastfm_user_get_recent_tracks
Get a user's recent listening history.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
extended | boolean | include extended artist data |
from | integer | start Unix timestamp, inclusive |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
to | integer | end Unix timestamp, inclusive |
lastfm_user_get_top_albums
Get a user's top albums for a period.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
period | string | overall, 7day, 1month, 3month, 6month, or 12month |
lastfm_user_get_top_artists
Get a user's top artists for a period.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
period | string | overall, 7day, 1month, 3month, 6month, or 12month |
lastfm_user_get_top_tags
Get a user's most frequently used tags.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
limit | integer | maximum number of tags |
lastfm_user_get_top_tracks
Get a user's top tracks for a period.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
limit | integer | maximum number of results |
page | integer | page number starting at 1 |
period | string | overall, 7day, 1month, 3month, 6month, or 12month |
lastfm_user_get_weekly_album_chart
Get a user's album chart for a weekly range.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
from | integer | chart start Unix timestamp |
to | integer | chart end Unix timestamp |
lastfm_user_get_weekly_artist_chart
Get a user's artist chart for a weekly range.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
from | integer | chart start Unix timestamp |
to | integer | chart end Unix timestamp |
lastfm_user_get_weekly_chart_list
Get available weekly chart date ranges for a user.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
lastfm_user_get_weekly_track_chart
Get a user's track chart for a weekly range.
| Parameter | Type | Description |
|---|---|---|
user * | string | Last.fm username |
from | integer | chart start Unix timestamp |
to | integer | chart end Unix timestamp |