football-api-mcp
football-api-mcp
用于 5DollarFootballAPI 的 MCP(模型上下文协议)服务器——为 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" }
}
}
}工具
工具 | 功能 |
| 获取某日历日(默认为今天,UTC 时间)的赛程,包含实时比分、角球、红黄牌 |
| 获取单场比赛,可选择包含事件时间线和比赛统计 |
| 当前赔率:1x2、亚洲让球、进球数、角球盘口、红黄牌盘口、双方进球 |
| 获取某场比赛和市场的所有历史价格变动——赛前和进行中 |
| 可在赔率工具中使用的博彩公司标识符 |
| 联赛积分榜——积分、角球或红黄牌排名 |
| 按名称查找联赛和国家 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。
许可证
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
API-Football MCP — comprehensive soccer/football data
Live odds, cross-book +EV and graded player-prop results across 24 books. Hosted endpoint included.
Football-Data.org MCP — soccer competitions, matches, standings
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/5dollarfootball-api/football-api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server