tag_top_artists
Pack: last-fm · Endpoint: https://gateway.pipeworx.io/last-fm/mcp
Fetch the top Last.fm artists for a genre tag (e.g. ‘rock’, ‘electronic’); returns ranked artist names with listener counts.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
tag | string | yes | |
limit | number | no |
Example call
Arguments
{
"tag": "rock"
}
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":"tag_top_artists","arguments":{"tag":"rock"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tag_top_artists', {
"tag": "rock"
});
More examples
{
"tag": "indie",
"limit": 15
}
Response shape
| Field | Type | Description |
|---|---|---|
topartists | object | Top artists for tag container |
Full JSON Schema
{
"type": "object",
"properties": {
"topartists": {
"type": "object",
"description": "Top artists for tag container",
"properties": {
"artist": {
"type": "array",
"description": "Array of top artists for tag",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Artist name"
},
"url": {
"type": "string",
"description": "Artist URL"
},
"taggings": {
"type": "string",
"description": "Number of taggings"
},
"image": {
"type": "array",
"items": {
"type": "object",
"properties": {
"size": {
"type": "string"
},
"#text": {
"type": "string"
}
}
}
}
}
}
},
"@attr": {
"type": "object",
"properties": {
"tag": {
"type": "string"
},
"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.