get_competition_matches

Pack: football-data · Endpoint: https://gateway.pipeworx.io/football-data/mcp

List matches in a competition. Filter by status (SCHEDULED, LIVE, IN_PLAY, PAUSED, FINISHED, POSTPONED, SUSPENDED, CANCELLED), date range, matchday, stage, or season year.

Parameters

NameTypeRequiredDescription
competitionstringyesCompetition code (e.g., “PL” = Premier League, “PD” = La Liga, “CL” = Champions League)
statusstringnoMatch status filter (SCHEDULED | LIVE | IN_PLAY | PAUSED | FINISHED | POSTPONED | SUSPENDED | CANCELLED)
date_fromstringnoYYYY-MM-DD
date_tostringnoYYYY-MM-DD
matchdaynumbernoRound number
stagestringnoStage (e.g., “GROUP_STAGE”, “QUARTER_FINALS”)
seasonnumbernoSeason start year (e.g., 2025)

Example call

Arguments

{
  "competition": "PL"
}

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":"get_competition_matches","arguments":{"competition":"PL"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_competition_matches', {
  "competition": "PL"
});

More examples

{
  "competition": "CL",
  "status": "FINISHED",
  "season": 2024
}

Response shape

Always returns: competition, count, matches

FieldTypeDescription
competitionstringCompetition code used in the query
countnumberNumber of matches returned
matchesarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "competition": {
      "type": "string",
      "description": "Competition code used in the query"
    },
    "count": {
      "type": "number",
      "description": "Number of matches returned"
    },
    "matches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Match ID"
          },
          "utc_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Match date/time in UTC (ISO 8601)"
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Match status"
          },
          "matchday": {
            "type": [
              "number",
              "null"
            ],
            "description": "Round/matchday number"
          },
          "stage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Competition stage (e.g., GROUP_STAGE)"
          },
          "group": {
            "type": [
              "string",
              "null"
            ],
            "description": "Group name if applicable"
          },
          "competition": {
            "type": [
              "string",
              "null"
            ],
            "description": "Competition name"
          },
          "competition_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Competition code"
          },
          "home": {
            "type": [
              "string",
              "null"
            ],
            "description": "Home team name"
          },
          "home_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Home team ID"
          },
          "away": {
            "type": [
              "string",
              "null"
            ],
            "description": "Away team name"
          },
          "away_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Away team ID"
          },
          "score_full_time": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full-time score (e.g., '2-1' or '-' if not final)"
          },
          "score_half_time": {
            "type": [
              "string",
              "null"
            ],
            "description": "Half-time score (e.g., '1-0' or '-' if not played)"
          },
          "winner": {
            "type": [
              "string",
              "null"
            ],
            "description": "Winner ('HOME', 'AWAY', 'DRAW', or null)"
          },
          "venue": {
            "type": [
              "string",
              "null"
            ],
            "description": "Venue name"
          }
        }
      }
    }
  },
  "required": [
    "competition",
    "count",
    "matches"
  ]
}

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.

Regenerated from source · build July 6, 2026