原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

SportAPI

作者:SportApi-net版本 0.1.0i★ –i在你的电脑上运行
注册名称io.github.SportApi-net/sportapi-mcp

安装

概览

作者提供的说明(英文原文)

Live and Prematch sports odds, scores and statistics from SportAPI. Demo data without a key.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 游戏、体育、美食与学习
  • 你需要填写:SPORTAPI_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SPORTAPI_KEY, SPORTAPI_BASE_URL, SPORTAPI_LANGUAGE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "sportapi": {
      "command": "uvx",
      "args": [
        "sportapi-mcp"
      ],
      "env": {
        "SPORTAPI_KEY": "your-value",
        "SPORTAPI_BASE_URL": "your-value",
        "SPORTAPI_LANGUAGE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add sportapi --env SPORTAPI_KEY=your-value --env SPORTAPI_BASE_URL=your-value --env SPORTAPI_LANGUAGE=your-value -- uvx sportapi-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "sportapi": {
      "command": "uvx",
      "args": [
        "sportapi-mcp"
      ],
      "env": {
        "SPORTAPI_KEY": "your-value",
        "SPORTAPI_BASE_URL": "your-value",
        "SPORTAPI_LANGUAGE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "sportapi": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sportapi-mcp"
      ],
      "env": {
        "SPORTAPI_KEY": "your-value",
        "SPORTAPI_BASE_URL": "your-value",
        "SPORTAPI_LANGUAGE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SPORTAPI_KEY 机密 env
    SportAPI key, sent in the Package header. Leave unset for demo data.
  • SPORTAPI_BASE_URL env
    Your personal SportAPI base URL, e.g. https://YOUR_API_DOMAIN. Leave unset for demo data.
  • SPORTAPI_LANGUAGE env
    Response language code enabled for your key.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 SportApi-net 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“游戏、体育、美食与学习”中的其他服务器比较i

  • 星标数多于此分类中其他 1283 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1283 个服务器的 48% 更新
  • 基础检查结果等于或优于此分类中其他 1283 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

SportAPI 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SPORTAPI_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.0)于31天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:slopped.site, Artsonia MCP, Canvas Parent MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

slopped.site

作者:slopped.site

Read-only tools over slopped.site: AI-made art, lore, games, sites, the curriculum.

在云端运行今天更新
安装

Artsonia MCP

作者:chrischall

Parent/fan access to Artsonia student-art portfolios, comments, and fans (AI-built).

在你的电脑上运行今天更新
安装

Canvas Parent MCP

作者:chrischall

Canvas LMS (Instructure) for Claude — courses, grades, assignments, planner, files

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

sportapi-mcp

An MCP server that lets AI assistants (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and other MCP clients) look up Live and Prematch matches, scores, live statistics and betting odds from SportAPI. It runs on demo data out of the box, without an API key.

claude mcp add sportapi -- uvx sportapi-mcp

Then ask: *"Which football matches are live right now, and who is favoured?"*

This MCP server is free and MIT-licensed. The SportAPI data service behind it is a commercial

product: live data needs a personal API key (how to get one). Without a key,

every tool answers with the example responses from the SportAPI documentation, and every result

says so.

Features

  • 11 read-only tools covering the Sport Line API: sports, the navigation menu, countries, tournaments, Live and Prematch match lists, the match calendar, full match details with every market, team search, top matches, top championships and the key's account status.
  • Token-efficient output: compact JSON with empty fields dropped and odds rendered as one line per market ("W1 1.525 | X 5.08 | W2 6.15"). A detailed match can carry 200+ markets, so get_match returns 15 by default and accepts a markets filter (["1X2", "Total"]).
  • Polite by design: every request goes through a snapshot cache that enforces the documented minimum update intervals and never sends overlapping requests for the same data. No tool polls or fans out over matches, however often the assistant calls it.
  • Demo mode with no setup, clearly labelled ("source": "demo") so that an assistant never presents a snapshot as live data.
  • Actionable errors: an expired key, a sport outside the subscription, a finished match or a game_id from the wrong line type come back as short explanations the assistant can act on.
  • Two prompts: a live betting overview for a sport and a market comparison (implied probabilities, bookmaker margin, fair odds) for one match.
  • Built on the official SportAPI Python client and the official MCP Python SDK. stdio by default, Streamable HTTP optional.

What you can ask

Example conversations in demo mode (answers abridged). The assistant picks the tools itself.

"What's happening in live football right now?" → list_live_matches(sport_id=1)

*Demo data from the SportAPI documentation, not live.* 39 football matches are in play.

Garuda Darwin 0:1 Darwin Olympic (76', NPL Northern Territory): Darwin Olympic are near-certain

winners at 1.064. Ikonnect FA U19 0:1 Obosa U19 (33'): Obosa favoured at 1.40, the draw at 4.65.

Caucaia U20 — Floresta EC U20 is goalless at 2', with Floresta slight favourites at 2.112.

"Arsenal against Coventry: how are the goal lines priced?" → get_match(game_id=746146992, line_type="live", markets=["Total"])

Arsenal lead 3:0 at 56' (xG 1.45 vs 0.03, shots on target 4:0). Total goals: Over 3.5 at 1.23,

Over 4.5 at 2.09 / Under 4.5 at 1.81, Over 5.5 at 4.41. The market expects a fourth goal but

leans against a fifth.

"When does Manchester City play next, and what are the odds?" → search_matches(text="Manchester"), then get_match(game_id=730321837, line_type="prematch", markets=["1X2", "Total"])

Manchester City — Bournemouth, Premier League, 23 Aug 2026 13:00 UTC. 1X2: City 1.525,

draw 5.08, Bournemouth 6.15. Over 2.5 goals 1.39, under 2.5 2.72.

"What are the biggest games this weekend?" → top_matches(line_type="prematch", include_odds=True)

"Is my SportAPI key OK, and how many requests did I make this week?" → account_status() (live mode)

With a key, the same questions work for every sport in your subscription, with current data.

Install

The server is a Python package (Python 3.10+). The easiest way to run it is with uv: uvx downloads and runs it in an isolated environment, with no install step.

uvx sportapi-mcp            # starts the stdio server; MCP clients launch it for you

Or install it with pip and use the sportapi-mcp command instead of uvx sportapi-mcp:

pip install sportapi-mcp

The env blocks below are optional: leave them out to start in demo mode.

Claude Desktop

One-click install: download sportapi-mcp.mcpb from the latest release and open it — Claude Desktop installs the extension and asks for the optional key and base URL (leave them empty for demo data). The bundle sources are in mcpb/.

Or edit claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "sportapi": { "command": "uvx", "args": ["sportapi-mcp"], "env": { "SPORTAPI_KEY": "YOUR_API_KEY", "SPORTAPI_BASE_URL": "https://YOUR_API_DOMAIN" } } } }

Restart Claude Desktop; the SportAPI tools appear in the tools menu.

Claude Code
# demo mode

claude mcp add sportapi -- uvx sportapi-mcp

live data, available in all your projects

claude mcp add sportapi --scope user \ -e SPORTAPI_KEY=YOUR_API_KEY -e SPORTAPI_BASE_URL=https://YOUR_API_DOMAIN \ -- uvx sportapi-mcp

Cursor

Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{

"mcpServers": { "sportapi": { "command": "uvx", "args": ["sportapi-mcp"], "env": { "SPORTAPI_KEY": "YOUR_API_KEY", "SPORTAPI_BASE_URL": "https://YOUR_API_DOMAIN" } } } }

VS Code

Add to .vscode/mcp.json. VS Code asks for the key once and stores it securely:

{

"inputs": [ { "type": "promptString", "id": "sportapi-key", "description": "SportAPI key", "password": true } ], "servers": { "sportapi": { "type": "stdio", "command": "uvx", "args": ["sportapi-mcp"], "env": { "SPORTAPI_KEY": "${input:sportapi-key}", "SPORTAPI_BASE_URL": "https://YOUR_API_DOMAIN" } } } }

Windsurf and other clients

Any MCP client that can start a stdio server works: the command is uvx, the argument is sportapi-mcp, and the environment variables are listed below. For Windsurf, put the mcpServers block shown for Cursor into ~/.codeium/windsurf/mcp_config.json.

Streamable HTTP and Docker
sportapi-mcp --transport streamable-http --port 8000      # http://127.0.0.1:8000/mcp

docker build -t sportapi-mcp . docker run -i --rm -e SPORTAPI_KEY -e SPORTAPI_BASE_URL sportapi-mcp # stdio docker run --rm -p 8000:8000 sportapi-mcp --transport streamable-http --host 0.0.0.0

The HTTP transport has no authentication of its own: keep it on localhost or behind your own gateway, because anyone who can reach it uses your key.

Configuration

VariableRequiredDescription
SPORTAPI_KEYfor live dataYour API key. The server sends it only in the Package HTTP header, never in URLs or tool output.
SPORTAPI_BASE_URLfor live dataYour personal API base URL, issued together with the key (https://YOUR_API_DOMAIN).
SPORTAPI_LANGUAGEnoResponse language code, default en. It must be enabled for your key; see languages. Demo data is English only.

Set both SPORTAPI_KEY and SPORTAPI_BASE_URL for live data, or neither for demo mode. sportapi-mcp --demo forces demo mode even when a key is configured.

A key is bound to the server IP addresses or sites approved for it (authentication and access). An MCP server usually runs on your own computer, so make sure that address is allowed for the key; account_status shows the IP address SportAPI sees.

Tools

ToolWhat it answersSportAPI method
list_sportsWhich sports have Live / Prematch matches now, with countssports
get_menuSport → country → tournament tree with IDs and countsmenu
list_countriesCountries with matches in one sportcountries
list_tournamentsTournaments of one sport and countrytournaments
list_live_matchesLive matches of a sport or tournament: score, period, minute, main odds. Without a sport: live sports plus top live matchesevents
list_prematch_matchesUpcoming matches: the "Top 50", a tournament, the full line, or the calendar (next 2/4/6/12 hours, today … 5 days ahead)events, calendar
get_matchOne match: score, live statistics, every market and its odds, sub-events (halves, corners, cards…)event
search_matchesFind matches by team or participant name, Live and Prematchsearch
top_matchesUp to 10 most popular matches (all sports, or one sport for Prematch)topmatches, toplist
top_championshipsUp to 12 popular championships with match countstopchampionships
account_statusDemo or live; with a key: expiry, sports, languages, access mode, requests over 7 daysaccount

Prompts: live_betting_overview(sport) and compare_match_markets(match, markets).

How the output maps to the API data (decimal odds, blocked selections, market IDs, sub-events, live statistics) is described in the odds, match and live statistics data models. get_match(include_pointers=true) adds each selection's oc_pointer, the code used by bet placement systems such as the SportAPI Coupon API.

Demo mode coverage

Demo mode serves the full English example responses from the SportAPI documentation (snapshots from August–October 2026):

  • list_sports, get_menu, top_matches: Live and Prematch;
  • list_countries, list_live_matches, list_prematch_matches: football (sport_id

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx