MLB Stats

MLB Stats MCP Connector for Claude

A+

Access real-time MLB data, player stats, game schedules, and live feeds directly from your AI agent.

13 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect the MLB Stats server to your AI agent to access the most comprehensive database of Major League Baseball information available. From real-time play-by-play to deep historical player statistics, your AI can now act as a professional sabermetrician or a real-time scoreboard.

What you can do

  • Live Game Tracking — Use get_live_game_feed to retrieve real-time play-by-play, boxscores, and game status updates.
  • Player Deep-Dives — Access detailed profiles with get_person and comprehensive hitting, pitching, or fielding statistics with get_stats.
  • League Structure — Query list_teams, list_leagues, and list_divisions to understand the organizational hierarchy of professional baseball.
  • Schedules & Results — Plan your viewing or analyze past performances using get_schedule for any specific date or range.
  • Standings & Rankings — Check the current race for the postseason with get_standings across different leagues and divisions.

How it works

  1. Subscribe to this server
  2. Enter 'PUBLIC' or your specific API identifier
  3. Start analyzing MLB data in Claude, Cursor, or any MCP-compatible environment

Who is this for?

  • Sports Analysts — Quickly pull specific player stats or team comparisons for articles or research.
  • Fantasy Baseball Players — Get real-time updates and deep statistical trends to manage your roster.
  • Developers — Integrate professional sports data into your coding environment for testing or hobby projects.
baseballmlbsports-datareal-time-statsplayer-analytics

13 tools expose this connector's capabilities to your AI agent.

list_divisions

List all divisions

list_game_status

g., Final, In Progress). List valid game state codes

list_leagues

List all leagues

get_live_game_feed

Retrieve real-time game data, play-by-play, and boxscores

get_person

Use hydrate to include extra data like stats or currentTeam. Retrieve detailed information about a specific player

list_positions

List player position codes

get_schedule

Retrieve game schedules and basic game information

list_sports

List all sports (MLB, MiLB levels)

get_standings

Can be filtered by league, season, and standings type. Retrieve current or historical league standings

list_stat_types

List valid strings for the stats parameter

get_stats

Retrieve statistical data for players or teams

list_teams

Can be filtered by sport, season, league, or specific team ID. Retrieve information about MLB teams and their affiliates

list_venues

List information about ballparks/venues

See how to talk to your AI agent using MLB Stats.

List all MLB teams and their IDs for the current season.

I've retrieved the team list. Some examples include the Arizona Diamondbacks (ID: 109), Atlanta Braves (ID: 144), and Baltimore Orioles (ID: 110). Would you like to see the full list or details for a specific team?

Show me the American League East standings for 2023.

Fetching 2023 AL East standings... The Baltimore Orioles finished first with 101 wins, followed by the Tampa Bay Rays with 99 wins. Would you like the full breakdown including wild card status?

Get the hitting stats for Shohei Ohtani (ID 660271) for the 2023 season.

In 2023, Shohei Ohtani had a .304 batting average, 44 home runs, and 95 RBIs over 135 games. He also posted a 1.066 OPS. Would you like to see his pitching stats for the same year?

Use the `get_live_game_feed` tool with the specific `gamePk` (game ID). This provides the most detailed real-time feed, including play-by-play and boxscores.

Related Connectors