player_heroes
Pack: stratz · Endpoint: https://gateway.pipeworx.io/stratz/mcp
Fetch the top heroes played by a Dota 2 player (by Steam account id), ranked by match count — returns heroId, matchCount, and winCount for up to take heroes (default 20).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
steam_account_id | number | yes | |
take | number | no |
Example call
Arguments
{
"steam_account_id": 123456789
}
curl
curl -X POST https://gateway.pipeworx.io/stratz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"player_heroes","arguments":{"steam_account_id":123456789}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('player_heroes', {
"steam_account_id": 123456789
});
More examples
{
"steam_account_id": 123456789,
"take": 10
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"stratz": {
"url": "https://gateway.pipeworx.io/stratz/mcp"
}
}
}
See Getting Started for client-specific install steps.