跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 football-data.org,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
football-data.org API v4:足球赛事、积分榜、赛程和赛果、历史交锋、球队、阵容、球员和射手榜。免费套餐凭 API token 覆盖 12 项主要赛事。
试试这样问
football-data.org 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → football-data.org、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
football-data.org + Gemini
football-data.org API v4:足球赛事、积分榜、赛程和赛果、历史交锋、球队、阵容、球员和射手榜。免费套餐凭 API token 覆盖 12 项主要赛事。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
FOOTBALL_DATA_API_TOKEN
步骤 1 — 获取凭证
- 在 https://www.football-data.org/client/register 免费注册。API token 会通过电子邮件发送,登录后也会显示在账户页面上。
- 将其填入
FOOTBALL_DATA_API_TOKEN(32 位小写字母和数字);它通过X-Auth-Token请求头发送。 - 调用
football_data_list_competitions查看 token 覆盖的范围,然后用PL、BL1、SA、PD或CL等赛事代码调用football_data_get_standings或football_data_list_competition_matches。
免费套餐覆盖 12 项赛事(PL、ELC、BL1、SA、PD、FL1、DED、PPL、BSA、CL、EC、WC),比分有延迟,每分钟最多 10 个请求;实时比分、首发阵容和比赛统计需要付费套餐。套餐外的内容返回 403,这是套餐限制,不是 token 坏了;无效 token 返回 400。season 是赛季开始年份(2025 表示 2025/26),所有时间均为 UTC。做赛前分析时,用比赛 ID 调用 football_data_get_head2head,并为两队分别调用 football_data_list_team_matches。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Gemini 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp(或在终端运行gemini mcp list)—anythingmcp应显示为已连接。 - 开始输入提示 — Gemini CLI 现在可以调用
football-data.org的工具。
可用工具
| Tool | What it does |
|---|---|
football_data_list_competitions | List the competitions the token can access (with a token) with id, code, name, type (LEAGUE, CUP, LEAGUE_CUP, PLAYOFFS), area and current… |
football_data_get_competition | Get one competition with its area, type, current season and the list of past seasons (id, start and end date, winner) |
football_data_get_standings | Get the league table of a competition: position, points, played, won, draw, lost, goals for and against, goal difference and recent form… |
football_data_list_competition_matches | List the matches of a competition (fixtures and results) with date in UTC, status, matchday, stage, group, teams and score |
football_data_list_competition_teams | List the teams taking part in a competition's season, with id, name, short name, three-letter code, crest, venue and, depending on the… |
football_data_get_top_scorers | Get the top scorers of a competition's season: player, team, goals, assists, penalties and matches played, sorted by goals |
football_data_list_matches | List matches across all competitions the plan covers: today's matches by default, or a single date, a date range (max 10 days), a list of… |
football_data_get_match | Get one match in full: competition, season, kickoff in UTC, status, venue, referees, teams, score (half time, full time, extra time… |
football_data_get_head2head | Get the previous meetings of the two teams of a match, with an aggregate of wins, draws, losses and goals for each side |
football_data_list_teams | List all teams in the database page by page, with id, name, short name, three-letter code and crest |
football_data_get_team | Get one team: name, area, address, website, founding year, club colours, venue, running competitions, coach and squad with positions and… |
football_data_list_team_matches | List the matches of one team across competitions, with a summary of wins, draws and losses |
football_data_get_person | Get one person (player, coach or referee): name, date of birth, nationality, position, shirt number and current team with contract dates |
football_data_list_person_matches | List the matches of one player with an aggregate (matches, minutes, goals, assists, cards, subbed in and out) |
football_data_list_areas | List the areas (countries and continents) with id, name, country code, flag and parent area |
football_data_get_area | Get one area with its parent area and its child areas, e.g. a continent with its countries |
FAQ
Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。
下一步
这份指南对你有帮助吗?