MCP.Market

Mlb Stats MCP server

online · 100% uptime
by pipeworx-io·io.github.pipeworx-io/mlb-stats·v0.4.1

MLB Stats API MCP — official MLB statistics (keyless).

A87/100grade A
What users say
No reviews yet
Be the first
Safety scan
A87/100

not scanned yet

Adoption
Growing

0 stars

Reviews

Write one

Nobody has reviewed Mlb Stats yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Mlb Stats tools

Tool list not cached yet. `describe` through the gateway fetches it live.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Mlb Stats compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
87/100
higher than 73% of 48,255 servers
Uptime
100%
of our recent checks; the typical remote server answers 100%
Response time
54 ms
faster than 92% of 30,031 servers

Release history: 6 versions in the registry since 2026-06-08, latest 2026-11-03, typically one every 5 days.

Install Mlb Stats in Claude Code, Cursor or VS Code

claude mcp add --transport http mlb-stats https://gateway.pipeworx.io/mlb-stats/mcp
Add to Cursor

What the publisher says

From the Mlb Stats repository's README, as published. We do not edit it. Read it on GitHub

@pipeworx/mlb-stats

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.

Part of Pipeworx — an MCP gateway connecting AI agents to 1679+ live data sources.

Tools

  • mlb_teams() — every MLB team with id, abbreviation, league, division, venue
  • mlbstandings(season?, leagueid?) — division standings; defaults to the current season
  • mlb_schedule(date?) — games, scores, status and venue for a date (default today), with gamePk
  • mlbroster(teamid) — active roster
  • mlbplayer(personid) — biographical profile
  • mlbplayerstats(player, season?, group?) — season hitting and/or pitching totals; player is a name or id
  • mlbplayergame_log(player, season?, group?, last?) — per-game lines, newest first (default last 15); pitchers default to the pitching log
  • mlb_matchup(batter, pitcher, season?) — batter-vs-pitcher history split by season
  • mlbprobablepitchers(date?, team?) — probable starters and, once posted, the batting order for each game
  • mlbboxscore(gamepk) — 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.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "mlb-stats": {
      "url": "https://gateway.pipeworx.io/mlb-stats/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/mlb-stats/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — askpipeworx, discovertools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 1679+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/mlb_teams \
  -H 'Content-Type: application/json' \
  -d '{}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/mlbteams. Find one: POST https://gateway.pipeworx.io/v1/tools/searchpacks with {"query":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

{
  "mcpServers": {
    "mlb-stats": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-mlb-stats"]
    }
  }
}

Or run it directly to confirm it starts:

npx -y @pipeworx/mcp-mlb-stats

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Mlb Stats: common questions

Is Mlb Stats MCP server safe?
Yes, by our scan: it is graded A (87/100). Read the Mlb Stats safety report
How do I install Mlb Stats?
It runs remotely at gateway.pipeworx.io. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does Mlb Stats need an API key?
Yes. The registry entry asks for PIPEWORX_API_KEY.
Is Mlb Stats maintained?
The last commit was 40 days ago (2026-09-25). The latest release is v0.4.1.
Is Mlb Stats up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
How does Mlb Stats compare with other MCP servers?
safety score 87/100 (higher than 73% of 48,255 servers); uptime 100% (of our recent checks; the typical remote server answers 100%); response time 54 ms (faster than 92% of 30,031 servers). Full comparison.

More from pipeworx-io →