chart_top_artists

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

Global top artists.

Parameters

NameTypeRequiredDescription
limitnumberno

Example call

Arguments

{
  "limit": 50
}

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":"chart_top_artists","arguments":{"limit":50}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('chart_top_artists', {
  "limit": 50
});

Response shape

FieldTypeDescription
artistsobjectGlobal top artists container
Full JSON Schema
{
  "type": "object",
  "properties": {
    "artists": {
      "type": "object",
      "description": "Global top artists container",
      "properties": {
        "artist": {
          "type": "array",
          "description": "Array of global top artists",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Artist name"
              },
              "playcount": {
                "type": "string",
                "description": "Global play count"
              },
              "listeners": {
                "type": "string",
                "description": "Number of listeners"
              },
              "url": {
                "type": "string",
                "description": "Artist URL"
              },
              "image": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "size": {
                      "type": "string"
                    },
                    "#text": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "@attr": {
          "type": "object",
          "properties": {
            "page": {
              "type": "string"
            },
            "perPage": {
              "type": "string"
            },
            "totalPages": {
              "type": "string"
            },
            "total": {
              "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