Back to MCP directory
publicPublicdnsLocal runtime

footballbin-mcp-server

一个提供英超和欧冠足球比赛AI预测的MCP服务器,支持实时比分、进球预测和球员分析

article

README

🚀 FootballBin MCP 服务器

FootballBin MCP 服务器是一个基于模型上下文协议(MCP)的服务器,它为 AI 智能体提供英超联赛和欧冠联赛的足球比赛预测服务。

🚀 快速开始

Claude.ai(最简单 - 无需安装)

  1. 前往 设置 > 连接器
  2. 点击 添加自定义连接器
  3. 输入:https://ru7m5svay1.execute-api.eu-central-1.amazonaws.com/prod/mcp

Claude 桌面版

需要 Node.js 18+

步骤 1:全局安装

npm install -g footballbin-mcp-server

步骤 2:查找 Node.js 路径(必须为 v18+)

which node && node --version

步骤 3:添加到 claude_desktop_config.json

{
  "mcpServers": {
    "footballbin": {
      "command": "/path/to/node",
      "args": ["/path/to/node_modules/footballbin-mcp-server/dist/index.js"]
    }
  }
}

示例配置

macOS 搭配 nvm:

{
  "mcpServers": {
    "footballbin": {
      "command": "/Users/YOU/.nvm/versions/node/v20.x.x/bin/node",
      "args": ["/Users/YOU/.nvm/versions/node/v20.x.x/lib/node_modules/footballbin-mcp-server/dist/index.js"]
    }
  }
}

macOS 搭配 Homebrew:

{
  "mcpServers": {
    "footballbin": {
      "command": "/opt/homebrew/bin/node",
      "args": ["/opt/homebrew/lib/node_modules/footballbin-mcp-server/dist/index.js"]
    }
  }
}

Windows:

{
  "mcpServers": {
    "footballbin": {
      "command": "C:\\Program Files\\nodejs\\node.exe",
      "args": ["C:\\Users\\YOU\\AppData\\Roaming\\npm\\node_modules\\footballbin-mcp-server\\dist\\index.js"]
    }
  }
}

配置文件位置

  • macOS:~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows:%APPDATA%\Claude\claude_desktop_config.json

其他 MCP 客户端

使用远程端点:

https://ru7m5svay1.execute-api.eu-central-1.amazonaws.com/prod/mcp

✨ 主要特性

  • AI 比赛预测

    • 半场比分
    • 全场比分
    • 下一个进球者
    • 角球数量预测
  • 支持的联赛

    • 英超联赛(EPL)
    • 欧洲冠军联赛(UCL)
  • 关键球员:每场比赛都包含关键球员的洞察及推理依据。

📦 安装指南

选项 1:npm(推荐)

npm install -g footballbin-mcp-server

选项 2:npx(无需安装)

npx footballbin-mcp-server

选项 3:远程端点

无需安装 - 直接使用托管端点:

https://ru7m5svay1.execute-api.eu-central-1.amazonaws.com/prod/mcp

💻 使用示例

工具:get_match_predictions

输入参数

| 参数 | 类型 | 是否必需 | 描述 | |------|------|----------|------| | league | 字符串 | 是 | premier_leagueeplplchampions_leagueuclcl | | matchweek | 数字 | 否 | 比赛周数(默认为当前周) | | home_team | 字符串 | 否 | 按主队过滤(例如 chelseaarsenal) | | away_team | 字符串 | 否 | 按客队过滤(例如 liverpoolwolves) |

球队别名

| 别名 | 映射到 | |------|--------| | unitedmufc | man_utd | | citymcfc | man_city | | spurs | tottenham | | villa | aston_villa | | forest | nottm_forest | | palace | crystal_palace | | gunners | arsenal | | reds | liverpool | | blues | chelsea | | barca | barcelona | | real | real_madrid |

示例响应

{
  "league": "premier_league",
  "matchweek": 22,
  "count": 10,
  "app_link": "https://apps.apple.com/app/footballbin/id6757111871",
  "matches": [
    {
      "match_id": "epl_mw22_liv_bur",
      "home_team": "Liverpool",
      "away_team": "Burnley",
      "kickoff_time": "2026-01-17T15:00:00Z",
      "status": "scheduled",
      "predictions": [
        { "type": "Half Time Result", "value": "2:0", "confidence": 75 },
        { "type": "Full Time Result", "value": "4:0", "confidence": 75 },
        { "type": "Next Goal", "value": "Home,Wirtz", "confidence": 75 },
        { "type": "Corner Count", "value": "9:3", "confidence": 75 }
      ],
      "key_players": [
        {
          "player_name": "Florian Wirtz",
          "reason": "12 goals, 14 assists. Liverpool's creative hub."
        }
      ]
    }
  ]
}

直接 API 使用

列出工具

curl -X POST https://ru7m5svay1.execute-api.eu-central-1.amazonaws.com/prod/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'

获取预测

curl -X POST https://ru7m5svay1.execute-api.eu-central-1.amazonaws.com/prod/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "tools/call",
    "params": {
      "name": "get_match_predictions",
      "arguments": {"league": "premier_league"}
    },
    "id": 1
  }'

📚 详细文档

  • npm:https://www.npmjs.com/package/footballbin-mcp-server
  • 官方 MCP 注册表:https://registry.modelcontextprotocol.io
  • GitHub:https://github.com/billychl1/footballbin-mcp-server

🔧 技术细节

  • 协议:JSON-RPC 2.0 / MCP
  • 传输方式:stdio(npm)或 HTTPS(远程)
  • 运行时:Node.js 20+

错误代码

| 代码 | 含义 | |------|------| | -32700 | 解析错误 | | -32600 | 无效请求 | | -32601 | 方法未找到 | | -32602 | 无效参数 |

📄 许可证

本项目采用 MIT 许可证 - 详情请参阅 LICENSE 文件。

🔗 链接

📱 FootballBin 应用

通过 FootballBin iOS 应用获得完整体验:

在 App Store 下载

应用特性:

  • 实时比赛跟踪
  • AI 球员估值
  • 详细比赛预测
  • 球员新闻和讨论
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client