Sports MCP server: 165 keyless tools for your LLM

Sports data,
in your LLM.
One line.

Sports Hub is an open-source (MIT) MCP server that gives Claude Desktop, Cursor or any MCP client 165 read-only sports tools from 19 free, keyless APIs (the default free preset): live scores, standings, schedules, F1 telemetry. Install with npx -y mcp-sports-hub. Covers NBA, NFL, NHL, MLB, soccer, F1, MotoGP, chess, Dota 2 and more.

Install the MCP server (Claude Desktop, Cursor, npx, HTTP)

terminal
npx -y mcp-sports-hub

// stdio transport, free preset: no key, no account. Your client spawns the process and talks to it over stdin/stdout.

  1. Add the server to your MCP clientPaste the mcpServers block (command npx -y mcp-sports-hub) into claude_desktop_config.json or .cursor/mcp.json. With Claude Code: claude mcp add sports-hub -- npx -y mcp-sports-hub.
  2. Restart the clientThe client spawns the process over stdio and loads the free preset: 19 providers, 165 tools, no key.
  3. Ask a sports question“What NBA games are on tonight?”: the model calls espn_get_scoreboard and answers with today’s scores.

Try the sports tools live

source · tools/call · on click

Five requests with frozen arguments, sent to the same server you would install. You see the JSON-RPC body, latency measured in your browser (network included), the raw payload size and what your model gets out of it.

// requests

// Nothing is sent until you click. Pick a request: the page sends it to the MCP server and shows what comes back.

Sports MCP tools by sport: F1, NBA, NHL, soccer, chess

source · sportshub://providers · preset free

The 19 keyless providers of the free preset, grouped by sport, with their tool prefix and real tool names. None of them needs an account or an API key.

F1 MCP server

  • f1_Jolpica F1 · results, qualifying, standings since 1950
  • openf1_OpenF1 · telemetry, laps, team radio, race control

e.g. f1_get_driver_standings openf1_get_laps openf1_get_car_data

MotoGP, Formula E & NASCAR

  • motogp_MotoGP · MotoGP, Moto2, Moto3, MotoE
  • formulae_Formula E · races, results, standings
  • nascar_NASCAR · Cup, Xfinity, Truck, live feed

e.g. motogp_get_standings formulae_get_driver_standings nascar_get_live

NBA & basketball MCP server

  • espn_ESPN · NBA, WNBA, NCAA
  • euroleague_EuroLeague · EuroLeague, EuroCup, play-by-play

e.g. espn_get_scoreboard espn_get_standings euroleague_get_game_boxscore

NFL & fantasy football MCP server

  • espn_ESPN · scores, standings, rosters
  • sleeper_Sleeper · fantasy: injuries, trending, leagues

e.g. espn_get_scoreboard sleeper_get_trending_players sleeper_search_players

NHL MCP server

  • nhl_NHL Web API · schedules, boxscores, player stats

e.g. nhl_get_standings nhl_get_scores nhl_get_game_boxscore

MLB MCP server

  • mlb_MLB Stats API · MLB and MiLB, play-by-play

e.g. mlb_get_player_stats mlb_get_game_boxscore mlb_get_standings

Soccer / football MCP server

  • openliga_OpenLigaDB · Bundesliga and German leagues
  • footballdata_uk_Football-Data.co.uk · historical results and odds, 25+ leagues
  • sportsrc_SportSRC · live matches

e.g. openliga_get_table footballdata_uk_get_matches sportsrc_get_live

Chess MCP server

  • lichess_Lichess · players, tournaments, daily puzzle
  • chesscom_Chess.com · profiles, stats, leaderboards

e.g. lichess_get_top_players lichess_get_daily_puzzle chesscom_get_player_stats

Dota 2 esports MCP server

  • opendota_OpenDota · pro matches, heroes, players

e.g. opendota_get_pro_matches opendota_get_match

// LoL, CS2, Valorant: pandascore_, key required.

AFL MCP server

  • squiggle_Squiggle · games, ladder, tips

e.g. squiggle_get_ladder squiggle_get_tips

Multi-sport

  • sportsdb_TheSportsDB · 40+ sports, teams, players
  • espn_ESPN · 20+ sports, news

e.g. sportsdb_search_teams sportsdb_get_events_by_date espn_get_news

Catalogue of the 165 sports MCP tools

source · tools/list

Every tool this server exposes in the free preset, read live. All tools are read-only; their arguments come from each inputSchema, with required ones flagged. Press / to search.

  • // tools/list in flight

Presets: load only F1, soccer, NBA or esports tools

source · sportshub://presets

SPORTS_HUB_PROVIDERS picks the providers loaded at startup. Fewer exposed tools means better tool selection by the model: use your sport’s preset rather than all.

presetuseprovidersAPI key
us-majorUS sports: NFL, NBA, MLB, NHL, NCAAESPN (unofficial), NHL Web API, MLB Stats API, NCAA API, College Football Data, BallDontLie, MySportsFeeds, NASCAR (unofficial), SleeperYes: College Football Data, BallDontLie, MySportsFeeds
soccerFootball (soccer)ESPN (unofficial), API-Football, football-data.org, Sportmonks, OpenLigaDB, SportSRC, Football-Data.co.uk, HighlightlyYes: API-Football, football-data.org, Sportmonks, Highlightly
f1Formula 1Jolpica F1, OpenF1None
motorsportF1, MotoGP, Formula E, NASCARJolpica F1, OpenF1, MotoGP (unofficial), Formula E (unofficial), NASCAR (unofficial)None
esportsEsports: LoL, CS2, Dota 2…PandaScore, OpenDotaYes: PandaScore
oddsBookmaker oddsThe Odds API, Odds-API.io, Sports Game Odds, LumifyYes: The Odds API, Odds-API.io, Sports Game Odds, Lumify
cricketCricketCricketData, Entity SportYes: CricketData, Entity Sport
golfGolfLive Golf API, GolfCourseAPIYes: Live Golf API, GolfCourseAPI
freeEvery keyless provider (default)ESPN (unofficial), NHL Web API, MLB Stats API, Jolpica F1, OpenF1, OpenLigaDB, TheSportsDB, NCAA API, SportSRC, Lichess, Chess.com, Squiggle, MotoGP (unofficial), Formula E (unofficial), NASCAR (unofficial), OpenDota, Sleeper, EuroLeague Basketball, Football-Data.co.ukNone
chessChessLichess, Chess.comNone

# syntax

# combine presets and providersSPORTS_HUB_PROVIDERS=soccer,odds# everything except some: starts from the full catalogue, not freeSPORTS_HUB_PROVIDERS=-sportsdata,-mma# the whole catalogue (keys required)SPORTS_HUB_PROVIDERS=all# once any inclusion is present, exclusions are ignored

MCP prompts and resources

source · prompts/list · resources/read

The server also ships ready-made workflows as MCP prompts and its own catalogue as MCP resources: your client lists providers and presets without calling a single tool.

# prompts

// prompts/list

# resources

  • // resources/read

HTTP transport and rate limits

source · src/index.ts · README

What the process reads at startup, what it listens on in HTTP mode, and the ceilings of the keyless sources.

# environment variables

variabledefaulteffect
SPORTS_HUB_PROVIDERSfreeProviders to load: preset, list, exclusions or all.
SPORTS_HUB_HTTP—1 switches to HTTP (like --http). stdio otherwise.
SPORTS_HUB_PORT3000HTTP port, 1 to 65535.
SPORTS_HUB_HOST127.0.0.1Bind address. 0.0.0.0 exposes an unauthenticated endpoint: put an authenticating proxy in front.
SPORTS_HUB_CACHE_TTL60In-memory GET cache in seconds, 0 turns it off (max 86400).

# http routes

  • POST /mcpStreamable HTTP (SSE), session carried by the mcp-session-id header.
  • GET /healthstatus, loaded provider count, open sessions.

# keyless source limits

  • opendota_~60 req/min · 50k/month
  • sleeper_~1000 req/min
  • espn_ motogp_ formulae_ nascar_unofficial: may change without notice
  • the restfair use; the 60 s cache absorbs repeated calls

FAQ: sports data in Claude, Cursor and other MCP clients

source · README · src/index.ts

What developers ask before wiring sports data into an LLM.

How do I add a sports MCP server to Claude Desktop?

Add Sports Hub to claude_desktop_config.json (an mcpServers entry running npx -y mcp-sports-hub) and restart Claude Desktop. In Claude Code: claude mcp add sports-hub -- npx -y mcp-sports-hub. Then ask “What NBA games are on tonight?”: Claude calls espn_get_scoreboard and answers with today’s scores.

Do I need an API key?

No. The free preset, loaded by default, bundles 19 keyless providers and 165 tools (ESPN, NHL, MLB, Jolpica F1, OpenF1, Lichess, OpenDota…). More providers plug in with your own API key (odds, cricket, tennis, golf, esports, boxing…), passed as an environment variable in the env block.

Does it work with Cursor, ChatGPT and other MCP clients?

The project README documents Claude Desktop, Claude Code, Cursor, Windsurf, Zed, Cline, Continue, Gemini CLI and ChatGPT Desktop. In Cursor, the same mcpServers block goes in .cursor/mcp.json. A client that cannot spawn a local process connects over Streamable HTTP instead.

How do I limit which tools are loaded?

Set SPORTS_HUB_PROVIDERS: a preset (f1, motorsport, soccer, us-major, esports, chess…), a list (espn,nhl), a combination (soccer,odds) or exclusions (-sportsdata). Fewer exposed tools means better tool selection by the model; all loads the whole catalogue, keyed providers included.

Can I run it over HTTP?

Yes: SPORTS_HUB_HTTP=1 (or --http) listens on 127.0.0.1:3000. POST /mcp speaks Streamable HTTP and GET /health reports status. SPORTS_HUB_HOST=0.0.0.0 exposes an unauthenticated endpoint: put an authenticating proxy in front of it.

What are the rate limits?

Keyless sources are fair use; OpenDota caps at ~60 req/min and 50,000 a month, Sleeper at ~1,000 req/min. The server keeps every GET in an in-memory cache for 60 s (SPORTS_HUB_CACHE_TTL). Keyed providers apply their own quota, e.g. 500 requests a month for The Odds API.

Is it open source?

Yes, MIT-licensed: source on GitHub (lacausecrypto/mcp-sports-hub), npm package mcp-sports-hub. Each API lives in one file under src/providers/ exporting register(server): fork it, self-host it, add your own provider.

Open source (MIT)

source · GitHub · npm

Sports Hub is an open-source (MIT) MCP server that brings together free sports data sources for fans, newsrooms and AI assistants. MIT licence: fork it, self-host it, add your provider. One file per API in src/providers/, exporting register(server). Beyond the free preset, more providers plug in with your own API key (odds, cricket, tennis, golf, esports, boxing…).