mlb_mcp
0
The Pybaseball MCP Server is a FastAPI-based application designed to provide convenient access to MLB and Fangraphs data through the pybaseball library. It features endpoints for retrieving player stats, team stats, and MLB leaderboards.
Pybaseball MCP Server
This FastAPI-based MCP server provides access to MLB and Fangraphs baseball data using the pybaseball library.
Features
- Fetch player Statcast data with optional date range filtering.
- Obtain team batting or pitching stats for a specified year.
- Retrieve MLB leaderboard statistics for specific stats, seasons, and leagues.
API Documentation
Interactive API documentation is available once running at the provided local address.
Deployment
Ready for deployment on Smithery or any MCP-compatible platform with pure Python dependencies.