album_info

Pack: last-fm · Endpoint: https://gateway.pipeworx.io/last-fm/mcp

Fetch Last.fm album metadata by artist and album name (or MusicBrainz ID): track listing, listener/play counts, wiki summary, and genre tags.

Parameters

NameTypeRequiredDescription
artiststringyes
albumstringyes
mbidstringno

Example call

Arguments

{
  "artist": "The Beatles",
  "album": "Abbey Road"
}

curl

curl -X POST https://gateway.pipeworx.io/last-fm/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"album_info","arguments":{"artist":"The Beatles","album":"Abbey Road"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('album_info', {
  "artist": "The Beatles",
  "album": "Abbey Road"
});

More examples

{
  "artist": "Pink Floyd",
  "album": "The Wall"
}

Response shape

FieldTypeDescription
albumobjectAlbum information object
Full JSON Schema
{
  "type": "object",
  "properties": {
    "album": {
      "type": "object",
      "description": "Album information object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Album name"
        },
        "artist": {
          "type": "string",
          "description": "Artist name"
        },
        "mbid": {
          "type": "string",
          "description": "MusicBrainz ID"
        },
        "url": {
          "type": "string",
          "description": "Album URL"
        },
        "image": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "size": {
                "type": "string"
              },
              "#text": {
                "type": "string"
              }
            }
          }
        },
        "listeners": {
          "type": "string",
          "description": "Number of listeners"
        },
        "playcount": {
          "type": "string",
          "description": "Total play count"
        },
        "tracks": {
          "type": "object",
          "description": "Album tracks",
          "properties": {
            "track": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "duration": {
                    "type": "string"
                  },
                  "rank": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "last-fm": {
      "url": "https://gateway.pipeworx.io/last-fm/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026