{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.ndyakov/lastfm-mcp",
  "slug": "io.github.ndyakov.lastfm-mcp",
  "title": "Last.fm",
  "summary": "Last.fm MCP server: scrobbles, charts, artist/album/track info and more",
  "version": "0.2.0",
  "serverKey": "lastfm-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.ndyakov.lastfm-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.ndyakov.lastfm-mcp/install.md",
  "trust": {
    "score": 85,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T23:51:18.557146041Z"
  },
  "methods": [
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "LASTFM_API_KEY",
        "ghcr.io/ndyakov/lastfm-mcp:0.2.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add lastfm-mcp -e 'LASTFM_API_KEY=<LASTFM_API_KEY>' -- docker run -i --rm -e LASTFM_API_KEY ghcr.io/ndyakov/lastfm-mcp:0.2.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"lastfm-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"LASTFM_API_KEY\",\n        \"ghcr.io/ndyakov/lastfm-mcp:0.2.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"LASTFM_API_KEY\": \"<LASTFM_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"lastfm-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"LASTFM_API_KEY\",\n        \"ghcr.io/ndyakov/lastfm-mcp:0.2.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"LASTFM_API_KEY\": \"<LASTFM_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"LASTFM_API_KEY\",\n      \"id\": \"lastfm-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"lastfm-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"LASTFM_API_KEY\",\n        \"ghcr.io/ndyakov/lastfm-mcp:0.2.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"LASTFM_API_KEY\": \"${input:lastfm-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.lastfm-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"LASTFM_API_KEY\", \"ghcr.io/ndyakov/lastfm-mcp:0.2.0\"]\nenv = { \"LASTFM_API_KEY\" = \"<LASTFM_API_KEY>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "LASTFM_API_KEY",
      "required": true,
      "secret": true,
      "description": "Last.fm API key (https://www.last.fm/api/account/create)",
      "help": "Last.fm API key (https://www.last.fm/api/account/create)",
      "placeholder": "<LASTFM_API_KEY>"
    },
    {
      "name": "LASTFM_API_SECRET",
      "required": false,
      "secret": true,
      "description": "Last.fm API secret; only needed for authenticated/write methods",
      "help": "Last.fm API secret; only needed for authenticated/write methods",
      "placeholder": "<LASTFM_API_SECRET>"
    },
    {
      "name": "LASTFM_ENABLE_WRITES",
      "required": false,
      "secret": false,
      "description": "Set to 1 to enable scrobbling/write tools",
      "help": "Set to 1 to enable scrobbling/write tools",
      "placeholder": "<LASTFM_ENABLE_WRITES>"
    }
  ],
  "expectedTools": [
    "lastfm_album_get_info",
    "lastfm_album_get_tags",
    "lastfm_album_get_top_tags",
    "lastfm_album_search",
    "lastfm_artist_get_correction",
    "lastfm_artist_get_info",
    "lastfm_artist_get_similar",
    "lastfm_artist_get_tags",
    "lastfm_artist_get_top_albums",
    "lastfm_artist_get_top_tags",
    "lastfm_artist_get_top_tracks",
    "lastfm_artist_search",
    "lastfm_chart_get_top_artists",
    "lastfm_chart_get_top_tags",
    "lastfm_chart_get_top_tracks",
    "lastfm_geo_get_top_artists",
    "lastfm_geo_get_top_tracks",
    "lastfm_library_get_artists",
    "lastfm_tag_get_info",
    "lastfm_tag_get_similar",
    "lastfm_tag_get_top_albums",
    "lastfm_tag_get_top_artists",
    "lastfm_tag_get_top_tags",
    "lastfm_tag_get_top_tracks",
    "lastfm_tag_get_weekly_chart_list",
    "lastfm_track_get_correction",
    "lastfm_track_get_info",
    "lastfm_track_get_similar",
    "lastfm_track_get_tags",
    "lastfm_track_get_top_tags",
    "lastfm_track_search",
    "lastfm_user_get_friends",
    "lastfm_user_get_info",
    "lastfm_user_get_loved_tracks",
    "lastfm_user_get_personal_tags",
    "lastfm_user_get_recent_tracks",
    "lastfm_user_get_top_albums",
    "lastfm_user_get_top_artists",
    "lastfm_user_get_top_tags",
    "lastfm_user_get_top_tracks",
    "lastfm_user_get_weekly_album_chart",
    "lastfm_user_get_weekly_artist_chart",
    "lastfm_user_get_weekly_chart_list",
    "lastfm_user_get_weekly_track_chart"
  ],
  "agentSteps": [
    "Ask the user for: LASTFM_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: lastfm_album_get_info, lastfm_album_get_tags, lastfm_album_get_top_tags, lastfm_album_search, lastfm_artist_get_correction, lastfm_artist_get_info, lastfm_artist_get_similar, lastfm_artist_get_tags, ….",
    "If it fails, check that the required runtime is installed (Docker) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T23:51:18.557146041Z"
}
