artist_info

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

Fetch Last.fm artist profile by name (or MusicBrainz ID): biography, listener/play counts, similar artists, and genre tags; optionally in a specified language.

Parameters

NameTypeRequiredDescription
artiststringyes
mbidstringno
langstringno

Example call

Arguments

{
  "artist": "The Beatles"
}

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":"artist_info","arguments":{"artist":"The Beatles"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('artist_info', {
  "artist": "The Beatles"
});

More examples

{
  "artist": "Radiohead",
  "lang": "en"
}

Response shape

FieldTypeDescription
artistobjectArtist information object
Full JSON Schema
{
  "type": "object",
  "properties": {
    "artist": {
      "type": "object",
      "description": "Artist information object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Artist name"
        },
        "mbid": {
          "type": "string",
          "description": "MusicBrainz ID"
        },
        "url": {
          "type": "string",
          "description": "Last.fm artist URL"
        },
        "image": {
          "type": "array",
          "description": "Artist images at various sizes",
          "items": {
            "type": "object",
            "properties": {
              "size": {
                "type": "string",
                "description": "Image size (small, medium, large, extralarge)"
              },
              "#text": {
                "type": "string",
                "description": "Image URL"
              }
            }
          }
        },
        "stats": {
          "type": "object",
          "description": "Artist statistics",
          "properties": {
            "listeners": {
              "type": "string",
              "description": "Number of listeners"
            },
            "playcount": {
              "type": "string",
              "description": "Total play count"
            },
            "userplaycount": {
              "type": "string",
              "description": "User's play count"
            }
          }
        },
        "bio": {
          "type": "object",
          "description": "Artist biography",
          "properties": {
            "summary": {
              "type": "string",
              "description": "Bio summary"
            },
            "content": {
              "type": "string",
              "description": "Full bio content"
            }
          }
        },
        "similar": {
          "type": "object",
          "description": "Similar artists",
          "properties": {
            "artist": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "tags": {
          "type": "object",
          "description": "Artist tags",
          "properties": {
            "tag": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "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