MLB Stats
Provides structured API access to baseball statistics from various sources.
MLB Stats is a Python project providing a Model Context Protocol (MCP) server for accessing MLB statistics data. Leveraging the MLB Stats API and the `pybaseball` library, it delivers statcast, Fangraphs, and Baseball Reference statistics through a structured API, accessible with MCP-compatible clients.
주요 기능
01Provides MLB statistics data through an MCP server.
02Supports MLB Stats API, Statcast, Fangraphs, and Baseball Reference data.
03Includes tools for generating matplotlib plots as base64 encoded images.
04Configurable logging via environment variables.
05Includes comprehensive pytest tests for MCP server functionality
060 GitHub stars
사용 사례
01Generating visualizations of baseball statistics with `pybaseball` and Matplotlib.
02Accessing and analyzing MLB data programmatically.
03Integrating baseball statistics into MCP-compatible applications.