GM

guillochon/mlb-api-mcp

Developer tools

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

59 stars 12 forks 品質 68 トレンド 17MIT

モデルコンテクストプロトコル(MCP)サーバーは、FastMCP ベースのインターフェースにより、MLB 統計と野球データへの包括的なアクセスを実現します.

概要

モデルコンテクストプロトコル(MCP)サーバーは、FastMCP ベースのインターフェースにより、MLB 統計と野球データへの包括的なアクセスを実現します。 このMCPサーバーは、AIアプリケーションとMLBデータソース間のブリッジとして機能し、野球統計、ゲーム情報、プレーヤーデータなどのシームレスな統合を可能にし、AIワークフローやアプリケーションに。 - リーグ、シーズン、日付による柔軟なフィルタリングとすべてのMLBチームのために - そして、日付範囲のサポートによる結果 - 従来型および標準的ステータスを含む(WAR、wOBA、wRC +) - およびさまざまなロスタータイプを持つロスター - を含むボックススコア、ラインコア、およびプレイバイプレイ - およびスコアリングプレイ - 機能性 - および賞の受入者 - およびラインナップ情報 すべての MLB/statistics/game/player/team/etc. 機能は、RESTful HTTP エンドポイントではなく、MCP ツールとして公開されます。 これらのツールは、MCP プロトコルを使用して /mcp/ エンドポイントを介してアクセス可能です。 利用可能なツールとその説明の一覧については、サーバーが稼働しているときに /tools/ を参照してください.

概要(AI 翻訳)

モデルコンテクストプロトコル(MCP)サーバーは、FastMCP ベースのインターフェースにより、MLB 統計と野球データへの包括的なアクセスを実現します。

概要

このMCPサーバーは、AIアプリケーションとMLBデータソース間のブリッジとして機能し、野球統計、ゲーム情報、プレーヤーデータなどのシームレスな統合を可能にし、AIワークフローやアプリケーションに。

##特徴

##MLBデータアクセス -**すべてのMLBチームは、リーグ、シーズン、日付による柔軟なフィルタリング

  • ゲームスケジュールと日付範囲のサポートによる結果
  • ** プレイヤーの統計** 従来型および非対称的な統計(WAR、wOBA、wRC+)を含む -チーム情報と様々なロスタータイプのロスター
  • ライブゲームデータボックススコア、ラインコア、プレイバイプレイを含む** -ゲームハイライトとスコアリングプレイ -プレイヤーとチーム検索機能 -Draft情報と受賞歴 -ゲームペース統計とラインナップ情報

MCP ツール

すべての MLB/statistics/game/player/team/etc. 機能は、RESTful HTTP エンドポイントではなく、MCP ツールとして公開されます。 これらのツールは、MCP プロトコルを使用して [/mcp/ エンドポイントを介してアクセス可能です.

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

README

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

MLB API MCP Server

A Model Context Protocol (MCP) server that provides comprehensive access to MLB statistics and baseball data through a FastMCP-based interface.

Overview

This MCP server acts as a bridge between AI applications and MLB data sources, enabling seamless integration of baseball statistics, game information, player data, and more into AI workflows and applications.

Features

MLB Data Access

  • Current standings for all MLB teams with flexible filtering by league, season, and date
  • Game schedules and results with date range support
  • Player statistics including traditional and sabermetric stats (WAR, wOBA, wRC+)
  • Team information and rosters with various roster types
  • Live game data including boxscores, linescores, and play-by-play
  • Game highlights and scoring plays
  • Player and team search functionality
  • Draft information and award recipients
  • Game pace statistics and lineup information

MCP Tools

All MLB/statistics/game/player/team/etc. functionality is exposed as MCP tools, not as RESTful HTTP endpoints. These tools are accessible via the /mcp/ endpoint using the MCP protocol. For a list of available tools and their descriptions, visit /tools/ when the server is running.

Key MCP Tools

  • get_mlb_standings - Current MLB standings with league and season filters
  • get_mlb_schedule - Game schedules for specific dates, ranges, or teams
  • get_mlb_team_info - Detailed team information
  • get_mlb_player_info - Player biographical information
  • get_mlb_boxscore - Complete game boxscores
  • get_mlb_linescore - Inning-by-inning game scores
  • get_mlb_game_highlights - Video highlights for games
  • get_mlb_game_scoring_plays - Play-by-play data with event filtering
  • get_mlb_game_pace - Game duration and pace statistics
  • get_mlb_game_lineup - Detailed lineup information for games
  • get_multiple_mlb_player_stats - Traditional player statistics
  • get_mlb_sabermetrics - Advanced sabermetric statistics (WAR, wOBA, etc.)
  • get_mlb_roster - Team rosters with various roster types
  • get_mlb_search_players - Search players by name
  • get_mlb_search_teams - Search teams by name
  • get_mlb_players - All players for a sport/season
  • get_mlb_teams - All teams for a sport/season
  • get_mlb_draft - Draft information by year
  • get_mlb_awards - Award recipients
  • get_current_date - Current date
  • get_current_time - Current time
GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @guillochon/mlb-api-mcp --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →