MCP Hub
Back to servers

sports-hub

29 sports API providers, 319 tools. Scores, stats, odds, esports, and more.

Registry
Updated
Apr 1, 2026

Quick Install

npx -y mcp-sports-hub

Sports Hub MCP Server

License: MIT TypeScript MCP SDK Node.js Providers Tools CI npm macOS Linux Windows

A unified MCP server that aggregates 29 sports API providers into a single service. 319 tools covering scores, stats, odds, esports, college sports, and more across 70+ sports.

Each provider works independently. You only need API keys for the providers you use. Missing keys don't block startup — tools return an error when called without their key.

Works with: Claude ChatGPT Cursor Windsurf Zed Continue Cline

Demo

mcp-sports-hub demo

NBA scores, Premier League odds, Tennis H2H — all from a single MCP server.

Compatibility

Platforms

OSStatus
macOSSupported
LinuxSupported
WindowsSupported

MCP Clients

ClientStatusNotes
Claude DesktopSupportedAnthropic's desktop app
Claude Code (CLI)Supportedclaude mcp add
CursorSupportedBuilt-in MCP
Windsurf (Codeium)SupportedBuilt-in MCP
Continue.devSupportedOpen-source AI assistant
ClineSupportedVS Code extension
ZedSupportedBuilt-in MCP
ChatGPT DesktopSupportedOpenAI desktop app
Gemini CLISupportedGoogle CLI
Any MCP clientSupportedStdio + HTTP/SSE transport

Uses the stdio transport from the MCP SDK. Works with any LLM (Claude, GPT, Gemini, Llama, Mistral, etc.).

Requirements: Node.js 18+, npm.

Providers (29)

Works instantly — no API key, no signup (9 providers, 98 tools)

These providers work out of the box. Just build and run.

PrefixProviderCoverageToolsNotes
espn_ESPN20+ sports10Unofficial — can break
nhl_NHL Web APINHL13Undocumented but stable
mlb_MLB Stats APIMLB/MiLB13Official, undocumented
f1_Jolpica F1Formula 1 (1950+)13Community-maintained
openf1_OpenF1F1 live telemetry12Live race weekends only
openliga_OpenLigaDBGerman football10Bundesliga focus
golfcourse_GolfCourseAPI30K+ courses6Course data only
sportsdb_TheSportsDB40+ sports13Test key auto, watermarks
ncaa_NCAA APICollege sports85 req/s rate limit

Tip: Use SPORTS_HUB_PROVIDERS=free to load only these 9 providers.

Free tier with API key — signup required, no credit card (20 providers, 221 tools)

Registration takes 1-2 minutes. All keys are free.

PrefixProviderCoverageToolsFree LimitGet Key
pandascore_PandaScoreEsports (13 titles)141000 req/hrSign up
apifootball_API-FootballSoccer (960+ leagues)15100 req/daySign up
apisports_API-Sports9 sports10100 req/day/sportSign up
apitennis_API-TennisTennis (ATP/WTA/ITF)12100 req/daySign up
bdl_BallDontLieNBA/NFL/MLB/NHL10Basic tierSign up
cricket_CricketDataCricket10100 req/daySign up
entitycricket_Entity SportCricket (250+ comps)12Free planSign up
footballdata_football-data.orgSoccer (12 leagues)1110 req/minSign up
sportmonks_SportmonksSoccer123000 req/hrSign up
sportsdata_SportsDataIO9 sports121000 req/moSign up
odds_The Odds API70+ sports odds9500 req/moSign up
oddsio_Odds-API.io34 sports odds10Free accountSign up
sgo_Sports Game Odds55+ leagues odds10TrialSign up
mma_Fighting TomatoesMMA8200 req/moSign up
livegolf_Live Golf APIGolf (PGA/DP World)8Free tierSign up
isports_iSportsAPIFootball/Basketball (Asia)10Free tierSign up
sportdevs_SportDevsRugby/Volleyball/Handball12TrialSign up
msf_MySportsFeedsNFL/NBA/MLB/NHL12Free non-commercialSign up
sportsrc_SportSRCFootball/NBA/UFC + xG101000 req/daySign up
cfbd_College Football DataNCAA football141000 req/moSign up

Providers with missing keys don't block the server — they just return an error when called. Register keys incrementally as you need them.

Installation

Quick (npx — no install)

npx mcp-sports-hub

From source

git clone https://github.com/lacausecrypto/mcp-sports-hub.git
cd mcp-sports-hub
npm install
npm run build

Transport Modes

Stdio (default — Claude Desktop, Cursor, etc.)

npx mcp-sports-hub

HTTP/SSE (remote clients, web apps, custom integrations)

# Via flag
npx mcp-sports-hub --http

# Via env
SPORTS_HUB_HTTP=1 SPORTS_HUB_PORT=3000 npx mcp-sports-hub

Endpoints:

  • POST /mcp — MCP protocol (Streamable HTTP with SSE)
  • GET /health — Health check ({"status":"ok","providers":9})

Supports CORS, session management via mcp-session-id header. Default port: 3000.

Configuration

Environment Variables

Only set keys for providers you want:

# Free — no key needed:
# ESPN, NHL, MLB, Jolpica F1, OpenF1, OpenLigaDB, GolfCourseAPI

# Optional (defaults to test key)
export THESPORTSDB_API_KEY="your-key"          # https://www.thesportsdb.com/

# Requires free registration
export PANDASCORE_TOKEN="your-token"            # https://pandascore.co/
export API_SPORTS_KEY="your-key"                # https://api-sports.io/
export API_FOOTBALL_KEY="your-key"              # https://www.api-football.com/
export API_TENNIS_KEY="your-key"                # https://api-tennis.com/
export BALLDONTLIE_API_KEY="your-key"           # https://www.balldontlie.io/
export CRICKETDATA_API_KEY="your-key"           # https://cricketdata.org/
export ENTITY_SPORT_KEY="your-key"              # https://www.entitysport.com/
export FOOTBALL_DATA_API_KEY="your-key"         # https://www.football-data.org/
export SPORTMONKS_API_KEY="your-key"            # https://www.sportmonks.com/
export SPORTSDATA_IO_KEY="your-key"             # https://sportsdata.io/
export THE_ODDS_API_KEY="your-key"              # https://the-odds-api.com/
export ODDS_API_IO_KEY="your-key"               # https://odds-api.io/
export SPORTS_GAME_ODDS_KEY="your-key"          # https://sportsgameodds.com/
export FIGHTING_TOMATOES_API_KEY="your-key"     # https://fightingtomatoes.com/
export LIVE_GOLF_API_KEY="your-key"             # https://livegolfapi.com/
export ISPORTSAPI_KEY="your-key"                # https://www.isportsapi.com/
export SPORTDEVS_API_KEY="your-key"             # https://sportdevs.com/
export SPORTSRC_API_KEY="your-key"              # https://sportsrc.org/
export MYSPORTSFEEDS_USER="your-user"           # https://www.mysportsfeeds.com/
export MYSPORTSFEEDS_PASS="your-pass"
export CFBD_API_KEY="your-key"                  # https://collegefootballdata.com/key

Windows (PowerShell):

$env:API_SPORTS_KEY = "your-key"
$env:PANDASCORE_TOKEN = "your-token"

Windows (cmd):

set API_SPORTS_KEY=your-key
set PANDASCORE_TOKEN=your-token

Claude Desktop

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/claude/claude_desktop_config.json
{
  "mcpServers": {
    "sports-hub": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-sports-hub/dist/index.js"],
      "env": {
        "PANDASCORE_TOKEN": "your-token",
        "API_SPORTS_KEY": "your-key",
        "THE_ODDS_API_KEY": "your-key"
      }
    }
  }
}

Windows path: "args": ["C:/Users/you/mcp-sports-hub/dist/index.js"]

Only include env vars for providers you need. Omit env entirely for free-only providers.

Claude Code (CLI)

claude mcp add sports-hub node /absolute/path/to/mcp-sports-hub/dist/index.js

Or in .claude/settings.json:

{
  "mcpServers": {
    "sports-hub": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-sports-hub/dist/index.js"],
      "env": {
        "PANDASCORE_TOKEN": "your-token"
      }
    }
  }
}

Provider Filtering

By default, only the free preset is loaded (9 providers, ~98 tools — no API keys needed). Use SPORTS_HUB_PROVIDERS to change what's loaded:

# Default — free providers only (no config needed)
npx mcp-sports-hub

# Load ALL 29 providers (319 tools)
SPORTS_HUB_PROVIDERS=all npx mcp-sports-hub

# Use a preset
SPORTS_HUB_PROVIDERS=us-major npx mcp-sports-hub

# Pick specific providers
SPORTS_HUB_PROVIDERS=espn,nhl,odds npx mcp-sports-hub

# Exclude from all (prefix with -)
SPORTS_HUB_PROVIDERS=-sportsdata,-mma npx mcp-sports-hub

Presets

PresetProvidersToolsNeeds keys?
free (default)espn, nhl, mlb, f1, openf1, openliga, golfcourse, sportsdb, ncaa~98No
allall 29 providers319Yes (for key-required providers)
us-majorespn, nhl, mlb, ncaa, cfbd, bdl, msf~79Some
soccerespn, apifootball, footballdata, sportmonks, openliga, sportsrc~69Some
f1f1, openf125No
esportspandascore14Yes
oddsodds, oddsio, sgo29Yes
cricketcricket, entitycricket22Yes
golflivegolf, golfcourse14Some

Cache

All GET responses are cached in memory for 60 seconds by default. This protects against duplicate calls and rate limit waste. Configure with:

SPORTS_HUB_CACHE_TTL=120  # seconds (0 to disable)

In Claude Desktop config:

"env": {
  "SPORTS_HUB_PROVIDERS": "us-major",
  "THE_ODDS_API_KEY": "your-key"
}

Tool Naming

All tools follow {provider}_{action}:

espn_get_scoreboard        — Live scores (ESPN)
nhl_get_standings          — NHL standings
mlb_get_game_boxscore      — MLB box score
f1_get_race_results        — F1 results (1950+)
openf1_get_laps            — F1 live telemetry
pandascore_get_lives       — Live esports matches
apifootball_get_fixtures   — Soccer fixtures (960+ leagues)
odds_get_odds              — Betting odds (70+ sports)
sportsrc_get_xg_stats      — Expected goals (xG)

Architecture

src/
├── index.ts                    # Imports + registers all 29 providers
├── shared/
│   └── http.ts                 # fetchJson, buildUrl, toolResult, errorResult
└── providers/
    ├── espn.ts                 #  10 tools — no key
    ├── nhl.ts                  #  13 tools — no key
    ├── mlb-stats.ts            #  13 tools — no key
    ├── jolpica-f1.ts           #  13 tools — no key
    ├── openf1.ts               #  12 tools — no key
    ├── openligadb.ts           #  10 tools — no key
    ├── golfcourse.ts           #   6 tools — no key
    ├── thesportsdb.ts          #  13 tools — optional key
    ├── pandascore.ts           #  14 tools — PANDASCORE_TOKEN
    ├── api-football.ts         #  15 tools — API_FOOTBALL_KEY
    ├── api-sports.ts           #  10 tools — API_SPORTS_KEY
    ├── api-tennis.ts           #  12 tools — API_TENNIS_KEY
    ├── balldontlie.ts          #  10 tools — BALLDONTLIE_API_KEY
    ├── cricketdata.ts          #  10 tools — CRICKETDATA_API_KEY
    ├── entity-sport-cricket.ts #  12 tools — ENTITY_SPORT_KEY
    ├── football-data.ts        #  11 tools — FOOTBALL_DATA_API_KEY
    ├── sportmonks.ts           #  12 tools — SPORTMONKS_API_KEY
    ├── sportsdata-io.ts        #  12 tools — SPORTSDATA_IO_KEY
    ├── the-odds-api.ts         #   9 tools — THE_ODDS_API_KEY
    ├── odds-api-io.ts          #  10 tools — ODDS_API_IO_KEY
    ├── sports-game-odds.ts     #  10 tools — SPORTS_GAME_ODDS_KEY
    ├── fighting-tomatoes.ts    #   8 tools — FIGHTING_TOMATOES_API_KEY
    ├── live-golf.ts            #   8 tools — LIVE_GOLF_API_KEY
    ├── isportsapi.ts           #  10 tools — ISPORTSAPI_KEY
    ├── sportdevs.ts            #  12 tools — SPORTDEVS_API_KEY
    ├── mysportsfeeds.ts        #  12 tools — MYSPORTSFEEDS_USER/PASS
    ├── sportsrc.ts             #  10 tools — SPORTSRC_API_KEY
    ├── ncaa.ts                 #   8 tools — no key
    └── cfbd.ts                 #  14 tools — CFBD_API_KEY

Each provider exports register(server). Keys are checked at call time, not startup.

Contributing

  1. Fork the repository
  2. Create src/providers/my-api.ts exporting register(server: McpServer)
  3. Prefix tool names: myapi_get_something
  4. Import + call in src/index.ts
  5. npm run build to verify
  6. Submit a PR

License

MIT

Reviews

No reviews yet

Sign in to write a review