mcp_mlb_statsapi

mcp_mlb_statsapi

0

The baseball-mcp project is an MCP server that wraps the MLB Stats API to provide easy access to MLB data such as schedules, results, and player information. It supports efficient data retrieval within an MCP framework.

baseball-mcp: An MLB Stats API Wrapper for MCP

This project provides an MCP server that acts as a wrapper for the MLB Stats API to access and process MLB data. It includes features such as game schedules, game results, team results, and player lookup. The server allows for efficient data retrieval within an MCP framework.

Features

  • Game Schedules: Retrieve MLB game schedules for specified date ranges, optionally filtering by team.
  • Game Results: Fetch daily game results, including scores and win/loss information.
  • Team Results: Get results for a specific team's recent games with details and highlights.
  • Player Lookup: Look up player IDs with fuzzy matching support.

Installation

  • Requires Python 3.10 or newer and the uv package manager.
  • Install via PyPI with pip install mcp_mlb_statsapi.
  • Install via GitHub by cloning the repo and setting up the environment using uv.

Contributions and license details are included, with the project licensed under the MIT License.