NestDaddy

Last.fm

io.github.ndyakov/lastfm-mcp · v0.2.0

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

Connect Runs on your machine

Terminal
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
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
LASTFM_API_KEY
Required, secret
Last.fm API key (https://www.last.fm/api/account/create)
LASTFM_API_SECRET
Optional, secret
Last.fm API secret; only needed for authenticated/write methods
LASTFM_ENABLE_WRITES
Optional
Set to 1 to enable scrobbling/write tools

Details

Packageghcr.io/ndyakov/lastfm-mcp:0.2.0 (OCI, stdio)
First published16 Oct 2026
Last updated16 Oct 2026
Registry nameio.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.