SportRadar MLB

Provides up-to-date MLB data from SportRadar, including schedules, standings, player stats, game details, and injuries via MCP.
  • python

1

GitHub Stars

python

Language

3 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "robcerda-mlb-sportradar-mcp": {
      "command": "/Users/<USERNAME>/.local/share/uv/tools/mcp/bin/mcp",
      "args": [
        "run",
        "/full/path/to/mlb-sportradar-mcp/src/mlb_sportradar_mcp/server.py"
      ],
      "env": {
        "SPORTRADAR_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

You can connect Claude to the SportRadar MLB API through this MCP server to access live game data, standings, player stats, and more. It provides a programmable interface to query MLB information and feed it into Claude conversations or workflows.

How to use

Install and configure the MCP client, then run the server to make MLB SportRadar data available to Claude. You will use a local MCP runtime to host the Python server and expose endpoints Claude can query.

Prerequisites you will need:

  • Python 3.12 or higher
  • SportRadar API key
  • MCP Python SDK and dependencies (httpx, python-dotenv) installed in a virtual environment
  • The MCP client tool (to run the server through Claude Desktop) installed globally

Configure Claude Desktop with the MLB SportRadar MCP server

  1. Ensure the MCP CLI is installed globally.
uv tool install "mcp[cli]"
  1. Add the server to your Claude Desktop configuration with the following settings. Replace /full/path/to/ with the actual absolute path to your mlb-sportradar-mcp directory.
{
  "mcpServers": {
    "MLB SportRadar": {
      "command": "/Users/<USERNAME>/.local/share/uv/tools/mcp/bin/mcp",
      "args": ["run", "/full/path/to/mlb-sportradar-mcp/src/mlb_sportradar_mcp/server.py"]
    }
  }
}

Start using the MCP server with Claude

Restart Claude Desktop after saving the configuration. Claude will then be able to access the MLB SportRadar tools listed below.

Available data access points include game data, standings, team and player information, and league leaders. You can ask Claude for current schedules, game summaries, box scores, play-by-play data, pitch metrics, standings for a year and league, team rosters, player seasonal stats, injuries, and recent transactions.

Examples of High-Value Queries:

  • Show me today’s MLB schedule
  • What are the current AL standings?
  • Who are the batting leaders in MLB right now?
  • Show me the injury report for MLB
  • Get play-by-play data for a specific game
  • Show me pitch metrics for the latest game
  • Get player splits for a player
  • What transactions happened today in MLB?

Available tools

get_daily_schedule

Fetch MLB schedule for a specific date or today.

get_game_summary

Retrieve summary information for a specified game.

get_game_boxscore

Obtain detailed boxscore for a game.

get_game_play_by_play

Get detailed play-by-play data for a game.

get_game_pitch_metrics

Access pitch-by-pitch metrics and Statcast data.

get_standings

Retrieve MLB standings for a year and league.

get_team_profile

Fetch detailed information about a team.

get_team_roster

Retrieve the current roster for a team.

get_team_hierarchy

Get complete team hierarchy with divisions.

get_seasonal_statistics

Obtain seasonal statistics for a team.

get_player_profile

Fetch detailed player information.

get_player_seasonal_stats

Retrieve seasonal statistics for a player.

get_seasonal_splits

Get player splits (home/away, vs lefty/righty, etc.).

get_league_leaders

Fetch MLB league leaders in various categories.

get_injuries

Obtain current MLB injury report.

get_transactions

Retrieve MLB transactions for a specific date.

get_draft_summary

Get MLB draft summary for a specific year.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational