user_top_artists
Pack: listenbrainz · Endpoint: https://gateway.pipeworx.io/listenbrainz/mcp
A SPECIFIC NAMED ListenBrainz user’s top (most-listened) artists for a time range — only when the question names a ListenBrainz username. NEVER for general questions like “recommend popular music” or “top songs 2026” (use last-fm chart_top_artists / tag_top_artists for those), and never with a guessed or example username — the result would be a stranger’s personal listening history presented as an answer. Open music listening data, MusicBrainz-linked. Keyless for public profiles.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
username | string | yes | ListenBrainz username, e.g. “rob”. |
range | string | no | Time range: week, month, year, or all_time (default “all_time”). |
count | number | no | How many artists to return (default 25). |
Example call
Arguments
{
"username": "rob",
"range": "all_time",
"count": 25
}
curl
curl -X POST https://gateway.pipeworx.io/listenbrainz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_top_artists","arguments":{"username":"rob","range":"all_time","count":25}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('user_top_artists', {
"username": "rob",
"range": "all_time",
"count": 25
});
More examples
{
"username": "rob",
"range": "month"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"listenbrainz": {
"url": "https://gateway.pipeworx.io/listenbrainz/mcp"
}
}
}
See Getting Started for client-specific install steps.