# sports-hub

Brings sports analytics, match scores, and odds from 42 external APIs into your coding agent. Ideal for creating live scoreboards and fantasy sports tools.

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

## What it does

This server bundles 410 tools spanning 70+ sports disciplines, including esports and motorsport. It communicates with AI clients over stdio transport.

Running the package requires Node.js 18+. Nineteen data sources, including ESPN, NHL, and OpenF1, operate immediately without accounts or secret tokens. Setting the `SPORTS_HUB_PROVIDERS=free` environment variable restricts tool registration strictly to these keyless endpoints.

The remaining 23 providers need developer keys from free tier registrations. Missing credentials will not crash server startup; the system returns an error message only when you trigger an unauthenticated tool.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `SPORTS_HUB_PROVIDERS`, `API_SPORTS_KEY`, `PANDASCORE_TOKEN`, `THE_ODDS_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env SPORTS_HUB_PROVIDERS=<SPORTS_HUB_PROVIDERS> --env API_SPORTS_KEY=<API_SPORTS_KEY> --env PANDASCORE_TOKEN=<PANDASCORE_TOKEN> --env THE_ODDS_API_KEY=<THE_ODDS_API_KEY> --transport stdio sports-hub -- npx -y mcp-sports-hub
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add sports-hub --env SPORTS_HUB_PROVIDERS=<SPORTS_HUB_PROVIDERS> --env API_SPORTS_KEY=<API_SPORTS_KEY> --env PANDASCORE_TOKEN=<PANDASCORE_TOKEN> --env THE_ODDS_API_KEY=<THE_ODDS_API_KEY> -- npx -y mcp-sports-hub
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "sports-hub": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-sports-hub"
            ],
            "env": {
                "SPORTS_HUB_PROVIDERS": "<SPORTS_HUB_PROVIDERS>",
                "API_SPORTS_KEY": "<API_SPORTS_KEY>",
                "PANDASCORE_TOKEN": "<PANDASCORE_TOKEN>",
                "THE_ODDS_API_KEY": "<THE_ODDS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "sports-hub": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "mcp-sports-hub"
            ],
            "env": {
                "SPORTS_HUB_PROVIDERS": "<SPORTS_HUB_PROVIDERS>",
                "API_SPORTS_KEY": "<API_SPORTS_KEY>",
                "PANDASCORE_TOKEN": "<PANDASCORE_TOKEN>",
                "THE_ODDS_API_KEY": "<THE_ODDS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e SPORTS_HUB_PROVIDERS=<SPORTS_HUB_PROVIDERS> -e API_SPORTS_KEY=<API_SPORTS_KEY> -e PANDASCORE_TOKEN=<PANDASCORE_TOKEN> -e THE_ODDS_API_KEY=<THE_ODDS_API_KEY> sports-hub npx -y mcp-sports-hub
```
Replace <…> with your own values

## When to use it
- Fetch live match scores and schedules across leagues
- Retrieve Formula 1 race history and telemetry metrics
- Query player stats and puzzles from Lichess or Chess.com
- Track competitive esports fixtures through PandaScore

## Example prompts
- Show recent NHL game scores and team standings
- Get telemetry data for the latest Formula 1 Grand Prix
- Look up a player rating and recent games on Lichess

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

---
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
