MLB Stats API

Integrates with MLB Stats API and pybaseball to provide real-time baseball statistics, game schedules, player data including saber

guillochon 58
Claude CodeClaude DesktopGeneric
View source ↗

This MLB API MCP Server provides comprehensive access to Major League Baseball statistics and data through a FastMCP-based interface that bridges AI applications with MLB data sources. Built by James Guillochon, it exposes over 20 specialized tools for retrieving current standings, game schedules, player statistics including sabermetrics like WAR and wOBA, team rosters, live game data with boxscores and play-by-play, game highlights, and Statcast data for advanced baseball analytics. The server integrates both the official MLB Stats API and pybaseball for Statcast data, supports flexible team/player identification by name or ID, includes intelligent result size management to prevent overwhelming responses, and offers both HTTP and stdio transports with Docker deployment options, making it valuable for sports analytics, fantasy baseball applications, and AI-driven baseball research workflows.

Source

Repository: https://github.com/guillochon/mlb-api-mcp

Maintain MLB Stats API?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[MLB Stats API on getagentictools](https://getagentictools.com/mcp/guillochon-mlb-api-mcp?ref=badge)