list_competitions
Pack: football-data · Endpoint: https://gateway.pipeworx.io/football-data/mcp
List competitions accessible on your plan. Free tier: 12 majors. Use the returned code (e.g., “PL”, “PD”, “CL”) for downstream calls.
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/football-data/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_competitions","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_competitions', {});
Response shape
Always returns: count, competitions
| Field | Type | Description |
|---|---|---|
count | number | Total number of competitions |
competitions | array |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Total number of competitions"
},
"competitions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"number",
"null"
],
"description": "Competition ID"
},
"code": {
"type": [
"string",
"null"
],
"description": "Competition code (e.g., PL, PD, CL)"
},
"name": {
"type": [
"string",
"null"
],
"description": "Competition name"
},
"type": {
"type": [
"string",
"null"
],
"description": "Competition type"
},
"area": {
"type": [
"string",
"null"
],
"description": "Geographic area name"
},
"plan": {
"type": [
"string",
"null"
],
"description": "Availability plan tier"
},
"emblem": {
"type": [
"string",
"null"
],
"description": "Competition emblem URL"
},
"current_season_start": {
"type": [
"string",
"null"
],
"description": "Current season start date (YYYY-MM-DD)"
},
"current_season_end": {
"type": [
"string",
"null"
],
"description": "Current season end date (YYYY-MM-DD)"
},
"current_matchday": {
"type": [
"number",
"null"
],
"description": "Current matchday number"
}
}
}
}
},
"required": [
"count",
"competitions"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"football-data": {
"url": "https://gateway.pipeworx.io/football-data/mcp"
}
}
}
See Getting Started for client-specific install steps.