mlb-data
MLB data via ESPN public endpoints and the official MLB Stats API — scores, standings, rosters, schedules, game summaries, injuries, leaders, and news, plus an analytics backend: pitch-level velocity/spin/exit-velocity, career splits by stat group, league leaders, and schedules to 1901. Zero config, no API keys.
Commands 24
Live/recent MLB scores
Standings by league and division
All 30 MLB teams
Full roster for a team
Schedule for a specific team
Detailed box score and scoring plays
MLB statistical leaders
MLB news articles
Full play-by-play for a game
Win probability chart data
Games on a specific date (no season filter; see get_team_schedule)
Injury reports across all teams
Recent transactions
Futures/odds markets
Depth chart for a team
Team statistical profile
Player statistical profile
Search MLB's player registry by name
Games via the MLB Stats API — history to 1901, carries gamePk ids
Season/career/year-by-year splits by stat group via MLB Stats API; stat_type=game_log gives one split per game
Pitch-level PBP — velocity, spin, plate coords, exit velo, launch angle
Full box score with per-player batting/pitching via MLB Stats API
Standings by division via MLB Stats API
League leaders for any stat category via MLB Stats API
Example Prompts
- What are today's MLB scores?
- Show me the AL East standings
- Who's on the Yankees roster?
- Show me the full box score for last night's Dodgers game
- Who's on the IL for the Yankees?
Quick Start
sports-skills mlb get_scoreboard
from sports_skills import mlb mlb.get_scoreboard()