Balldontlie MCP Server

An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB

Remote serverstreamable-httpGo

What is the Balldontlie MCP server?

Connect Balldontlie to Claude, Cursor or any other MCP client and it stops being a tab you switch to. An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB. The balldontlie mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • get_teams — Gets the list of team from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football
  • Inputs — - league (enum ['NBA', 'NFL', 'MLB']): The sports league to get teams for
  • get_players — Gets the list of players from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football
  • get_games — Gets the list of games from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football
  • get_game — Get a specific game from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football

Credentials and setup notes

Configuration is passed through the environment: BALLDONTLIE_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Where it fits

This sits in the team communication group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Balldontlie's toolset — get_teams, Inputs, get_players and 2 more — is a fair guide to whether it matches your workflow. It is maintained by mikechao; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Balldontlie's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
get_teamsGets the list of team from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
Inputs- league (enum ['NBA', 'NFL', 'MLB']): The sports league to get teams for
get_playersGets the list of players from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
get_gamesGets the list of games from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
get_gameGet a specific game from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

How to install the Balldontlie MCP server

{
  "mcpServers": {
    "balldontlie": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "BALLDONTLIE_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
BALLDONTLIE_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Balldontlie to get teams.
  • Use Balldontlie to Inputs.
  • Use Balldontlie to get players.

Frequently asked questions

NBA (National Basketball Association), MLB (Major League Baseball), and NFL (National Football League).