F1 MCP server
f1_Jolpica F1 · results, qualifying, standings since 1950openf1_OpenF1 · telemetry, laps, team radio, race control
e.g. f1_get_driver_standings openf1_get_laps openf1_get_car_data
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.
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.
{ "mcpServers": { "sports-hub": { "command": "npx", "args": ["-y", "mcp-sports-hub"], "env": { "SPORTS_HUB_PROVIDERS": "free" } } }}
// macOS: ~/Library/Application Support/Claude/ · Windows: %APPDATA%\Claude\ · Linux: ~/.config/claude/. Restart Claude after editing.
{ "mcpServers": { "sports-hub": { "command": "npx", "args": ["-y", "mcp-sports-hub"], "env": { "SPORTS_HUB_PROVIDERS": "free" } } }}
// Same mcpServers block, at your project root. Add a provider key to env when you switch presets.
SPORTS_HUB_HTTP=1 npx -y mcp-sports-hubcurl -s http://127.0.0.1:3000/health# {"status":"ok","providers":19,"sessions":0,"maxSessions":100}
// Listens on 127.0.0.1:3000. POST /mcp speaks Streamable HTTP, GET /health reports status. Same as the --http flag.
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.
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_Jolpica F1 · results, qualifying, standings since 1950openf1_OpenF1 · telemetry, laps, team radio, race controle.g. f1_get_driver_standings openf1_get_laps openf1_get_car_data
motogp_MotoGP · MotoGP, Moto2, Moto3, MotoEformulae_Formula E · races, results, standingsnascar_NASCAR · Cup, Xfinity, Truck, live feede.g. motogp_get_standings formulae_get_driver_standings nascar_get_live
espn_ESPN · NBA, WNBA, NCAAeuroleague_EuroLeague · EuroLeague, EuroCup, play-by-playe.g. espn_get_scoreboard espn_get_standings euroleague_get_game_boxscore
espn_ESPN · scores, standings, rosterssleeper_Sleeper · fantasy: injuries, trending, leaguese.g. espn_get_scoreboard sleeper_get_trending_players sleeper_search_players
nhl_NHL Web API · schedules, boxscores, player statse.g. nhl_get_standings nhl_get_scores nhl_get_game_boxscore
mlb_MLB Stats API · MLB and MiLB, play-by-playe.g. mlb_get_player_stats mlb_get_game_boxscore mlb_get_standings
openliga_OpenLigaDB · Bundesliga and German leaguesfootballdata_uk_Football-Data.co.uk · historical results and odds, 25+ leaguessportsrc_SportSRC · live matchese.g. openliga_get_table footballdata_uk_get_matches sportsrc_get_live
ncaa_NCAA API · college football, basketballe.g. ncaa_get_scoreboard ncaa_get_rankings
lichess_Lichess · players, tournaments, daily puzzlechesscom_Chess.com · profiles, stats, leaderboardse.g. lichess_get_top_players lichess_get_daily_puzzle chesscom_get_player_stats
opendota_OpenDota · pro matches, heroes, playerse.g. opendota_get_pro_matches opendota_get_match
// LoL, CS2, Valorant: pandascore_, key required.
squiggle_Squiggle · games, ladder, tipse.g. squiggle_get_ladder squiggle_get_tips
sportsdb_TheSportsDB · 40+ sports, teams, playersespn_ESPN · 20+ sports, newse.g. sportsdb_search_teams sportsdb_get_events_by_date espn_get_news
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.
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.
| preset | use | providers | API key |
|---|---|---|---|
us-major | US sports: NFL, NBA, MLB, NHL, NCAA | ESPN (unofficial), NHL Web API, MLB Stats API, NCAA API, College Football Data, BallDontLie, MySportsFeeds, NASCAR (unofficial), Sleeper | Yes: College Football Data, BallDontLie, MySportsFeeds |
soccer | Football (soccer) | ESPN (unofficial), API-Football, football-data.org, Sportmonks, OpenLigaDB, SportSRC, Football-Data.co.uk, Highlightly | Yes: API-Football, football-data.org, Sportmonks, Highlightly |
f1 | Formula 1 | Jolpica F1, OpenF1 | None |
motorsport | F1, MotoGP, Formula E, NASCAR | Jolpica F1, OpenF1, MotoGP (unofficial), Formula E (unofficial), NASCAR (unofficial) | None |
esports | Esports: LoL, CS2, Dota 2… | PandaScore, OpenDota | Yes: PandaScore |
odds | Bookmaker odds | The Odds API, Odds-API.io, Sports Game Odds, Lumify | Yes: The Odds API, Odds-API.io, Sports Game Odds, Lumify |
cricket | Cricket | CricketData, Entity Sport | Yes: CricketData, Entity Sport |
golf | Golf | Live Golf API, GolfCourseAPI | Yes: Live Golf API, GolfCourseAPI |
free | Every 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.uk | None |
chess | Chess | Lichess, Chess.com | None |
# 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
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
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
| variable | default | effect |
|---|---|---|
SPORTS_HUB_PROVIDERS | free | Providers to load: preset, list, exclusions or all. |
SPORTS_HUB_HTTP | — | 1 switches to HTTP (like --http). stdio otherwise. |
SPORTS_HUB_PORT | 3000 | HTTP port, 1 to 65535. |
SPORTS_HUB_HOST | 127.0.0.1 | Bind address. 0.0.0.0 exposes an unauthenticated endpoint: put an authenticating proxy in front. |
SPORTS_HUB_CACHE_TTL | 60 | In-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/monthsleeper_~1000 req/minespn_ motogp_ formulae_ nascar_unofficial: may change without noticethe restfair use; the 60 s cache absorbs repeated callssource · README · src/index.ts
What developers ask before wiring sports data into an LLM.
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.
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.
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.
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.
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.
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.
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.
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…).