BaseballData API
Data
Coverage
MLB seasons held129MLB 2026 games2,469Postseason line scores40WBC and Premier12 games242Czech box scores1,430
See all coverage
DocsPricingStatus

Documentation/Guides

MCP tools | Baseball Data API

MCP tools

Every tool, what it does, and the call behind it.

ToolWhat it doesCallsPlan
my_usageYour key's plan, calls today, limits, when they reset, and the days your plan can read. Not counted against your allowance./v1/usageFree key
list_leaguesEvery league we hold, with its seasons and how many of its games carry each part of the record./v1/leaguesFree key
find_gamesGames in a league on a day or across a range of days, with final scores.
Takes: league, date, from, to, per_page
/v1/{league}/gamesFree key
get_gameOne game with its line score, the weather at the ground and the umpires, where held.
Takes: league, id
/v1/{league}/games/{id}Free key
yesterdays_resultsEvery finished game from yesterday in every league, newest league first./v1/results/yesterdayFree key
find_parksEvery major-league ground held, with its first and last game; or the grounds used in one season.
Takes: season, per_page
/v1/parksFree key
get_parkOne ground, and season by season its games, runs per game and park factor.
Takes: id
/v1/parks/{id}Free key
find_playersFind people in the US majors and Negro Leagues by name: players, managers, coaches and umpires.
Takes: name, per_page
/v1/playersFree key
get_playerOne person: names, birth and death, bats and throws, height and weight, and each role with its dates.
Takes: id
/v1/players/{id}Free key
get_boxscoreBatting and pitching lines for both sides of one game, where held.
Takes: league, id
/v1/{league}/games/{id}/boxscoreFree key
get_playsEvery plate appearance of one game in order, with the pitches where they were recorded.
Takes: league, id
/v1/{league}/games/{id}/playsFree key