MLB Stats icon

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.

주요 기능

  • 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

사용 사례

  • Generating visualizations of baseball statistics with `pybaseball` and Matplotlib.
  • Accessing and analyzing MLB data programmatically.
  • Integrating baseball statistics into MCP-compatible applications.
Craft Better Prompts with AnyPrompt
Sponsored