fifa-public-api-mcp
Enables querying FIFA competitions, fixtures, results, and live match data through the FIFA Public API without authentication.
README
fifa-public-api-mcp
⚽ Live FIFA World Cup & football data for your AI assistant: an MCP server for competitions, fixtures, live scores, lineups, squads, and stadiums.
Give Claude, or any Model Context Protocol client, instant read-only access to the public FIFA data API for football (soccer): every FIFA competition (the men's and women's World Cups, club competitions, and more), their fixtures and results, live match detail, and reference data. No API key, no auth, no rediscovering FIFA's undocumented endpoints. Just install and ask.
⚡ What you can ask
Once it's connected, ask your assistant things like:
- "Who's hosting the 2026 FIFA World Cup, and which stadiums are being used?"
- "List the knockout-stage fixtures for the FIFA Women's World Cup."
- "What was the final score, lineup, and attendance for that match?"
- "Which six confederations does FIFA recognise, and how many member associations are there?"
Your assistant picks the right tools and chains the FIFA IDs for you behind the scenes.
✨ Features
- ⚽ 12 read-only tools spanning competitions, seasons, stages, fixtures, results, live matches, teams, stadiums, and reference data.
- 🔑 No API key or sign-up: wraps the public FIFA API directly.
- 🌍 Localised output via a
languagearg, plus arawescape hatch that returns the untouched FIFA payload. - 📦 One-line install with
npx: nothing to clone or build. - 🛡️ Typed and tested: unit-tested response normalizers and provenance-signed npm releases.
🚀 Install
The server is published to npm and runs via npx, so there is nothing to clone or compile.
Claude Code:
claude mcp add fifa -- npx -y fifa-public-api-mcp
Claude Desktop: add this to mcpServers in your config:
{
"mcpServers": {
"fifa": {
"command": "npx",
"args": ["-y", "fifa-public-api-mcp"]
}
}
}
npx downloads and caches the package on first use; later runs are offline-fast. Requires Node 22+ on the PATH.
🧰 Tools
Every tool also accepts two optional args: raw (default false; return FIFA's untouched payload) and language (default en).
| Tool | Inputs | Returns |
|---|---|---|
search_competitions |
name |
[{idCompetition, name}] |
get_competition |
idCompetition |
{idCompetition, name, owner, type} |
list_seasons |
idCompetition, count? |
[{idSeason, name, startDate, endDate}] |
get_season |
idSeason |
{idSeason, name, dates, memberAssociations[], hostTeams[], pictureUrls} |
list_stages |
idCompetition, idSeason |
[{idStage, name}] |
list_countries |
none | [{idCountry, name}] |
list_confederations |
none | [{idConfederation, name}] |
get_matches |
idCompetition, idSeason, idStage?, idGroup?, count? |
{matches:[…]} (see pagination note) |
get_match_timeline |
idCompetition, idSeason, idStage, idMatch |
{idMatch, events:[…]} |
get_live_match |
idCompetition, idSeason, idStage, idMatch |
{idMatch, status, score, home, away, officials, attendance, weather} |
get_team |
idTeam |
{idTeam, name, abbreviation, country, city, stadium, idStadium, pictureUrl} |
get_stadium |
idStadium |
{idStadium, name, city, capacity} |
IDs are stable string handles chained between endpoints. A typical flow: search_competitions → list_seasons → list_stages → get_matches → get_match_timeline / get_live_match.
Example IDs (FIFA World Cup 2026): idCompetition=17, idSeason=285023. These are examples for trying the tools, not defaults baked into the server.
⚠️ Known limitations
- No standings. FIFA's
/calendar/standingendpoint returns200 nullfor every competition and season tested, so no standings tool ships. - No real pagination on
get_matches. The API's continuation cursor is non-functional, socountis only a single-request hard limit. Set a largecount(e.g. 500) for a full fixture list, and narrow withidStage/idGroup; there is no way to page pastcount. get_live_matchreturns data for any match state, not just live matches. A not-started match has an empty lineup and a null score.
🛠️ Develop from source
git clone https://github.com/chrispickford/fifa-public-api-mcp.git
cd fifa-public-api-mcp
npm install
npm run build # compiles TS to build/index.js (with shebang + executable bit)
npm test # vitest unit tests over the normalizers (no network, CI-safe)
npm run smoke # manual live end-to-end hit of every tool against the real API (needs network)
Point a client at the local build with an absolute path, e.g. claude mcp add fifa-dev -- node /absolute/path/to/build/index.js.
The code is four small, single-purpose layers: src/client.ts (the only module that touches the network; encodes the FIFA base-API conventions and throws a structured FifaApiError), src/shape.ts (pure, unit-tested response normalizers), src/tools.ts (tool definitions and handlers wiring client → shape), and src/index.ts (bootstrap: register tools, connect StdioServerTransport).
License
MIT © Chris Pickford
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。