MCP server

NHL MCP Server for Claude, Cursor and ChatGPT

The NHL MCP server is a hosted, read-only connector at https://mcp.sportsdatahq.com/mcp/nhl. It gives Claude, ChatGPT and Cursor 29 tools: standings with xG, goalie GSAX, shot maps, shifts and odds from 2010-11. A free key brings 1,000 credits a month. Nothing to install.

What your agent can do with it

Hockey analysis lives or dies on two things: knowing where shots came from and knowing who was on the ice. This server has both. get_shot_map returns every shot attempt in a game, or a team's season, with its rink coordinates, type, strength state, shooter and goalie. get_shifts returns every player's shifts in a game with period, start, end and duration, plus the official time on ice and plus-minus. get_situation_time adds the exact seconds each team spent at 5v5, 5v4, 4v5, 4v4 and with the goalie pulled, split into regulation and overtime.

On top of that sit the tables people reach for first. Standings come with Corsi, Fenwick and expected goals for and against. Goalie leaderboards can be sorted by save percentage, goals-against average, wins or GSAX (goals saved above expected), with high-danger save percentage and a rolling form number over the last ten appearances. Skater leaders and game logs cover points, goals, assists, shots, power-play points and time on ice.

The same tools work for the PWHL, OHL, WHL, QMJHL, ECHL and AHL through the league argument. Odds start in 2019-20 and are returned as information: each book's opening and closing prices, alternate puck lines and totals, and player prop lines with their history.

You can connect to either server. The SportsDataHQ route, https://mcp.sportsdatahq.com/mcp/nhl, takes the cross-sport key and gives 1,000 free credits a month. PuckAPI's own server, https://mcp.puckapi.com/mcp, takes a hockey-only key with 500 free credits a month and adds the model predictions and prop projections.

Connect it to your client

You need one thing: a free SportsDataHQ key from app.sportsdatahq.com, with 1,000 credits a month across every sport. (PuckAPI's own server, https://mcp.puckapi.com/mcp, takes a PuckAPI key instead and uses the same config shapes.) 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-nhl https://mcp.sportsdatahq.com/mcp/nhl --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-nhl and paste https://mcp.sportsdatahq.com/mcp/nhl. 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-nhl": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.sportsdatahq.com/mcp/nhl", "--header", "x-api-key:YOUR_API_KEY"]
    }
  }
}

Cursor

Paste this into ~/.cursor/mcp.json:

{
  "mcpServers": {
    "sportsdatahq-nhl": {
      "url": "https://mcp.sportsdatahq.com/mcp/nhl",
      "headers": { "x-api-key": "YOUR_API_KEY" }
    }
  }
}

VS Code

Add this to .vscode/mcp.json:

{
  "servers": {
    "sportsdatahq-nhl": {
      "type": "http",
      "url": "https://mcp.sportsdatahq.com/mcp/nhl",
      "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/nhl 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

QuestionTools calledCredits
Which goalies have saved the most goals above expected this season, and how are they trending?get_goalie_stats (sort by gsax)5
Show the Atlantic Division table with expected goals for and against.get_standings2
Where did St. Louis take their 5v5 shots from last night, and which were blocked?get_games, get_shot_map5 + 10
Who was on the ice for each goal in a game?get_plays, get_shifts10 + 10
How many seconds did each team spend on the power play in a game, and was the data complete?get_situation_time10
Find a player and list his game-by-game line for the season.search_players, get_player_game_log2 + 5
What are each team's chances to make the playoffs from the standings and schedule left?get_playoff_projections5
Which teams are on the second night of a back-to-back and just crossed a time zone?get_schedule, get_rest_and_travel2 + 5

A tip for agents: get_games takes a date, so "last night" becomes one cheap call that returns game ids. Every deeper tool wants a game id, and hockey's ids are long numbers such as 2026020461, so resolve them first rather than guessing.

Tool count and highlights

The hockey route lists 29 tools. The highlights:

PuckAPI's own server adds get_predictions (the model's win probability for each game on the slate) and get_prop_projections (projected goals, assists, points, shots and saves, on paid plans). Those two are not on the SportsDataHQ route.

Credit costs

CreditsTools
1list_teams, get_data_status
2get_standings, get_schedule, search_players
5get_games, get_team_stats, get_player_stats, get_goalie_stats, get_skater_season_stats, get_player_game_log, get_game_probabilities, get_playoff_projections, get_line_at_time, get_rest_and_travel
10get_game_detail, get_head_to_head, get_plays, get_shot_map, get_shifts, get_situation_time, get_odds, get_player_props, get_prop_history, get_prop_movement, get_market_odds, get_alt_lines, get_prop_probabilities
25get_line_movement, get_prop_backtest

A game preview (schedule, game detail, odds) costs about 22 credits and a shot analysis (search, shot map) about 12. With 1,000 free credits you can run a good number of both every month.

Verified examples you can run now

Export your key as KEY. Each of these ran against the live API on December 6, 2026 and returned HTTP 200.

Goalies ranked by goals saved above expected (5 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nhl/get_goalie_stats \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"sort_by": "gsax", "limit": 3}'
{
  "data": {
    "goalies": [
      {
        "playerName": "Jesper Wallstedt",
        "team": "MIN",
        "gamesPlayed": 26,
        "savePct": 0.91458,
        "gaa": 2.211443,
        "gsax": 15.678238,
        "highDangerSavePct": 0.90873015
      },
      {
        "playerName": "Linus Ullmark",
        "team": "OTT",
        "gamesPlayed": 18,
        "savePct": 0.930716,
        "gaa": 1.716574,
        "gsax": 13.650422,
        "highDangerSavePct": 0.88125
      }
    ]
  }
}

Games on one date, to get game ids (5 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nhl/get_games \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"date": "2026-12-04", "limit": 2}'

Five-on-five shot locations for one of those games (10 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nhl/get_shot_map \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"game_id": "2026020461", "strength": "5v5", "limit": 2}'

Atlantic Division standings (2 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nhl/get_standings \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"division": "Atlantic"}'

The tool list your MCP client sees on the hockey route, which is free:

curl -s -X POST https://mcp.sportsdatahq.com/mcp/nhl \
  -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"}'

When not to use this

Source and related pages

There is no public hockey MCP repository. The hosted route and the PuckAPI docs and PuckAPI MCP page are the references. For the cross-sport server's public code see sports-data-mcp-server. Related guides: the free sports data MCP server, NBA, NFL and soccer, and free skills for goalie GSAX reports, xG reports and game previews.

Try it

FAQ

How many tools does the NHL MCP server have?

The hockey route on the SportsDataHQ server lists 29 tools. PuckAPI's own server lists 32, because it adds PuckAPI's model predictions and prop projections, which stay on PuckAPI.

How far back does the NHL data go?

Games, play-by-play, shot locations and shift data run from the 2010-11 season to today, and sportsbook odds start in 2019-20. Seasons use an eight-digit id such as 20262027 for 2026-27.

Does it cover leagues besides the NHL?

Yes. Tools that take a league argument accept nhl (the default), pwhl, ohl, whl, qmjhl, echl and ahl on the same key. Coverage depth varies by league, so check the tool's own notes for shifts and shot data.

Is there a public NHL MCP repository?

No. The NBA, NFL and soccer servers have public repositories, and so does the cross-sport server, but PuckAPI has none. The hosted server and its docs are the way in.

Get a free key

Checked against the live API on 2026-12-06. Questions: hello@sportsdatahq.com.