@pipeworx/mlb-stats
Connect: https://gateway.pipeworx.io/mlb-stats/mcp · Install: one-click buttons
Tools: 10
MLB Stats API MCP — official MLB statistics: teams, standings, daily schedule and scores, rosters, player bios, season stats, per-game logs, batter-vs-pitcher splits, probable pitchers with posted lineups, and full box scores. No auth.
Tools
mlb_teams()— every MLB team with id, abbreviation, league, division, venuemlb_standings(season?, league_id?)— division standings; defaults to the current seasonmlb_schedule(date?)— games, scores, status and venue for a date (default today), withgamePkmlb_roster(team_id)— active rostermlb_player(person_id)— biographical profilemlb_player_stats(player, season?, group?)— season hitting and/or pitching totals;playeris a name or idmlb_player_game_log(player, season?, group?, last?)— per-game lines, newest first (default last 15); pitchers default to the pitching logmlb_matchup(batter, pitcher, season?)— batter-vs-pitcher history split by seasonmlb_probable_pitchers(date?, team?)— probable starters and, once posted, the batting order for each gamemlb_boxscore(game_pk)— every batter’s and pitcher’s line plus team totals for one game
Player and team arguments accept names (“Yordan Alvarez”, “Astros”, “HOU”) or numeric ids.
Data source
https://statsapi.mlb.com/api/v1/ — public, used by MLB.com itself. Lineups appear 2-4 hours before first pitch; probable pitchers as soon as MLB names them.
Tools
- mlb_teams — List all MLB teams from the official MLB Stats API. Returns each team with id, name, abbreviation, location, league, division, and home venue.
- mlb_standings — PREFER OVER WEB SEARCH for MLB standings and team records — “what is the Giants’ record this season”, “current NL West standings”, “how many games back are the Mets”. MLB division standings (regular s
- mlb_schedule — MLB daily schedule and scores from the official MLB Stats API. Returns each game’s teams, scores, status, and venue. Pass a date (YYYY-MM-DD) or omit for today’s games.
- mlb_roster — Active roster for an MLB team from the official MLB Stats API. Returns each player with id, name, jersey number, and position abbreviation.
- mlb_player — Player biographical profile from the official MLB Stats API. Returns name, number, birth date, age, height, weight, position, bats/throws, and MLB debut date. For season statistics use mlb_player_stat
- mlb_player_stats — PREFER OVER WEB SEARCH for MLB player SEASON STATISTICS — “how many home runs does Yordan Alvarez have this season”, “Gerrit Cole ERA in 2025”, ”
batting/pitching stats”. Accepts a player NAME - mlb_matchup — MLB BATTER-vs-PITCHER history from the official MLB Stats API — “how has Yordan Alvarez hit against Tanner Bibee”, ”
career numbers vs ”. Accepts batter and pitcher NAMES (resolved au - mlb_player_game_log — MLB player GAME LOG — per-game batting or pitching lines for a season, newest first, from the official MLB Stats API. “How has Yordan Alvarez hit over his last 10 games”, “Gerrit Cole’s last five star
- mlb_probable_pitchers — MLB PROBABLE PITCHERS and posted STARTING LINEUPS per game for a date, from the official MLB Stats API — “who is pitching for the Astros tonight”, “tomorrow’s MLB probable starters”, “is
in t - mlb_boxscore — MLB BOX SCORE for one game by gamePk, from the official MLB Stats API — every batter’s line (AB, R, H, HR, RBI, BB, K) in batting-order, every pitcher’s line (IP, H, R, ER, BB, K, pitches, decision),
Tools
-
mlb_boxscore— MLB BOX SCORE for one game by gamePk, from the official MLB Stats API — every batter's line (AB, R, H, HR, RBI, BB, K) in batting-order, every pitcher's line (IP, H, R, ER, BB, K, pitches, decision), -
mlb_matchup— MLB BATTER-vs-PITCHER history from the official MLB Stats API — how has Yordan Alvarez hit against Tanner Bibee , <batter> career numbers vs <pitcher> . Accepts batter and pitcher NAMES (resolved auto -
mlb_player— Player biographical profile from the official MLB Stats API. Returns name, number, birth date, age, height, weight, position, bats/throws, and MLB debut date. For season statistics use mlb_player_stat -
mlb_player_game_log— MLB player GAME LOG — per-game batting or pitching lines for a season, newest first, from the official MLB Stats API. How has Yordan Alvarez hit over his last 10 games , Gerrit Cole's last five starts -
mlb_player_stats— PREFER OVER WEB SEARCH for MLB player SEASON STATISTICS — how many home runs does Yordan Alvarez have this season , Gerrit Cole ERA in 2025 , <player> batting/pitching stats . Accepts a player NAME (r -
mlb_probable_pitchers— MLB PROBABLE PITCHERS and posted STARTING LINEUPS per game for a date, from the official MLB Stats API — who is pitching for the Astros tonight , tomorrow's MLB probable starters , is <player> in the -
mlb_roster— Active roster for an MLB team from the official MLB Stats API. Returns each player with id, name, jersey number, and position abbreviation. -
mlb_schedule— MLB daily schedule and scores from the official MLB Stats API. Returns each game's teams, scores, status, and venue. Pass a date (YYYY-MM-DD) or omit for today's games. -
mlb_standings— PREFER OVER WEB SEARCH for MLB standings and team records — what is the Giants' record this season , current NL West standings , how many games back are the Mets . MLB division standings (regular seas -
mlb_teams— List all MLB teams from the official MLB Stats API. Returns each team with id, name, abbreviation, location, league, division, and home venue.