clan_current_war

Pack: clash-royale · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/clan_current_war for the schema, then POST the same URL with its arguments for the data.

Clash Royale official API — current war status for a clan tag: war state, collection-day and war-day results, participants, battles remaining, and standings.

Parameters

NameTypeRequiredDescription
tagstringyes

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_current_war","arguments":{"tag":"#2CCCP"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('clan_current_war', {
  "tag": "#2CCCP"
});

Response shape

FieldTypeDescription
statestringWar state
warStartTimestringWar start timestamp
battleTimestringBattle time
clanobjectClan info
participantsarrayClan participants
opponentobjectOpponent clan info
Full JSON Schema
{
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "War state"
    },
    "warStartTime": {
      "type": "string",
      "description": "War start timestamp"
    },
    "battleTime": {
      "type": "string",
      "description": "Battle time"
    },
    "clan": {
      "type": "object",
      "description": "Clan info"
    },
    "participants": {
      "type": "array",
      "description": "Clan participants"
    },
    "opponent": {
      "type": "object",
      "description": "Opponent clan info"
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the clash-royale pack
{
  "mcpServers": {
    "clash-royale": {
      "url": "https://gateway.pipeworx.io/clash-royale/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026