clan_war_log
Pack: clash-royale · Endpoint: https://gateway.pipeworx.io/clash-royale/mcp
Clash Royale official API — war log for a clan tag: past war seasons with participants, battles played, wins, and final standings. Supports limit/after/before cursors.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
tag | string | yes | |
limit | number | no | |
after | string | no | |
before | string | no |
Example call
Arguments
{
"tag": "#2CCCP"
}
curl
curl -X POST https://gateway.pipeworx.io/clash-royale/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"clan_war_log","arguments":{"tag":"#2CCCP"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('clan_war_log', {
"tag": "#2CCCP"
});
More examples
{
"tag": "#2CCCP",
"limit": 10
}
Response shape
| Field | Type | Description |
|---|---|---|
items | array | War log entries |
paging | object | Pagination info |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"seasonId": {
"type": "number",
"description": "Season ID"
},
"createdDate": {
"type": "string",
"description": "War creation date"
},
"clan": {
"type": "object",
"description": "Clan info"
},
"opponent": {
"type": "object",
"description": "Opponent clan info"
},
"teamCrowns": {
"type": "number",
"description": "Team crowns"
},
"opponentCrowns": {
"type": "number",
"description": "Opponent crowns"
},
"participants": {
"type": "array",
"description": "War participants"
}
}
},
"description": "War log entries"
},
"paging": {
"type": "object",
"properties": {
"cursors": {
"type": "object",
"description": "Pagination cursors"
}
},
"description": "Pagination info"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"clash-royale": {
"url": "https://gateway.pipeworx.io/clash-royale/mcp"
}
}
}
See Getting Started for client-specific install steps.