lastfm-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LASTFM_API_KEY | Yes | Your Last.fm API key |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lastfm_get_album_infoB | Get detailed information about an album. Returns tracklist, tags, listener stats, and wiki summary. |
| lastfm_get_artist_infoA | Get detailed information about an artist. Returns bio, stats, tags, and similar artists. |
| lastfm_get_similar_artistsB | Get artists similar to the specified artist. |
| lastfm_get_artist_top_tracksA | Get the top tracks for an artist on Last.fm. |
| lastfm_get_artist_top_albumsB | Get the top albums for an artist on Last.fm. |
| lastfm_search_artistB | Search for artists on Last.fm by name. |
| lastfm_search_albumB | Search for albums on Last.fm by name. |
| lastfm_search_trackB | Search for tracks on Last.fm by name. |
| lastfm_get_track_infoA | Get detailed information about a track. Returns listener stats, tags, album info, and wiki summary. |
| lastfm_get_similar_tracksA | Get tracks similar to the specified track. |
| lastfm_get_user_infoA | Get profile information for a Last.fm user. Returns user profile data including playcount, registration date, country, and profile URL. |
| lastfm_get_recent_tracksA | Get a user's recently played tracks. Returns the most recent scrobbles, including currently playing track if any. |
| lastfm_get_user_top_artistsA | Get a user's top artists for a given time period. |
| lastfm_get_user_top_albumsA | Get a user's top albums for a given time period. |
| lastfm_get_user_top_tracksA | Get a user's top tracks for a given time period. |
| lastfm_get_user_loved_tracksB | Get a user's loved (favorited) tracks. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Each tool targets a distinct resource (album, artist, track, user) and action (get info, get top, search, similar), with no overlap in purpose. An agent can clearly distinguish between them.
All tools follow a consistent 'lastfm_<verb>_<resource>' pattern in snake_case, making it predictable and easy to navigate.
16 tools is appropriate for a music discovery service covering albums, artists, tracks, and users, though slightly more than the typical 3-15 range. Still well-scoped.
Covers core read operations for artists, albums, tracks, and users including search and top lists. Lacks write operations (like love/unlove tracks) and some niche endpoints (e.g., tags, events), but the read surface is solid.