Skip to content
Gemini CLI

lastfm mcp for Gemini CLI

io.github.mrfentmen/lastfm-mcp

Query the Last.fm API: top artists, top tracks, artist info.

client:Gemini CLI transport:stdio runtime:npm

Install lastfm mcp in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "lastfm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lastfm-mcp"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

lastfm mcp in other clients