football-api-mcp
football-api-mcp
5DollarFootballAPI 用の MCP (Model Context Protocol) サーバー — Claude、Cursor、および MCP 対応の AI アシスタントにライブのフットボール(サッカー)データを提供します: 試合日程、ライブスコア、順位表、統計、ベッティングオッズ、そしてオッズ変動の全履歴(コーナーキック数やカード数のラインを含む)。
アシスタントに次のような質問ができます:
"今日のプレミアリーグの試合と現在のスコアは?"
"今シーズンのリーグ 39 のコーナーキック順位を見せて。"
"試合 1234567 の 1x2 オッズはキックオフ前にどう動いた?"
セットアップ
5dollarfootballapi.com の API キーが必要です — 無料プラン(カード不要)では試合日程、ライブスコア、順位表を利用できます。オッズツールは有料プラン(月額 $5 から)が必要です。
Claude Code
claude mcp add football-api -e FIVEDOLLARFOOTBALL_API_KEY=fb_live_your_key -- npx -y football-api-mcpClaude Desktop
claude_desktop_config.json に追加:
{
"mcpServers": {
"football-api": {
"command": "npx",
"args": ["-y", "football-api-mcp"],
"env": { "FIVEDOLLARFOOTBALL_API_KEY": "fb_live_your_key" }
}
}
}Cursor
.cursor/mcp.json(プロジェクト)または ~/.cursor/mcp.json(グローバル)に追加:
{
"mcpServers": {
"football-api": {
"command": "npx",
"args": ["-y", "football-api-mcp"],
"env": { "FIVEDOLLARFOOTBALL_API_KEY": "fb_live_your_key" }
}
}
}Related MCP server: api-football-mcp-server
ツール
ツール | 機能 |
| 指定日の試合日程(デフォルトは今日、UTC)— ライブスコア、コーナーキック数、カード数を含む |
| 単一の試合。オプションでイベントタイムラインと試合統計を含む |
| 現在のオッズ: 1x2、アジアンハンディキャップ、ゴールライン、コーナーライン、カードライン、BTTS |
| 試合とマーケットの全価格変動 — 試合前と試合中 |
| オッズツールで使用可能なブックメーカーのスラッグ |
| リーグ順位表 — 勝ち点、コーナーキック数、カード数の順位 |
| 名前でリーグ ID と国 ID を検索 |
| リーグシーズンの試合日程と結果 |
| チームの試合(新しい順) |
| プラン、使用状況、レート制限の状態 |
すべてのツールは読み取り専用です。エラーは API のエラーコードとリクエスト ID を含むツールエラーとして返されるため、アシスタントが何が問題だったかを説明できます。
開発
npm install
npm test # in-memory MCP client/server tests, no network
FIVEDOLLARFOOTBALL_API_KEY=... npm start # run over stdio基盤となる HTTP クライアントは公式の fivedollarfootball パッケージです。エンドポイントのリファレンス: 5dollarfootballapi.com/docs。
ライセンス
Available Tools
11 toolsget_account_statusARead-onlyIdempotent
Your API plan, usage and rate-limit state.
Inputs: no named parameters.
get_bookmakersARead-onlyIdempotent
List the bookmaker slugs usable in the odds tools.
Inputs: no named parameters.
get_fixtureARead-onlyIdempotent
Get one fixture by id, optionally with the event timeline (goals, cards, corners) and match statistics.
Inputs: fixture_id (required), lang, include_stats, include_events.
get_fixture_oddsARead-onlyIdempotent
Current betting odds for a fixture: 1x2, Asian handicap, goal line, corner line, card lines, BTTS — per bookmaker.
Inputs: fixture_id (required), market, bookmakers.
get_fixturesARead-onlyIdempotent
List football fixtures for a calendar day (UTC). Defaults to today. Includes live scores, corners and cards for each match.
Inputs: date, lang, page, status, +1 more.
get_league_fixturesBRead-onlyIdempotent
A league season's fixtures and results.
Inputs: league_id (required), lang, page, season, +1 more.
get_odds_historyARead-onlyIdempotent
Full price-movement history (every recorded tick) for one fixture and market. Each tick has the price, match minute, running score and UTC timestamp.
Inputs: market (required), fixture_id (required), page, bookmaker.
get_standingsARead-onlyIdempotent
League table for a league and season. type "corner" and "card" return corner/card standings instead of points.
Inputs: league_id (required), lang, type, season.
get_team_fixturesBRead-onlyIdempotent
A team's matches home or away, most recent first.
Inputs: team_id (required), lang, page, status.
search_countriesARead-onlyIdempotent
List countries (optionally filtered by name substring), for use with search_leagues.
Inputs: lang, page, search.
search_leaguesARead-onlyIdempotent
Find leagues by name, country or popularity. Use this to discover league ids.
Inputs: lang, page, search, popular, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct resource/scope: fixtures are separated by day, id, league, and team; odds, standings, searches, and account status are clearly distinct. The descriptions make the boundaries between the fixture-listing tools explicit enough that an agent should not misselect.
All tools follow a consistent snake_case action_noun pattern, with get_ used for retrieval and search_ used specifically for discovery. This is a predictable and readable convention across the entire toolset.
11 tools is a well-scoped count for a football data and odds API. Each tool covers a meaningful area such as fixtures, standings, odds, discovery, or account status without feeling bloated or sparse.
Core workflows around fixtures, standings, odds history, and league/country discovery are covered well. The main gap is the lack of a team search or direct team lookup, which makes get_team_fixtures harder to use unless team IDs are first extracted from fixture data.
Maintenance
Related MCP Connectors
Football fixtures, standings, and odds intelligence for AI agents.
Sports odds, player props and source coverage for AI assistants. Connect with your own API key.
Live football and soccer scores, fixtures, league standings, lineups, player stats, and match odds.
Live sports stats and pre-computed analysis for AI assistants across NBA, MLB, NFL, and NHL.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides live football match data from Sofascore, including formations, injuries, betting odds, and league positions, enabling natural language queries about matches.1-
- FlicenseNot gradedqualityDmaintenanceEnables natural language querying of football/soccer data via the API-Football service, providing access to leagues, teams, players, fixtures, standings, and statistics.2-
- AlicenseAqualityDmaintenanceProvides AI agents with real football data from the OpenFoot API, including fixtures, standings, lineups, live events, shot-level xG with pitch coordinates, league tables, and fair odds.1240 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to query real-time standings, fixtures, Chinese/English club aliases, and tactical data for Europe's top five leagues and global football.205 npmMIT