MCP server
Mlb Stats
io.github.pipeworx-io/mlb-stats
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
MLB Stats API MCP — official MLB statistics (keyless).
Working at last checkOfficial: pipeworx.io's GitHub account (pipeworx-io)About 28,418 tokens per request once connected52 tools
https://gateway.pipeworx.io/mlb-stats/mcp
At a glance
- Type
- MCP server
- Publisher
- pipeworx.io (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 52
- Token cost
- About 28,418 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http mlb-stats https://gateway.pipeworx.io/mlb-stats/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.mlb-stats] url = "https://gateway.pipeworx.io/mlb-stats/mcp"
Gemini CLI
{"mcpServers":{"mlb-stats":{"httpUrl":"https://gateway.pipeworx.io/mlb-stats/mcp"}}}
Cursor
{"mcpServers":{"mlb-stats":{"url":"https://gateway.pipeworx.io/mlb-stats/mcp"}}}
VS Code
{"servers":{"mlb-stats":{"type":"http","url":"https://gateway.pipeworx.io/mlb-stats/mcp"}}}
Antigravity
agy mcp add mlb-stats https://gateway.pipeworx.io/mlb-stats/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"mlb-stats","server_url":"https://gateway.pipeworx.io/mlb-stats/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"mlb-stats","server_url":"https://gateway.pipeworx.io/mlb-stats/mcp"}
Tools
mlb_boxscore~197 tokens
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), and team batting/pitching totals for both clubs. Get the gamePk from mlb_schedule, mlb_probable_pitcmlb_matchup~270 tokens
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-batmlb_player~152 tokens
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_stats; for per-game form use mlb_player_game_log; for batter-vs-pitcher history use mlb_matchup.mlb_player_game_log~391 tokens
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", "<player> recent form". Accepts a player NAME (resolved automatically) or numeric person_id; demlb_player_stats~318 tokens
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 (resolved automatically) or a numeric person_id, plus an optional season year (defaults to the currmlb_probable_pitchers~254 tokens
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 lineup today". Returns each game with both teams, each team's probable starter (id + name), the bmlb_roster~112 tokens
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~110 tokens
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~241 tokens
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 season) from the official MLB Stats API. Returns wins, losses, win percentage, games back, division rmlb_teams~70 tokens
List all MLB teams from the official MLB Stats API. Returns each team with id, name, abbreviation, location, league, division, and home venue.
Browse
Related MCP servers
- Stat Ee
Statistics Estonia (andmed.stat.ee) PxWeb MCP. Keyless. - Textstats
Text statistics & readability MCP. - Rootz Officials
Origin-signed US political data: 25,546 officials, bills, votes, positions with sources. - Worldpop
WorldPop 100 m gridded population estimates from the University of Southampton — total population… - Idescat MCP Server
Query official statistics of Catalonia (Idescat): tables, metadata and JSON-stat data via MCP. - Halffee Coinrebate
Compliance-filtered crypto exchange fee comparison and rebate-link routing for AI agents. - Kosis Kr
Korean national statistics (KOSIS) — browse, search and pull time series from Statistics Korea's… - Taginfo
OSM Taginfo MCP — statistics on OpenStreetMap tags (keys and key=value pairs).
Badge for your README
[](https://aptlynx.net/servers/io.github.pipeworx-io/mlb-stats)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents