Football Live MCP
Football Live MCP
API-FootballのライブサッカーデータをHTTP経由で公開するリモートMCPサーバーです。MCP SDKを使わずにJSON-RPC 2.0を直接実装しています。
ローカルのFootball Intelligence MCPサーバーのコンパニオンです。こちらは現在のシーズンを提供し、ローカル版はPostgreSQLに保存された過去のデータベース(2010-2025)を提供します。
プロトコル
トランスポート: HTTP。単一のエンドポイントで、リクエストごとに1つのJSON-RPCメッセージを処理します。
エンドポイント | 目的 |
| ヘルスチェック。サーバー名、バージョン、ツール数を返します。 |
| JSON-RPC 2.0メッセージ。通知はボディなしで |
実装メソッド: initialize、notifications/initialized、ping、tools/list、tools/call。
プロトコルバージョン: 2025-06-18。
Related MCP server: football-api-mcp
ツール
ツール | 引数 | 戻り値 |
|
| 指定期間内に予定されている試合 |
|
| スコア付きの終了済み試合 |
|
| 最新のリーグ順位表 |
|
| 負傷中/出場停止中の選手 |
| — | 現在進行中の試合 |
|
| API-FootballのチームID |
リーグID: 39 Premier League、140 La Liga、135 Serie A、78 Bundesliga、61 Ligue 1、94 Primeira Liga、2 UEFA Champions League。
ローカルでの実行
pip install -r requirements.txt
export API_FOOTBALL_KEY=your_key_here
python server.py # listens on :8080確認:
curl http://localhost:8080/
curl -X POST http://localhost:8080/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Renderへのデプロイ
このディレクトリをGitHubリポジトリにプッシュします。
RenderでNew Web Serviceを作成し、そのリポジトリを接続します。
Renderは
render.yamlを読み取ります。ランタイムがPythonであることと無料プランを確認してください。API-Footballキーを指定して環境変数
API_FOOTBALL_KEYを追加します。デプロイします。公開エンドポイントは
https://<service>.onrender.com/mcpになります。
無料プランでは非アクティブ状態が続くとサービスがスリープするため、一時停止後の最初のリクエストには約50秒かかります。ライブデモの前にGET /に一度アクセスして、スリープを解除してください。
MCPホストからの使用
MCPホスト設定にurlフィールドを含むエントリを追加します:
{
"mcpServers": {
"football_live": { "url": "https://<service>.onrender.com/mcp" }
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
API-Football MCP — comprehensive soccer/football data
Football-Data.org MCP — soccer competitions, matches, standings
Sports MCP — wraps TheSportsDB API (free tier, test key 3, no auth required)
BetsAPI MCP — wraps BetsAPI (betsapi.com) sports events + odds.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides programmatic access to comprehensive football statistics and live match data via API-Football, enabling applications to retrieve league standings, team fixtures, player statistics, and real-time match events.7-
- AlicenseNot gradedqualityDmaintenanceMCP server for football-data.org API providing access to football data like standings, matches, teams, and scorers.MIT
- FlicenseAqualityDmaintenanceProvides live football data through MCP tools, enabling users to fetch today's matches and top scorers for competitions like the Premier League or World Cup.2-
- AlicenseAqualityDmaintenanceEnables MCP clients to access live football data from FotMob, including match stats, team form, injuries, and player workload, without making predictions.101MIT