Skip to main content
Glama
pipeworx-io

mcp-mlb-stats

by pipeworx-io

@pipeworx/mlb-stats

MLB Stats API MCP — official MLB statistics: schedules, scores, rosters, player stats, standings, box scores. No auth.

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

Tools

  • schedule(date?, season?, team_id?, sport_id?) — game schedule by date / season

  • standings(league_id?, season?, date?) — current/historic standings

  • get_team(team_id) — team profile

  • team_roster(team_id, roster_type?, season?) — players on a team

  • get_player(player_id) — player profile

  • player_stats(player_id, group?, season?, stats?) — career or season stats

  • get_boxscore(game_pk) — full game box score

  • get_game_feed(game_pk) — live game feed (play-by-play)

Related MCP server: MLB SportRadar MCP Server

Data source

https://statsapi.mlb.com/api/v1/ — public, used by MLB.com itself.

Quick Start

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

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

Or connect to the full Pipeworx gateway for access to all 1394+ data sources:

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

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English:

ask_pipeworx({ question: "your question about Mlb Stats data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    C
    maintenance
    Provides access to comprehensive MLB baseball statistics through the MLB Stats API, pybaseball library, Statcast data, FanGraphs, and Baseball Reference, including support for generating matplotlib visualizations.
    32
  • A
    license
    A
    quality
    D
    maintenance
    Connects Claude to the SportRadar MLB API to access real-time baseball data including game schedules, live scores, player statistics, team standings, injury reports, and play-by-play information through natural language queries.
    19
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables users to query MLB Statcast, FanGraphs, and Baseball Reference data using natural language through an AI assistant. It provides comprehensive tools for analyzing player performance, pitch-level data, season leaderboards, and team standings.
    24
    34
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to access comprehensive sports data including football, basketball, American football, and hockey leagues via 11 tools, with no API key required.
    MIT

View all related MCP servers

Related MCP Connectors

  • SEC EDGAR for AI agents: company filings, financials and insider trades. No API keys.

  • Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.

  • Machine-readable utilities and datasets for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-mlb-stats'

If you have feedback or need assistance with the MCP directory API, please join our Discord server