Api Football logo

Api Football

Soccer data tools for fixtures, standings, teams, leagues, predictions, injuries, squads, and head-to-head results.

Install Api Football

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "api-football": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-api-football"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @pipeworx/mcp-api-football

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1d ago.

Overview

Api Football MCP server exposes API-Football data to AI agents through MCP tools. It supports fixture searches, league standings, team and competition lookup, predictions, injuries, squads, head-to-head records, and account status checks. Run it through the hosted Pipeworx gateway or as a local stdio package. Reach for it when an agent needs structured football data for research, reporting, or match analysis.

Use cases

  • Find upcoming fixtures for a league or club
  • Compare current standings and recent form
  • Check injuries and squad availability
  • Research match predictions and head-to-head history

Key features

  • Fixture and result lookup
  • League standings
  • Team and league ID search
  • Match predictions
  • Injury and squad data
  • Head-to-head and account status queries

Tools9

What Api Football lets your agent do. Expand a tool for its parameters.

Self-reported~398 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

7/7 checks healthy over the last 34d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @pipeworx/mcp-api-football (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.3kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed9Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Api Football works

What Api Football does

The Api Football MCP server connects AI agents with API-Football data through a focused set of football tools. It covers match schedules and results, league tables, team and competition discovery, match predictions, player availability, club squads, head-to-head history, and API account status.

The server fits the 🏃 Sports category and is intended for questions that require current or recent football information. For example, an agent can find fixtures for a league, identify a team ID before making another query, compare two clubs’ previous meetings, or inspect which players are injured or unavailable.

The integration is independent and unofficial. It is not affiliated with, endorsed by, or published by the upstream provider.

How it works

The Api Football MCP server can be connected through a Pipeworx-hosted MCP endpoint or started locally as a stdio process. The hosted pack endpoint lists the football tools together with shared Pipeworx meta-tools. Those shared tools can route broader questions through the wider Pipeworx catalog. The full Pipeworx gateway is another hosted connection option.

A local installation exposes only the Api Football pack’s tools and communicates over standard input and output. Both deployment paths use MCP operations such as initialization, tool listing, and tool calls. The gateway also provides HTTP access for individual tool calls; requests made without the reserved paid key require the caller to provide its own key as _apiKey.

Setup and configuration

For a hosted connection, add the pack endpoint to an MCP client:

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

The package can also run locally with no Pipeworx account or gateway round trip:

config.json
{
  "mcpServers": {
    "api-football": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-api-football"]
    }
  }
}

The local process can be started directly with npx -y @pipeworx/mcp-api-football.

Tools and capabilities

  • fixtures returns upcoming or recent matches filtered by league, team, or date, including kickoff time, teams, scores when available, venue, and status.
  • standings returns a league table with rank, points, goal difference, and form.
  • team_search and league_search resolve names to IDs used by other queries.
  • predictions provides API-Football match probabilities, advice, form, and head-to-head context.
  • football_injuries reports injured or unavailable players, the stated reason, and whether the player is ruled out or doubtful.
  • football_squad returns club players with shirt number, position, age, and nationality.
  • h2h returns the last requested number of matches between two teams.
  • api_football_status reports plan status, expiry, daily usage, daily limit, and the vendor’s per-minute limit without consuming quota.

Limitations and notes

League and team lookups are useful prerequisites when a later tool requires an ID. Example league IDs in the documentation include 1 for the FIFA World Cup, 39 for the English Premier League, and 140 for La Liga.

The hosted pack endpoint includes shared gateway tools in addition to the football tools, so its reported tool count can exceed the list above. The local stdio package exposes only the pack tools. The account-status tool deliberately excludes the account name and email.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Api Football

Api Football is an MCP server that connects AI agents to API-Football data through tools for fixtures, standings, team and league lookup, predictions, injuries, squads, head-to-head results, and account status. It supports both a hosted Pipeworx gateway connection and local stdio deployment.

Install it locally by configuring an MCP client to run `npx -y @pipeworx/mcp-api-football`. The package communicates over stdin and stdout and does not require a Pipeworx account. You can also connect to the hosted `https://gateway.pipeworx.io/api-football/mcp` endpoint.

Yes, Api Football works with Cursor through the hosted MCP endpoint. Add the endpoint URL to Cursor’s MCP server configuration. The README also names Claude Desktop and Windsurf as supported client examples.

Call `api_football_status` to check the subscription plan, active state, end date, daily requests used, daily limit, and vendor-reported per-minute limit. The status call does not count against the account quota.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewApi Football AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/api-football?style=directory)](https://allmcps.com/mcp/api-football)
HTML Embed
<a href="https://allmcps.com/mcp/api-football"><img src="https://allmcps.com/api/badge/api-football?style=directory" alt="Api Football on AllMCPs" /></a>