Skip to content

Dual-source NHL toolkit pairing ESPN scores and rosters with NHL API analytics back to 1917.

CCM score
57 of 100
skills.sh installs
770
GitHub stars
274
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scores, standings, rosters, schedules, box scores, injuries, transactions, news, and betting futures via ESPN and the official NHL API
  • Includes play-by-play with on-ice x/y coordinates, shot types, and blocked-shot credit, plus skater and goalie leaders by category
  • Provides cross-league career rows labeled is_nhl, with TOTAL rows for mid-season trades, and bridges ESPN and NHL team and player IDs
  • Designed for NHL questions only, with zero config and no API keys, and routes other hockey leagues and sports elsewhere

Install

$ npx -y skills add machina-sports/sports-skills --skill nhl-data -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

NHL Data

Before writing queries, consult references/api-reference.md for endpoints, ID conventions, and data shapes.

Setup

Before first use, check if the CLI is available:

which sports-skills || pip install sports-skills

If pip install fails with a Python version error, the package requires Python 3.10+. Find a compatible Python:

python3 --version  # check version
# If < 3.10, try: python3.12 -m pip install sports-skills
# On macOS with Homebrew: /opt/homebrew/bin/python3.12 -m pip install sports-skills

No API keys required.

Quick Start

Prefer the CLI — it avoids Python import path issues:

sports-skills nhl get_scoreboard
sports-skills nhl get_standings --season=2025
sports-skills nhl get_teams

CRITICAL: Before Any Query

CRITICAL: Before calling any data endpoint, verify:

  • For the current season, omit season/season_year on ESPN commands — never hardcode one.
  • If only a team name is provided, call get_teams to resolve the team ID before using team-specific commands.

Choosing the Season

ESPN names an NHL season by the year it ends: 2026-27 is 2027, so in February 2026 the current season is 2026.

Details

Repository
github.com/machina-sports/sports-skills
First seen
Jun 3, 2026

Questions

What does the nhl-data skill do?

The nhl-data skill pulls NHL scores, standings, rosters, schedules, game summaries, injuries, leaders and news from ESPN and the official NHL API. It also offers an analytics layer with play-by-play that includes on-ice coordinates, career rows across leagues, and historical seasons back to 1917.

How do I install the nhl-data skill?

Run npx -y skills add machina-sports/sports-skills --skill nhl-data -y in your project. Once installed, the agent can answer questions about NHL scores, rosters, box scores, play-by-play and career stats.

Does nhl-data need API keys or any setup?

No, the skill needs no API keys and has zero config. It works with public ESPN and NHL endpoints, and the CLI only needs the sports-skills package, which requires Python 3.10 or newer.

Can nhl-data cover other hockey leagues like the AHL or KHL?

No, the skill covers only the NHL and does not handle other hockey leagues such as the AHL, KHL or college hockey. For other sports, the listing points to separate skills like nfl-data and nba-data.

More from machina-sports/sports-skills

All 18

Similar to Nhl Data