get_matchup
ActiveTool of Mlb Stats
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 automatically) or numeric ids. Returns the batter's hitting line against that specific pitcher (at-bats, hits, HR, RBI, AVG, OPS, strikeouts), split by season with career totals.
Parameters schema
{
"type": "object",
"required": [
"batter",
"pitcher"
],
"properties": {
"batter": {
"type": "string",
"description": "Batter NAME (e.g. \"Yordan Alvarez\") or numeric MLB person id."
},
"season": {
"type": [
"number",
"string"
],
"description": "Optional season year to limit to; omit for full career."
},
"pitcher": {
"type": "string",
"description": "Pitcher NAME (e.g. \"Tanner Bibee\") or numeric MLB person id."
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Mlb Stats
https://github.com/pipeworx-io/mcp-mlb-stats
1/7 registries