MCP server
Free Sports Data MCP Server for Claude, Cursor and ChatGPT
SportsDataHQ runs a free, hosted MCP server for nine sports at https://mcp.sportsdatahq.com/mcp. One key with 1,000 credits a month, no card, gives Claude, ChatGPT, Cursor and VS Code read-only tools for stats, play-by-play, odds and props. Nothing to install, nothing to host.
What you get
The server covers the NHL, NFL, NBA, MLB, 17 soccer leagues, ATP and WTA tennis, golf, the UFC and cricket behind a single key. Every tool is read-only and returns JSON. Behind the key sits the same data and the same credit prices as each sport's own API, so a question you can answer on one surface you can answer on the other.
There are two ways to point a client at it, and the choice matters for how much of your context window the tools use.
- The gateway, `https://mcp.sportsdatahq.com/mcp`. It exposes four tools:
list_sports,find_tool,describe_toolandrun_tool. The agent asksfind_toolfor the right tool for a question, reads its arguments withdescribe_tool, then calls it throughrun_tool. Four tool definitions in context instead of hundreds is the point. Use it when an agent works across several sports or when you want to keep the prompt small. - A sport route, `https://mcp.sportsdatahq.com/mcp/<sport>`. It lists that one sport's tools directly.
/mcp/nbalists 31,/mcp/nfllists 33,/mcp/nhllists 29 and/mcp/soccerlists 31. Use it when the agent is dedicated to one sport and you want it to see every tool and argument from the first message.
Both take the same key and spend the same credits.
Connect it to your client
You need one thing: a free SportsDataHQ key from app.sportsdatahq.com, which carries 1,000 credits a month for every sport. Claude and ChatGPT connectors sign you in with OAuth the first time a tool runs, so no key ever sits in a chat. Command-line and editor clients send the key in an x-api-key header instead. Connecting and listing tools cost nothing; only a data call spends credits.
Claude Code
claude mcp add --transport http sportsdatahq https://mcp.sportsdatahq.com/mcp --header "x-api-key: YOUR_API_KEY"Run /mcp inside Claude Code to confirm the server shows as connected. If you leave the header off, /mcp walks you through an OAuth sign-in instead.
Claude.ai and Claude Desktop
Open Customize, then Connectors (older versions: Settings, Connectors), choose Add custom connector, name it sportsdatahq and paste https://mcp.sportsdatahq.com/mcp. Sign in the first time a tool runs and press Allow. On Team and Enterprise plans an owner adds it under Organization settings, Connectors, and members then press Connect. The local Claude Desktop config file starts programs rather than URLs, so it goes through the mcp-remote bridge:
{
"mcpServers": {
"sportsdatahq": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.sportsdatahq.com/mcp", "--header", "x-api-key:YOUR_API_KEY"]
}
}
}Cursor
Paste this into ~/.cursor/mcp.json:
{
"mcpServers": {
"sportsdatahq": {
"url": "https://mcp.sportsdatahq.com/mcp",
"headers": { "x-api-key": "YOUR_API_KEY" }
}
}
}VS Code
Add this to .vscode/mcp.json:
{
"servers": {
"sportsdatahq": {
"type": "http",
"url": "https://mcp.sportsdatahq.com/mcp",
"headers": { "x-api-key": "YOUR_API_KEY" }
}
}
}ChatGPT
ChatGPT adds outside MCP servers through developer mode, which OpenAI currently offers on workspace plans (Business, Enterprise and Edu) and which may need an admin to switch on. Create a custom MCP app or connector, paste https://mcp.sportsdatahq.com/mcp and choose OAuth as the authentication. A sign-in page opens, you press Allow, and there is no key to copy. ChatGPT Plus does not have developer mode: call the REST API from your own machine with your key and paste the response in, as in the curl examples below.
Example questions and the tools they call
These work in any client above. On the gateway the agent reaches each tool through run_tool. On a sport route it calls the tool by name. Credit prices are per call.
| Question | Tools called | Credits |
|---|---|---|
| Which sports and leagues does this cover, and which tool answers a question about shot locations? | list_sports, find_tool | 0 (finding and listing are free) |
| What does the Western Conference table look like, and who is leading the league in points per game? | get_standings, get_leaders (nba) | 2 + 5 |
| Which goalies have saved the most goals above expected this season? | get_goalie_stats (nhl) | 5 |
| Rank the quarterbacks by EPA this season and show the third-down plays for one team. | get_player_leaders, get_plays (nfl) | 5 + 10 |
| Show Arsenal's shot zones this season and the goals from their last match with expected goals. | get_shot_map, get_events (soccer) | 10 + 10 |
| How did a game's spread and total move by sportsbook before tip-off? | get_line_movement (nba, nfl, nhl, soccer) | 10 to 25 |
| Who is injured on a given roster, and who plays in their place? | get_injuries, get_depth_chart, get_snap_counts | 2 to 5 each |
The gateway also helps when you do not know the tool name. Ask it in plain words and find_tool returns ranked matches with a one-line summary and the credit price of each, so the agent can pick the cheapest tool that answers the question.
Tool counts and highlights
On the per-sport routes the live tool counts today are 31 for NBA, 33 for NFL, 29 for NHL and 31 for soccer. Across all nine sports the REST reference lists over 200 tools. A few that earn their keep in an agent loop:
- Play-by-play with context. NBA plays carry shot location in feet and an expected-points value. NFL plays carry EPA and win probability. NHL shots carry rink coordinates and strength state. Soccer events carry shot location and expected goals.
- Ratings and projections. Elo-style team ratings and season simulations are our own models, labelled as such, and none of them takes a betting market as input.
- Market history. Opening and closing lines by sportsbook, alternate lines, line movement and player prop history, all as information. Prices come back with implied and fair probability so an agent can describe the market without ever recommending a wager.
- A freshness tool.
get_data_statustells the agent how recent each dataset is before it relies on it.
Credits and what a month looks like
Prices run from 1 to 25 credits a call: 1 for a team or player lookup, 2 for standings, schedules and injuries, 5 for most single-game, player and leader queries, 10 for play-by-play, shot maps and most odds history, and 25 for line movement on football and hockey and for prop backtests. The free allowance of 1,000 credits is therefore about 500 standings calls, or about 100 play-by-play pulls, or any mix.
When you outgrow it, the account plans are Pro at $79 a month for 50,000 credits, Scale at $199 for 150,000, Business at $399 for 400,000 and Enterprise at $799 for 1,000,000. Every plan can also be paid yearly at ten times the monthly price, and credits still refill monthly. Top-ups start at $5 for 2,000 credits.
Run it from the command line first
Before wiring an agent, it is worth checking your key from a terminal. Export your key as KEY and list the sports. The call needs no body and costs nothing.
curl -s https://api.sportsdatahq.com/v1/sports -H "x-api-key: $KEY"Every tool is a POST to /v1/<sport>/<tool> with a JSON body of arguments and your key in the x-api-key header. This one returns the NBA standings for the 2025-26 season (seasons are named by the year they end) and costs 2 credits:
curl -s -X POST https://api.sportsdatahq.com/v1/nba/get_standings \
-H "x-api-key: $KEY" \
-H "Content-Type: application/json" \
-d '{"season": 2026}'The response carries x-credits-used and x-credits-remaining headers, so a script can stop before it overspends. A trimmed first row of the response:
{
"data": {
"season": 2026,
"standings": [
{
"abbrev": "OKC",
"display_name": "Oklahoma City Thunder",
"conference": "Western",
"wins": 64,
"losses": 18,
"avg_margin": 11.1,
"conference_rank": 1
},
{
"abbrev": "SA",
"display_name": "San Antonio Spurs",
"conference": "Western",
"wins": 62,
"losses": 20,
"avg_margin": 8.3,
"conference_rank": 2
}
],
"count": "..."
}
}You can also talk to the server the way a client does. This request lists the four gateway tools, and a request to a sport route lists that sport's tools:
curl -s -X POST https://mcp.sportsdatahq.com/mcp \
-H "x-api-key: $KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'And this one asks the gateway's find_tool for the right tool, which is what an agent does before it calls run_tool:
curl -s -X POST https://mcp.sportsdatahq.com/mcp \
-H "x-api-key: $KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"find_tool","arguments":{"query":"nba shot chart by zone"}}}'When not to use this
Be straight with yourself about fit before you connect anything.
- You only need one sport. Each sport has its own API with its own key. Those start at 500 free credits a month and paid plans from $19 a month, which is cheaper per credit than the cross-sport account. This server is for people who work across sports and want one key. If you only build for one league, the sport's own server is the better deal.
- You want a season in a file. Hundreds of tool calls to rebuild a full season of play-by-play is the slow, expensive route. A Parquet data package gives you the whole thing at once, and the free data page has the last completed season of each sport as CSV.
- You need live in-game prices or a redistributable feed. Odds and props here are pre-game only, and the terms let you store data, train models and build products that show your users what you derive, but not resell the data or odds as a raw feed.
- You want a pick. Nothing here recommends a wager, works out a stake or sends you to a sportsbook, and no tool places one.
- You need league-official data or rights. SportsDataHQ is independent and not affiliated with any league, team or sportsbook, and it grants no league rights.
- NHL model outputs. On this server the hockey route leaves out PuckAPI's own model predictions and prop projections, which stay on PuckAPI.
Public source and related pages
The hub server's source and setup notes are in the public sports-data-mcp-server repository. The sport servers have their own repositories for NBA, NFL and soccer. There is no public hockey repository. The full tool reference is in the docs, the single-sport servers are listed on the MCP servers page, and the free skills give Claude ready-made workflows on top of these tools. Sport guides: NBA, NFL, NHL and soccer.
Try it
- Get a free key: 1,000 credits a month, no card.
- Skip the API and download a data package if you want a full season in a file.
FAQ
Is the SportsDataHQ MCP server really free?
Yes. A free account gets 1,000 credits a month on every sport, with no card. Connecting and listing tools cost nothing. Each data call then spends 1 to 25 credits depending on the tool, and the credits refill every month.
Do I need to install or host anything?
No. The server is hosted at https://mcp.sportsdatahq.com/mcp. You add that URL as a connector in Claude or ChatGPT, or paste a short JSON config into Cursor, VS Code or Claude Desktop.
What is the difference between /mcp and /mcp/nba?
The /mcp URL is a gateway with four tools that find and run any tool in any sport, which keeps the agent's context small. A sport route such as /mcp/nba lists that sport's tools directly, so the agent sees every tool and its arguments up front.
Can the server place bets or change data?
No. Every tool is read-only. Sportsbook prices come back as information about the market, and no tool places, accepts or tracks a wager.
Checked against the live API on 2026-12-06. Questions: hello@sportsdatahq.com.