Mcp Lastfm — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Lastfm (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An MCP server for the Last.fm API. Enables LLM agents to access music data: user profiles, listening history, top charts, search, and artist/album/track metadata.
lastfm_get_user_info — User profile: country, scrobble count, registration date.lastfm_get_recent_tracks — Recently played tracks (including now playing).lastfm_get_user_top_artists — Top artists for a time period.lastfm_get_user_top_albums — Top albums for a time period.lastfm_get_user_top_tracks — Top tracks for a time period.lastfm_get_user_loved_tracks — Loved (favorited) tracks.lastfm_search_artist — Search artists by name.lastfm_search_album — Search albums by name.lastfm_search_track — Search tracks by name.lastfm_get_artist_info — Artist details: bio, tags, listener/scrobble stats, similar artists.lastfm_get_similar_artists — Similar artists with match scores.lastfm_get_artist_top_tracks — Artist's top tracks.lastfm_get_artist_top_albums — Artist's top albums.lastfm_get_album_info — Album details: tracklist, tags, description.lastfm_get_track_info — Track details: duration, tags, listener/scrobble stats.lastfm_get_similar_tracks — Similar tracks with match scores.You will need a Last.fm API key. Get one for free at last.fm/api/account/create.
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json{
"mcpServers": {
"lastfm": {
"command": "uv",
"args": [
"run",
"--with",
"lastfm-mcp",
"--python",
"3.10",
"lastfm-mcp"
],
"env": {
"LASTFM_API_KEY": "<your-api-key>"
}
}
}
}uv and replace it with the absolute path to the uv executable. This ensures that the correct version of uv is used when starting the server. On a Mac, you can find this path using which uv.Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"lastfm": {
"command": "uv",
"args": [
"run",
"--with",
"lastfm-mcp",
"--python",
"3.10",
"lastfm-mcp"
],
"env": {
"LASTFM_API_KEY": "<your-api-key>"
}
}
}
}claude mcp add lastfm -- uv run --with lastfm-mcp --python 3.10 lastfm-mcpMake sure LASTFM_API_KEY is set in your environment.
If you prefer to use the system Python installation instead of uv, you can install the package from PyPI and run it directly:
pip install lastfm-mcp{
"mcpServers": {
"lastfm": {
"command": "lastfm-mcp",
"env": {
"LASTFM_API_KEY": "<your-api-key>"
}
}
}
}Note: Make sure to use the full path to the lastfm-mcp script if it is not in your system PATH. You can find the path using which lastfm-mcp.
LASTFM_API_KEY (required): Your Last.fm API key.Top chart tools (lastfm_get_user_top_artists, lastfm_get_user_top_albums, lastfm_get_user_top_tracks) support a period parameter:
| Value | Period |
|---|---|
overall | All time (default) |
7day | Last 7 days |
1month | Last month |
3month | Last 3 months |
6month | Last 6 months |
12month | Last year |
All list tools support pagination via limit and page.
git clone https://github.com/dkfancska/mcp-lastfm.git
cd mcp-lastfm
pip install -e ..env.example to .env and add your API key: cp .env.example .env npx @modelcontextprotocol/inspector lastfm-mcpMIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.