
balldontlie-api/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
BALLDONTLIEの公式mcp-server
概要
NBA、WNBA、NFL、MLB、EPL、NCAAF、NCAAB、MMA、CS2、レジェンドのリーグ、Dota 2、FIFAワールドカップ2026、La Liga、Serie A、UEFAチャンピオンズリーグ、Bundeliga、およびLigue 1の統計情報、プレーヤー情報、ゲームデータなどを含むBALLDONTLIE APIから包括的なスポーツデータにアクセスできるモデルコンテキストプロトコル(MCP)サーバー。 - : すべてのBALLDONTLIE APIエンドポイントへの完全アクセス - : NBA、WNBA、NFL、MLB、EPL、NHL、NCAAF、NCAAB、MMA、CS2、レジェンドのリーグ、Dota 2、FIFAワールドカップ2026、La Liga、Serie A、UEFAチャンピオンズリーグ、Bundliga、Ligue 1 - :チーム、プレーヤー、ゲーム、統計、スタンディング、負傷、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為、不正行為防止、不正行為、不正行為、不正行為、不正行為防止、不正行為、不正行為、不正行為、不正行為、不正行為防止、不正行為防止、不正行為、不正行為防止、不正行為、不正行為防止、不正行為、不正行為防止、不正行為防止、不正行為防止、不正行為防止、不正行為、不正行為、不正行為、不正行為防止、不正行為防止、不正行為、不正行為防止、不正行為、不正行為防止、不正行為、不正行為、不正行為、 BALLDONTLIEで無料のAPIキーを入手してください。 MCP クライアントの設定に追加 (例:.
概要(AI 翻訳)
BALLDONTLIEスポーツAPI用のリモートモデルコンテキストプロトコルサーバー。 ツールカタログは、ベンダーの公開 OpenAPI 仕様から生成されるため、エンドポイントメソッド、パス、パラメータ、制約は API ソースと整列されます。
現在の生成された表面には、アカウント、ATP、Bundesliga、大学野球、カウンターストライク、Dota 2、EPL、F1、FIFAワールドカップ、La Liga、Ligue 1、レジェンドのリーグ、MLB、MLS、MMA、NBA、NCAAB、NCAAF、NCAAW、NFL、NHL、PGA、Serie A、UCL、Valorant、WNBA、WTAをそれぞれ529のツールが含まれています。 [Titative Report] と実行されたレポートを整理しました。 [0]
##認証
MCP リクエストごとに BALLDONTLIE API キーが必要です。
MCP 以外のパブリックな初期化、ツールリスト、認証されたドキュメント、および API 操作は、送信前に提供されたキーを検証します。 他のツールは、正規化ヘッダーのみを対応する認証BALLDONTLIEエンドポイントに転送します。
パブリックサービスメタデータは[/healthと/.well-known/mcp-configに限られます。 [/api/docs]]]は有効なAPIキーが必要です。
敏感なアカウントツール
完全なアカウント API 表面が登録されますが、以下のツールはデフォルトで無効になっています
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
BALLDONTLIE MCP Server
Remote Model Context Protocol server for the BALLDONTLIE sports API. The tool catalog is generated from the vendored public OpenAPI specifications so endpoint methods, paths, parameters, and constraints stay aligned with the API source.
The current generated surface contains 529 tools from 27 specifications: Account, ATP, Bundesliga, college baseball, Counter-Strike, Dota 2, EPL, F1, FIFA World Cup, La Liga, Ligue 1, League of Legends, MLB, MLS, MMA, NBA, NCAAB, NCAAF, NCAAW, NFL, NHL, PGA, Serie A, UCL, Valorant, WNBA, and WTA. /health reports the authoritative runtime count and deployed revision.
Authentication
Every MCP request requires a BALLDONTLIE API key:
Authorization: Bearer YOUR_API_KEY
Initialization, tool listing, authenticated documentation, and API operations that are public outside the MCP validate the supplied key before proceeding. Other tool calls forward only the Authorization header to the corresponding authenticated BALLDONTLIE endpoint.
Public service metadata is limited to /health and /.well-known/mcp-config. /api/docs requires a valid API key.
Sensitive Account tools
The complete Account API surface is registered, but the following tools are disabled by default:
account_signupaccount_rotate_api_keyaccount_change_subscriptionaccount_cancel_subscriptionaccount_create_checkoutaccount_get_billing_portal
They can create credentials, change billing state, or return sensitive hosted billing-session URLs. A deployment must set ENABLE_SENSITIVE_ACCOUNT_TOOLS=true exactly to enable them. Enabling the flag means those values may intentionally enter the authenticated caller’s MCP transcript. Other spellings, casing, or whitespace fail closed.
account_get_me remains available but always omits the api_key response field.
MCP request example
curl https://mcp.balldontlie.io/mcp \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "nba_get_teams",
"arguments": {}
}
}'
Use tools/list to retrieve the current catalog, input schemas, and MCP read-only/destructive annotations.
Development
npm ci
npm run check:openapi
npm test
npm run build
The tests independently compare every generated operation and input against all vendored specifications. They also cover legacy tool-name compatibility, exact array query serialization, path/body dispatch, credential-safe errors and logs, API-key validation limits, and Account safety controls. Tests never call a live Account mutation.
Updating from the API source
- Copy
balldontlie-2/marketing/public/openapi.ymltoopenapi.yml. - Copy every
balldontlie-2/marketing/public/openapi/*.ymlfile intoopenapi/. - Update
scripts/openapi-source.jsonto the source API commit. - Run
npm run generate:openapi.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →