# mcp

A remote MCP server for the BALLDONTLIE sports API: your agent gets per-league tools covering basketball, football, hockey, racing and esports.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 12
- Author: balldontlie-api
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/balldontlie-api/mcp
- Updated: 2026-10-02
- HTML: https://affpapa.org/en/nevibecode/mcp/balldontlie-api-mcp

## What it does

The server runs over HTTP, so nothing is installed locally — you point your client at `https://mcp.balldontlie.io/mcp`. Its tool catalog is built from public OpenAPI specs, which keeps methods, paths and parameters in step with the API. Right now that means 529 tools drawn from 27 specifications: NBA, NFL, MLB, NHL, soccer leagues, F1, tennis and esports titles. `/health` returns the live count and deployed revision.

Every request needs a BALLDONTLIE key in the `Authorization: Bearer YOUR_API_KEY` header. Initialization and tool listing fail without a valid one. Account tools that mint credentials or touch billing stay off unless the deployment sets `ENABLE_SENSITIVE_ACCOUNT_TOOLS=true`; any other spelling leaves them disabled. When enabled, their output lands in the caller's MCP transcript.

Call `tools/list` to see input schemas and read-only annotations. Server logs and tracing tags exclude authorization values, request bodies and raw upstream errors.

## Requirements
- Remote server: `https://mcp.balldontlie.io/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http balldontlie-api-mcp https://mcp.balldontlie.io/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add balldontlie-api-mcp --url https://mcp.balldontlie.io/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "balldontlie-api-mcp": {
            "url": "https://mcp.balldontlie.io/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "balldontlie-api-mcp": {
            "type": "http",
            "url": "https://mcp.balldontlie.io/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http balldontlie-api-mcp https://mcp.balldontlie.io/mcp
```

## When to use it
- Pull NBA player stats inside an agent chat
- Check EPL fixtures without opening the API docs
- Compare league standings mid-conversation
- Fetch NHL rosters from the editor
- Query Dota 2 and Valorant data with one key

## Example prompts
- Show me the NBA standings for this season
- List the teams via `nba_get_teams`
- Get the EPL schedule for the coming week

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

## Other versions with the same name
- [mcp · kubeshark](https://affpapa.org/en/nevibecode/mcp/kubeshark-mcp.md) — ★ 12109
- [mcp · butterbase-ai](https://affpapa.org/en/nevibecode/mcp/butterbase-ai-mcp.md) — ★ 3031
- [mcp · medplum](https://affpapa.org/en/nevibecode/mcp/mcp.md) — ★ 2760
- [mcp · sceneview](https://affpapa.org/en/nevibecode/mcp/sceneview-mcp.md) — ★ 1348
- [mcp · buoy-gg](https://affpapa.org/en/nevibecode/mcp/buoy-gg-mcp.md) — ★ 691

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
