fixtures

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

Get match fixtures (upcoming + recent) by league, team, or date. Use league=1 for FIFA World Cup, league=39 for EPL, league=140 for La Liga. Returns kickoff, teams, score (if played), venue, status.

Parameters

NameTypeRequiredDescription
leaguenumbernoLeague ID (1 = FIFA World Cup, 39 = EPL, 140 = La Liga, 2 = Champions League — use league_search to find others)
teamnumbernoTeam ID — use team_search to find
datestringnoYYYY-MM-DD — single-day fixtures
seasonnumbernoSeason year (e.g. 2026)
lastnumbernoLast N played matches for the team/league
nextnumbernoNext N upcoming matches for the team/league
_apiKeystringnoBYO API-Football key (https://dashboard.api-football.com/register)

Example call

curl -X POST https://gateway.pipeworx.io/api-football/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fixtures","arguments":{}}}'

Response shape

Always returns: count, fixtures

FieldTypeDescription
countnumberTotal number of fixtures returned
fixturesarrayArray of fixture objects (max 50)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "Total number of fixtures returned"
    },
    "fixtures": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fixture_id": {
            "type": "number",
            "description": "Unique fixture identifier"
          },
          "date": {
            "type": "string",
            "description": "ISO datetime of match kickoff"
          },
          "status": {
            "type": "string",
            "description": "Match status (e.g., NS, 1H, 2H, FT, PST, PEN)"
          },
          "venue": {
            "type": "string",
            "description": "Stadium/venue name"
          },
          "league": {
            "type": "string",
            "description": "League name"
          },
          "round": {
            "type": "string",
            "description": "Round/week identifier"
          },
          "home": {
            "type": "string",
            "description": "Home team name"
          },
          "away": {
            "type": "string",
            "description": "Away team name"
          },
          "home_team_id": {
            "type": "number",
            "description": "Home team ID"
          },
          "away_team_id": {
            "type": "number",
            "description": "Away team ID"
          },
          "score_home": {
            "type": [
              "number",
              "null"
            ],
            "description": "Home team goals (null if not played)"
          },
          "score_away": {
            "type": [
              "number",
              "null"
            ],
            "description": "Away team goals (null if not played)"
          }
        }
      },
      "description": "Array of fixture objects (max 50)"
    }
  },
  "required": [
    "count",
    "fixtures"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "api-football": {
      "url": "https://gateway.pipeworx.io/api-football/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026