Last.fm MCP server: scrobbles, charts, artist/album/track info and more
Connect Runs on your machine
claude mcp add lastfm-mcp -e LASTFM_API_KEY=<LASTFM_API_KEY> -e LASTFM_API_SECRET=<LASTFM_API_SECRET> -e LASTFM_ENABLE_WRITES=<LASTFM_ENABLE_WRITES> -- docker run -i --rm ghcr.io/ndyakov/lastfm-mcp:0.2.0
{
"mcpServers": {
"lastfm-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ndyakov/lastfm-mcp:0.2.0"
],
"env": {
"LASTFM_API_KEY": "<LASTFM_API_KEY>",
"LASTFM_API_SECRET": "<LASTFM_API_SECRET>",
"LASTFM_ENABLE_WRITES": "<LASTFM_ENABLE_WRITES>"
}
}
}
}
{
"mcpServers": {
"lastfm-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ndyakov/lastfm-mcp:0.2.0"
],
"env": {
"LASTFM_API_KEY": "<LASTFM_API_KEY>",
"LASTFM_API_SECRET": "<LASTFM_API_SECRET>",
"LASTFM_ENABLE_WRITES": "<LASTFM_ENABLE_WRITES>"
}
}
}
}
{
"servers": {
"lastfm-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ndyakov/lastfm-mcp:0.2.0"
],
"env": {
"LASTFM_API_KEY": "<LASTFM_API_KEY>",
"LASTFM_API_SECRET": "<LASTFM_API_SECRET>",
"LASTFM_ENABLE_WRITES": "<LASTFM_ENABLE_WRITES>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
LASTFM_API_KEYRequired, secret | Last.fm API key (https://www.last.fm/api/account/create) |
LASTFM_API_SECRETOptional, secret | Last.fm API secret; only needed for authenticated/write methods |
LASTFM_ENABLE_WRITESOptional | Set to 1 to enable scrobbling/write tools |
Details
| Package | ghcr.io/ndyakov/lastfm-mcp:0.2.0 (OCI, stdio) |
| First published | 16 Oct 2026 |
| Last updated | 16 Oct 2026 |
| Registry name | io.github.ndyakov/lastfm-mcp |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
