# BALLDONTLIE

> BALLDONTLIE is an MCP server for sports data. MCP server giving AI clients live sports data from 27 leagues via BALLDONTLIE API. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Repository:** https://github.com/balldontlie-api/mcp
- **MCP Registry name:** io.balldontlie/mcp
- **Categories:** [sports data](https://ai-powered.com/categories/sports-data)
- **Listing updated:** 2026-11-21

## About

Connect an AI assistant to BALLDONTLIE's sports data through a remote Model Context Protocol endpoint. The server exposes several hundred tools generated from public OpenAPI specifications, covering leagues such as the NBA, NFL, MLB, NHL, F1, soccer competitions and several esports titles. Each tool maps to a single API operation, so parameters and constraints match the upstream endpoints.

Requests authenticate with a BALLDONTLIE API key sent as a bearer token, and the server forwards that header only to the matching upstream endpoint. Account management tools for signup, key rotation and billing are registered but disabled by default, and must be explicitly enabled by the deployment operator.

The server suits developers and analysts who want an assistant to answer questions about live scores, teams, players and statistics without writing custom API integration code.

## Features

- **Broad league coverage:** Tools span 27 competitions including NBA, NFL, MLB, NHL, F1, MMA, tennis and several esports titles.
- **Generated tool catalog:** Each tool is generated from a public OpenAPI specification, keeping endpoints and parameters aligned with the API.
- **Remote streamable HTTP transport:** Clients connect to a hosted endpoint over streamable HTTP without running a local process.
- **Bearer key authentication:** Every request requires a BALLDONTLIE API key passed in the Authorization header.
- **Disabled-by-default account tools:** Signup, key rotation and billing tools stay off unless the deployment explicitly enables them.

## Good for

- Ask an AI assistant for live scores and game results across multiple leagues
- Pull team and player statistics into an analysis or reporting workflow
- Build a sports chatbot that answers questions from current league data
- Prototype fantasy or betting-research tools against structured sports data

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.balldontlie.io/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.balldontlie.io/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.balldontlie.io/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://mcp.balldontlie.io/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://mcp.balldontlie.io/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://mcp.balldontlie.io/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.balldontlie.io/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.balldontlie.io/mcp
```

Enter a Name (for example "BALLDONTLIE"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.balldontlie.io/mcp"
    }
  }
}
```

## FAQ

### What do I need to use the server?

Every MCP request requires a BALLDONTLIE API key sent as a bearer token in the Authorization header.

### How many tools does BALLDONTLIE expose?

The generated catalog contains 529 tools drawn from 27 sports and esports specifications.

### Are account billing tools available by default?

No. Signup, key rotation and subscription tools are disabled unless the deployment sets ENABLE_SENSITIVE_ACCOUNT_TOOLS to true.

### How do I add BALLDONTLIE to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.balldontlie.io/mcp

### What are the best alternatives to BALLDONTLIE?

The closest alternatives to BALLDONTLIE are 0to100, Bundesliga — German football, Sportscore MCP, Realtime Sports API and Sports MCP Server.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [0to100](https://ai-powered.com/mcp/0to100): 0to100 is an MCP server for sports data.
- [Bundesliga — German football](https://ai-powered.com/mcp/bundesliga-german-football): Bundesliga — German football is an open-source MCP server for sports data.
- [Sportscore MCP](https://ai-powered.com/mcp/sportscore-mcp): Sportscore MCP is an open-source MCP server for sports data.
- [Realtime Sports API](https://ai-powered.com/mcp/realtime-sports-api): Realtime Sports API is a freemium MCP server for sports data.
- [Sports MCP Server](https://ai-powered.com/mcp/sports-mcp-server): Sports MCP Server is a paid MCP server for sports data.
- [ESPN Sports MCP by UnClick](https://ai-powered.com/mcp/espn-sports-mcp-by-unclick): ESPN Sports MCP by UnClick is an open-source MCP server for sports data.
- [Sports Events Results MCP](https://ai-powered.com/mcp/sports-events-results-mcp): Sports Events Results MCP is an MCP server for sports data.
- [CricketStudio MCP](https://ai-powered.com/mcp/cricketstudio-mcp): CricketStudio MCP is an open-source MCP server for sports data.

---
Source: https://ai-powered.com/mcp/balldontlie-2
