MB

mikechao/balldontlie-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

26 stars 13 forks 品質 71 トレンド 0MIT

MCPとは Balldontlie API を統合し、NBA、NFL、MLB のプレーヤー、チーム、ゲームに関する情報を提供

概要

MCPとは Balldontlie API を統合し、NBA、NFL および MLB のプレーヤー、チーム、ゲームに関する情報を提供します。 - 次のリーグNBA(全国バスケットボール協会)、MLB(メジャーリーグ野球)、NFL(ナショナルフットボールリーグ)の1人からチームのリストを取得する - 入力: - リーグ(enum ['NBA'、'NFL'、'MLB')): チームを得るためのスポーツリーグ - 次のリーグNBA(ナショナルバスケットボール協会)、MLB(メジャーリーグ野球)、NFL(ナショナルフットボールリーグ)の1人から選手のリストを取得する - 入力: - リーグ(enum ['NBA'、'NFL'、'MLB')): 選手を獲得するためのスポーツリーグ - 最初に 名前(string、任意): 検索するプレーヤーの最初の名前 - lastName(文字列、オプション): 検索するプレーヤーの最後の名前 - カーソル(番号、オプション): 舗装用カーサーター - 次のリーグNBA(ナショナルバスケットボール協会)、MLB(メジャーリーグ野球)、NFL(ナショナルフットボールリーグ)の1人からのゲームのリストを取得する - ...

概要(AI 翻訳)

MCPとは Balldontlie API を統合し、NBA、NFL および MLB のプレーヤー、チーム、ゲームに関する情報を提供します。

ツール

  • get teams

  • 次のリーグNBA(全国バスケットボール協会)、MLB(メジャーリーグ野球)、NFL(全国サッカーリーグ)のいずれかからチームのリストを取得します。

  • 入力:

  • [league] (enum [‘NBA’, ‘NFL’, ‘MLB’)]: チームを得るためのスポーツリーグ

  • get players

  • 次のリーグNBA(全国バスケットボール協会)、MLB(メジャーリーグ野球)、NFL(全国サッカーリーグ)の1人から選手のリストを取得する

  • 入力:

  • [league] (enum [‘NBA’, ‘NFL’, ‘MLB’)]: 選手を手に入れるスポーツリーグ

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

  • [lastName] (文字列、オプション): 検索するプレーヤーの最後の名前

  • [cursor] (オプション) パジネーションのカーサーター

  • get games

  • 次のリーグNBA(全国バスケットボール協会)、MLB(メジャーリーグ野球)、NFL(全国サッカーリーグ)の1人からのゲームのリストを取得する

  • 入力:

  • [league] (enum [‘NBA’, ‘NFL’, ‘MLB’)]: スポーツリーグでゲームをゲット

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Balldontlie MCP Server

An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB.

Tools

  • get_teams

    • 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 (enum [‘NBA’, ‘NFL’, ‘MLB’]): The sports league to get teams for
  • get_players

    • 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 (enum [‘NBA’, ‘NFL’, ‘MLB’]): The sports league to get players for
      • firstName (string, optional): The first name of the player to search for
      • lastName (string, optional): The last name of the player to search for
      • cursor (number, optional): Cursor for pagination
  • get_games

    • 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 (enum [‘NBA’, ‘NFL’, ‘MLB’]): The sports league to get games for
      • dates (string[], optional): Get games for specific dates, format: YYYY-MM-DD
      • teamIds (string[], optional): Get games for specific games
      • cursor (number, optional): Cursor for pagination
  • get_game

    • Get a specific game from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
    • Inputs:
      • league (enum [‘NBA’, ‘NFL’, ‘MLB’]): The sports league to get the game for
      • gameId (number): The id of the game from the get_games tool

Prompts

  • schedule_generator

Given a league (NBA, MLB, NFL), a starting date and ending date generates an interactive schedule in Claude Desktop.

Sample queries

With this MCP Server installed you can ask Claude or other LLM questions like the following.

Show me today's baseball games.
Can you find football players with the last name Purdy?
GitHub で README 全文を見る

インストール

npx -y balldontlie-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →