YM

yeonupark/mcp-soccer-data

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

39 stars 8 forks 质量 59 趋势 0MIT

这是一个基于SoccerDataAPI提供实时足球数据的MCP服务器。

概览

- 是一个开源的模型上下文协议(MCP)服务器,连接到 。 - 设计用于支持MCP的客户端,如Claude Desktop,允许用户利用大型语言模型(LLM)获取橄榄球数据。 “现在正在进行哪些足球比赛?”“今天巴黎圣日耳曼对阵阿斯顿维拉的预测阵容是什么?”“请告诉我最近足球比赛的比分和进球数。” → 以结构化格式提供相关足球数据,包括下文详细分类。 - 当前所有活跃比赛全球列表 - 主客场球队名称 - 开球时间和比赛日期 - 球场详情 - 当前比分 - 比赛状态:已安排、进行中或已结束 - 进球分解:上半场、下半场、加时赛、点球大战- 最终结果:胜、平、负 - 进球事件(谁进球、何时、如何进球)- 换人 - 黄牌和红牌 - 点球 - 首发阵容 - 替补球员 - 伤病状况 - 球队阵型

概述(AI 翻译)

  • MCP-Soccerdata 是一个开源的模型上下文协议(MCP)服务器,连接 SoccerDataAPI,通过自然语言交互提供最新的足球比赛信息。

  • 设计用于支持MCP的客户端,如Claude Desktop,允许用户利用大型语言模型(LLM)获取橄榄球数据。


✨ 特色

🏟️ 现场足球比赛解析

MCP-Soccerdata 专注于提供全球正在进行的足球比赛的实时信息。

“现在正在进行哪些足球比赛?” “今天巴黎圣日耳曼对阵阿斯顿维拉的预测阵容是什么?” “请告诉我最近足球比赛的比分和进球数。”

→ 以结构化格式提供相关足球数据,包括下文详细分类。

- 比赛列表及基本信息

  • 当前所有活跃比赛的全球列表
  • 主客场球队名称
  • 开球时间和比赛日期
  • 球场详情
  • 当前得分

- 比赛详情

  • 比赛状态:已安排、进行中或已结束
  • 进球分解:上半场、下半场、加时赛、点球大战
  • 最终结果:胜、平、负

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

⚽️ Soccerdata MCP Server

  • MCP-Soccerdata is an open-source Model Context Protocol (MCP) server that connects to the SoccerDataAPI to deliver up-to-date football match information via natural language interactions.

  • Designed for use with MCP-enabled clients such as Claude Desktop, it allows users to retrieve football data by leveraging large language models (LLMs).


✨ Features

🏟️ Live Football Match Insights

MCP-Soccerdata focuses on delivering real-time information about ongoing football matches around the world.

“What football matches are being played right now?”
“What are the predicted lineups for PSG vs Aston Villa today?”
“Please tell me the scores and number of goals from recent football matches.”

→ Provides relevant football data in a structured format, including the detailed categories described below.

- Match Listings & Basic Info

  • Global list of all currently active matches
  • Home and away team names
  • Kickoff time and match date
  • Stadium details
  • Current score

- Match Details

  • Match status: scheduled, in progress, or finished
  • Goal breakdown: first half, second half, extra time, penalty shootout
  • Final result: win, draw, or loss

- Key Match Events

  • Goal events (who scored, when, how)
  • Substitutions
  • Yellow and red cards
  • Penalties

- Team Lineups

  • Starting XI
  • Bench players
  • Injury status
  • Team formation

- Odds & Betting Information

  • Win / Draw / Lose odds
  • Over / Under odds
  • Handicap betting odds

- League Metadata

  • League name
  • Country
  • Competition format (e.g., regular season, knockout stage)

⚠️ Focused exclusively on live, upcoming, and recently finished matches


🎥 Demo


🚀 Quick Start

Installing via Smithery

To install Amadeus MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @yeonupark/mcp-soccer-data --client claude

Prerequisites

  • Python 3.12+
  • uv package manager
  • Soccerdata API account
  • MCP-compatible client (e.g., Claude for Desktop)

1. Clone and Setup

  • Clone the repository
git clone https://github.com/yeonupark/mcp-soccer-data.git
cd mcp-soccer-data
  • Install dependencies
uv sync

2. Get Your API Key and Set Environment

  • Create a .env file with your credentials:
AUTH_KEY=your_auth_key

Sign up on https://soccerdataapi.com/ and get your own Auth keys.

3. Configure MCP Client

在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @yeonupark/mcp-soccer-data --client claude
新手?先看 mcpskill.org 教程 →