Api Football

v0.2.1
io.github.pipeworx-io/api-football Checked 3 days ago Published 1 month ago

API-Football MCP — comprehensive soccer/football data

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fixtures

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.

ParameterTypeDescription
_apiKeystringBYO API-Football key (https://dashboard.api-football.com/register)
datestringYYYY-MM-DD — single-day fixtures
lastnumberLast N played matches for the team/league
leaguenumberLeague ID (1 = FIFA World Cup, 39 = EPL, 140 = La Liga, 2 = Champions League — use league_search to find others)
nextnumberNext N upcoming matches for the team/league
seasonnumberSeason year (e.g. 2026)
teamnumberTeam ID — use team_search to find

standings

Current standings table for a league. Returns rank, team, points, goal difference, form. Use league=1 for World Cup.

ParameterTypeDescription
league *numberLeague ID (required)
season *numberSeason year (required, e.g. 2026)
_apiKeystring

predictions

API-Football's own match-outcome predictions. Returns home/draw/away win probabilities, advice, h2h context, form. Use for "who will win" research on specific fixtures.

ParameterTypeDescription
fixture *numberFixture ID — get from fixtures() output
_apiKeystring

football_injuries

Currently injured and unavailable football players for a club or a league — who is out, the injury or reason, and whether they are ruled out or merely doubtful. Covers Serie A, the Premier League, La Liga, the Bundesliga, Ligue 1 and other competitions worldwide. Use for questions about which players are injured, unavailable, or missing from a squad.

ParameterTypeDescription
_apiKeystringBYO API-Football key (https://dashboard.api-football.com/register)
leaguenumberLeague id instead of a team — use league_search to find one.
seasonnumberSeason start year, e.g. 2025. Defaults to the current season.
teamstringClub name, e.g. "AC Milan". Resolved to its team id for you.

football_squad

The current player squad for a football club — every player with shirt number, position, age and nationality. Use for questions about who plays for a club, squad lists, and a team roster.

ParameterTypeDescription
team *stringClub name, e.g. "AC Milan". Resolved to its team id for you.
_apiKeystringBYO API-Football key.

h2h

Head-to-head record between two teams. Returns last N matches with scores.

ParameterTypeDescription
team1 *numberFirst team ID
team2 *numberSecond team ID
_apiKeystring
lastnumberLast N H2H matches (default 5)

api_football_status

API-Football account status for the key in use: subscription plan name, whether it is active and when it ends, requests used today against the daily limit, and the per-minute limit the vendor reports in its rate-limit headers. The vendor does not count this call against the quota. Use it to tell a rate-limit answer from an exhausted plan. Account name and email are deliberately not returned.

ParameterTypeDescription
_apiKeystringBYO API-Football key.