mcp-afl-server 是一个 Model Context Protocol(MCP)服务器,通过 Squiggle API 提供澳大利亚足球联赛(AFL)数据。它面向需要以程序化方式访问 AFL 赛事、积分榜、球队与预测数据的用户,可与兼容 MCP 的客户端配合使用。
用途 该服务器用于获取 AFL 相关数据,覆盖比赛结果、积分榜、球队信息、实力排名、比赛提示与预测、以及预测排名等。它允许用户通过自然语言提示或工具调用,从 Squiggle API 检索并呈现这些信息。
主要能力 服务器提供的工具涵盖以下数据类别:
- 比赛信息:获取特定比赛或轮次的结果。
- 积分榜信息:获取当前 AFL 积分榜,以及按轮次和年份查询历史积分榜。
- 球队信息:获取球队基本信息,以及查询在特定赛季出场的球队列表。
- 实力排名与预测:访问实力排名(power rankings)和预测排名(projected ladder),以及比赛提示与预测(tips and predictions)。
- 数据源与配置:列出并管理可用数据源与配置。
使用方式 运行该服务器需要满足以下前提条件:
- .NET 9.0 或更高版本。
- 一个兼容 Model Context Protocol(MCP)的客户端(例如 Claude for Desktop)。
- 可访问 Squiggle API 的网络连接。
与 Claude Desktop 集成时,需编辑 Claude for Desktop 配置文件:
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%\Claude\claude_desktop_config.json
在配置文件中添加服务器配置即可。连接后,可尝试以下示例提示词:
- 当前赛季信息:"What are the current AFL standings?"、"Show me the results from Round 10, 2024"、"Get information about the Richmond Tigers"、"List all teams that played in the 2024 season"
- 历史数据:"What were the standings after Round 15 in 2023?"、"Show me all results from Round 1, 2022"、"Get the result of a specific game"
- 提示与预测:"What are the current tips for upcoming games?"、"Show me tips for Round 5, 2024"、"Get tips for a specific game"
- 高级分析:"Show me the power rankings for Round 20, 2023"、"Get the projected ladder for Round 15, 2024"、"List all available data sources"
适用场景 适用于需要获取和分析 AFL 数据的场景,例如查询积分榜与比赛结果、了解球队信息、获取比赛预测与实力排名等。可与兼容 MCP 的客户端结合,通过自然语言交互完成数据检索。
限制 使用 Squiggle API 时需负责任地使用,所有关于正确使用的信息可在 api.squiggle.com.au 查阅。项目采用 MIT 许可证。关于收费、价格、具体平台支持范围等其他信息,资料中暂未提供。