MLB Stats
0
Provides structured API access to baseball statistics from various sources.
About
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.
Key Features
- Provides MLB statistics data through an MCP server.
- Supports MLB Stats API, Statcast, Fangraphs, and Baseball Reference data.
- Includes tools for generating matplotlib plots as base64 encoded images.
- Configurable logging via environment variables.
- Includes comprehensive pytest tests for MCP server functionality
- 0 GitHub stars
Use Cases
- Generating visualizations of baseball statistics with `pybaseball` and Matplotlib.
- Accessing and analyzing MLB data programmatically.
- Integrating baseball statistics into MCP-compatible applications.