Skip to main content
Glama
NHL MCP Server

NHL MCP Server

by argotdev

NHL MCP Server

A Model Context Protocol (MCP) server that provides live NHL data and statistics with natural language query capabilities. Access real-time game scores, player stats, team standings, playoff information, and historical comparisons through simple tool calls.

Features

1. Live Game Data

Get real-time scores, game status, period information, and venue details for NHL games.

2. Team Statistics

Access comprehensive team standings including wins, losses, points, goals for/against, and goal differentials. Filter by division or conference.

3. Player Statistics

Query top players by various categories (points, goals, assists, plus/minus, shots) with detailed performance metrics.

4. Schedule Information

Get schedules for specific dates, teams, or the entire league with upcoming and completed games.

5. Historical Comparisons

Compare team or league-wide statistics across multiple seasons to identify trends and changes.

7. Playoff Bracket

View real-time playoff bracket information including series matchups and results.

11. Goalie Statistics

Access goalie-specific metrics including save percentage, GAA, wins, shutouts, and more.

12. Team Head-to-Head

Compare two teams' head-to-head record with game-by-game results and season series standings.

14. Streak Tracking

Track current winning or losing streaks for any team with last 10 games summary.

17. Division/Conference Standings

View standings filtered by specific divisions (Atlantic, Metropolitan, Central, Pacific) or conferences (Eastern, Western).

Related MCP server: NHL MCP Server

Installation

npm install
npm run build

Usage

Configure with Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "nhl": {
      "command": "node",
      "args": ["/path/to/nhl-mcp-ts/dist/index.js"]
    }
  }
}

Available Tools

get_live_games

Get live game scores and status.

Parameters:

  • date (optional): Date in YYYY-MM-DD format (defaults to today)

Example queries:

  • "What NHL games are on today?"

  • "Show me yesterday's scores"

  • "Are there any games happening right now?"

get_game_details

Get detailed play-by-play information for a specific game.

Parameters:

  • gameId (required): The NHL game ID

Example queries:

  • "Show me details for game 2024020156"

  • "What happened in game 2024020156?"

get_standings

Get current NHL standings.

Parameters:

  • date (optional): Date in YYYY-MM-DD format

  • division (optional): Filter by division (Atlantic, Metropolitan, Central, Pacific)

  • conference (optional): Filter by conference (Eastern, Western)

Example queries:

  • "Show me the current NHL standings"

  • "What are the Atlantic division standings?"

  • "Show me Eastern conference standings"

  • "Who's leading the Metropolitan division?"

get_team_stats

Get detailed statistics for a specific team.

Parameters:

  • teamAbbrev (required): Team abbreviation (TOR, NYR, BOS, MTL, etc.)

  • season (optional): Season in format YYYYYYYY (e.g., 20242025)

Example queries:

  • "Show me the Toronto Maple Leafs stats"

  • "How are the Rangers doing this season?"

  • "Get Boston Bruins statistics"

get_player_stats

Get top player statistics.

Parameters:

  • category (optional): Sort by points, goals, assists, plusMinus, shots, shootingPctg

  • limit (optional): Number of players to return (default 20)

  • season (optional): Season in format YYYYYYYY

Example queries:

  • "Who are the top scorers in the NHL?"

  • "Show me the top 10 goal scorers"

  • "Who has the most assists this season?"

  • "Which players have the best plus/minus?"

get_goalie_stats

Get goalie statistics.

Parameters:

  • limit (optional): Number of goalies to return (default 20)

  • season (optional): Season in format YYYYYYYY

Example queries:

  • "Who are the best goalies this season?"

  • "Show me top 10 goalies by save percentage"

  • "Which goalies have the most shutouts?"

get_schedule

Get game schedules.

Parameters:

  • date (optional): Date in YYYY-MM-DD format

  • teamAbbrev (optional): Team abbreviation for team-specific schedule

Example queries:

  • "When does Toronto play next?"

  • "Show me the Maple Leafs schedule"

  • "What games are scheduled this week?"

get_playoff_bracket

Get playoff bracket information.

Parameters:

  • season (optional): Season year (e.g., 2024)

Example queries:

  • "Show me the playoff bracket"

  • "What are the current playoff matchups?"

  • "Who's in the Stanley Cup Finals?"

compare_teams

Compare head-to-head statistics between two teams.

Parameters:

  • team1 (required): First team abbreviation

  • team2 (required): Second team abbreviation

  • season (optional): Season in format YYYYYYYY

Example queries:

  • "How do the Maple Leafs match up against the Bruins?"

  • "Compare Toronto and Montreal head-to-head"

  • "What's the season series between NYR and NYI?"

get_team_streak

Get a team's current winning or losing streak.

Parameters:

  • teamAbbrev (required): Team abbreviation

Example queries:

  • "What's the Maple Leafs' current streak?"

  • "Is Boston on a winning streak?"

  • "Show me the Rangers' recent results"

compare_seasons

Compare statistics across multiple seasons.

Parameters:

  • seasons (required): Array of seasons in format YYYYYYYY

  • teamAbbrev (optional): Specific team to compare

Example queries:

  • "Compare the Maple Leafs' performance over the last 3 seasons"

  • "How has scoring changed from 2022 to 2024?"

  • "Compare league-wide stats between 20232024 and 20242025"

Common Team Abbreviations

Team

Abbreviation

Anaheim Ducks

ANA

Arizona Coyotes

ARI

Boston Bruins

BOS

Buffalo Sabres

BUF

Calgary Flames

CGY

Carolina Hurricanes

CAR

Chicago Blackhawks

CHI

Colorado Avalanche

COL

Columbus Blue Jackets

CBJ

Dallas Stars

DAL

Detroit Red Wings

DET

Edmonton Oilers

EDM

Florida Panthers

FLA

Los Angeles Kings

LAK

Minnesota Wild

MIN

Montreal Canadiens

MTL

Nashville Predators

NSH

New Jersey Devils

NJD

New York Islanders

NYI

New York Rangers

NYR

Ottawa Senators

OTT

Philadelphia Flyers

PHI

Pittsburgh Penguins

PIT

San Jose Sharks

SJS

Seattle Kraken

SEA

St. Louis Blues

STL

Tampa Bay Lightning

TBL

Toronto Maple Leafs

TOR

Vancouver Canucks

VAN

Vegas Golden Knights

VGK

Washington Capitals

WSH

Winnipeg Jets

WPG

Natural Language Examples

Once configured with Claude Desktop, you can ask natural language questions like:

  • "What NHL games are on tonight?"

  • "Who's leading the league in goals?"

  • "Show me the Atlantic division standings"

  • "How are the Maple Leafs doing this season?"

  • "What's the score of the Rangers game?"

  • "Compare Toronto and Boston head-to-head"

  • "Who are the top 5 goalies by save percentage?"

  • "Is Edmonton on a winning streak?"

  • "Show me the playoff bracket"

  • "When does Montreal play next?"

Data Source

This server uses the official NHL API endpoints:

  • api-web.nhle.com - Primary data source for games, standings, and schedules

  • api.nhle.com/stats/rest - Statistics and player data

Development

# Install dependencies
npm install

# Build
npm run build

# Development mode with watch
npm run dev

License

MIT

Available Tools

11 tools
compare_seasonsC

Compare team or player statistics across multiple NHL seasons.

Inputs: seasons (required), teamAbbrev.

compare_teamsB

Compare head-to-head statistics between two NHL teams including recent matchups and historical records.

Inputs: team1 (required), team2 (required), season.

get_game_detailsC

Get detailed information about a specific game including play-by-play data, scoring plays, and period summaries.

Inputs: gameId (required).

get_goalie_statsC

Get statistics for NHL goalies including save percentage, GAA, wins, shutouts, and other goalie-specific metrics.

Inputs: limit, season.

get_live_gamesA

Get live NHL game scores and status for today or a specific date. Shows current scores, period, game state, and venue information.

Inputs: date.

get_player_statsC

Get statistics for top NHL players including goals, assists, points, plus/minus, and other performance metrics.

Inputs: category, limit, season.

get_playoff_bracketC

Get current playoff bracket with series information, matchups, and results.

Inputs: season.

get_scheduleB

Get NHL schedule for upcoming games. Can get schedule for a specific date or team.

Inputs: date, teamAbbrev.

get_standingsA

Get current NHL standings including wins, losses, points, goals for/against, and goal differential. Can filter by division or conference.

Inputs: date, division, conference.

get_team_statsC

Get detailed statistics for a specific NHL team including roster, season performance, and player stats.

Inputs: teamAbbrev (required), season.

get_team_streakB

Get current winning or losing streak for an NHL team based on recent game results.

Inputs: teamAbbrev (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting different NHL data categories (games, players, teams, standings, etc.), but there is some overlap between get_player_stats and get_team_stats (which includes player stats) that could cause minor confusion. The compare_seasons and compare_teams tools are clearly differentiated from the get_* tools.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern with clear, descriptive names. The pattern is uniform across all 11 tools, using either 'get_' or 'compare_' prefixes followed by specific nouns, making them predictable and easy to understand.

    Tool Count5/5

    With 11 tools, this server is well-scoped for an NHL data domain, covering key aspects like games, players, teams, standings, and schedules. Each tool serves a distinct purpose without feeling bloated or insufficient, fitting the typical range of 3-15 tools for a focused server.

    Completeness4/5

    The tool set provides comprehensive coverage for accessing NHL statistics and information, including live games, historical data, comparisons, and playoff details. Minor gaps exist, such as lack of tools for draft information, league news, or player injury reports, but core workflows are well-supported without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides access to comprehensive sports data from 5 major leagues (NBA, NFL, MLB, EPL, NHL) including teams, players, games, statistics, standings, injuries, and betting odds through 67+ endpoints. Enables users to query sports information and analytics through natural language.
      13
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides access to live NHL game data, team and player statistics, standings, schedules, playoff information, and head-to-head comparisons through natural language queries using official NHL APIs.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides access to live NHL data including player statistics, team standings, game scores, schedules, and playoff information through 40+ NHL API endpoints.
      3
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables access to live ESPN sports data for NFL, NHL, and NBA leagues, including standings, scores, schedules, team info, and playoffs through natural language queries.
      6
      14 npm
      1
      MIT