Skip to main content
Glama
balldontlie-mcp

balldontlie-mcp

by mikechao

Balldontlie MCP サーバー

鍛冶屋のバッジ

Balldontlie API を統合し、NBA、NFL、MLB の選手、チーム、試合に関する情報を提供する MCP サーバー実装。

ツール

  • get_teams

    • NBA、NFL、MLBのチームリストを入手

    • 入力:

      • league (enum ['NBA', 'NFL', 'MLB']): チームを取得するスポーツリーグ

  • プレイヤーを取得する

    • NBA、NFL、MLBの選手リストを取得します

    • 入力:

      • league (enum ['NBA', 'NFL', 'MLB']): 選手を獲得するスポーツリーグ

      • firstName (文字列、オプション): 検索するプレイヤーの名前

      • lastName (文字列、オプション): 検索するプレイヤーの姓

      • cursor (数値、オプション):ページ区切りのカーソル

  • get_games

    • NBA、NFL、MLBの試合リストを取得します

    • 入力:

      • league (enum ['NBA', 'NFL', 'MLB']): 試合を観戦するスポーツリーグ

      • dates (文字列[], オプション): 特定の日付のゲームを取得します。形式: YYYY-MM-DD

      • teamIds (string[], オプション): 特定のゲームのゲームを取得する

      • cursor (数値、オプション):ページ区切りのカーソル

  • ゲットゲーム

    • NBA、MLB、NFLのいずれかのリーグから特定の試合を取得します

    • 入力:

      • league (enum ['NBA', 'NFL', 'MLB']): 試合を観戦するスポーツリーグ

      • gameId (数値): get_games ツールから取得したゲームの ID

Related MCP server: mlb-api-mcp

プロンプト

  • スケジュールジェネレータ

リーグ (NBA、MLB、NFL) と開始日および終了日を指定すると、Claude Desktop でインタラクティブなスケジュールが生成されます。

クロードデスクトップの例

構成

APIキーの取得

  1. Balldontlie.ioでアカウントを登録する

  2. このMCPサーバーでは無料プランで十分です

Smithery経由でインストール

Smithery経由で Claude Desktop 用の balldontlie-mcp を自動的にインストールするには:

npx -y @smithery/cli install @mikechao/balldontlie-mcp --client claude

Claude Desktopでの使用

これをclaude_desktop_config.jsonに追加します:

{
  "mcp-servers": {
    "balldontlie": {
      "command": "npx",
      "args": [
        "-y",
        "balldontlie-mcp"
      ],
      "env": {
        "BALLDONTLIE_API_KEY": "YOUR API KEY HERE"
      }
    }
  }
}

LibreChatでの使用

mcpServers:
  balldontlie:
    command: sh
    args:
      - -c
      - BALLDONTLIE_API_KEY=your-api-key-here npx -y balldontlie-mcp

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

免責事項

このライブラリはballdontlie.ioと公式には提携していません。MCPサーバーを使用したballdontlie APIのサードパーティ実装です。

Available Tools

4 tools
get_gameB

Get a specific game from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

Inputs: league (required), gameId (required).

get_gamesB

Gets the list of games from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

Inputs: league (required), dates, seasons, teamIds, +1 more.

get_playersA

Gets the list of players from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

Inputs: league (required), firstName, lastName, cursor.

get_teamsA

Gets the list of team from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

Inputs: league (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct resource: a single game, list of games, players, or teams. There is no overlap in functionality.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with get_ prefix and snake_case. No deviations.

    Tool Count5/5

    Four tools are well-scoped for a sports data server covering three leagues. Not too many or too few.

    Completeness3/5

    The server provides only read operations. Missing single-player and single-team retrieval, and no filtering or search capabilities are indicated in descriptions.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP Server that enables interaction with MLB scores and statistics via the SportsData.io MLB V3 Scores API, allowing users to access baseball data through natural language queries.
      -
    • A
      license
      B
      quality
      D
      maintenance
      Python MCP server that provides comprehensive access to MLB statistics and baseball data through a FastAPI-based interface. Acts as a bridge between AI applications and MLB data sources, enabling seamless integration of baseball statistics, game information, player data, and more.
      24
      59
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for accessing college basketball statistics through the SportsData.io CBB v3 Stats API, enabling AI agents to retrieve and analyze college basketball data through natural language interactions.
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for NBA live data and stats, providing read-only tools to query live scores, box scores, player info, standings, and more from NBA.com.
      15
      11 npm
      1
      MIT