NHL API Skill
Sci220/claude-nhl-api-skill
Acesso a dados ao vivo da NHL via APIs públicas para Claude
Ver no GitHubSkill para Claude responder perguntas sobre NHL (National Hockey League) com dados em tempo real via APIs públicas da liga. Acessa estatísticas de jogadores, goaltenders, classificações, placares, rosters e permite filtros por nacionalidade, time e temporada, sem necessidade de chave de API.
Instalação
npx convez-ai Sci220/claude-nhl-api-skill1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Consultar estatísticas de jogadores e goaltenders da NHL
- Buscar jogadores por nacionalidade ou time com ranking por pontos/desempenho
- Verificar placares, cronogramas e cenário de playoffs em tempo real
- Filtrar dados por temporada, posição e limiares de desempenho
Veredito

Skill bem documentado que integra as APIs públicas da NHL ao Claude com tratamento cuidado das pegadinhas comuns (nomes de campos inconsistentes, redirecionamentos). Útil para aplicações de fan engagement e análise de dados esportivos, sem dependência de serviços pagos.
README
A tradução para o português deste README ainda está na fila.
nhl-api — Claude Agent Skill
A Claude Agent Skill that lets Claude answer NHL (National Hockey League) questions with live data — player & goalie stats, standings, scores, schedules, rosters, playoffs, and nationality/team/season filtering — by querying the free, no-auth public NHL APIs (api-web.nhle.com and api.nhle.com/stats/rest).
No API key. No paid service. Just the league's own public JSON endpoints.
What it gives Claude
- The two NHL API hosts and when to use each (the readable web API vs. the queryable stats API).
- A quick-reference table of the most useful endpoints.
- The
cayenneExpfilter language — how to filter and rank players by nationality, team, position, season, or any stat threshold in a single request. - The non-obvious gotchas that otherwise cost you dead-end calls, e.g.:
savePct(stats API) vssavePctg(web API) — wrong name returnsInvalid report property.nationalityCodevsbirthCountryCode./nowendpoints 307-redirect;summaryexcludes 0-game players; off-season behavior;gameStatecodes.
- A deep
reference.mdwith the full endpoint catalog and response field names.
Example questions it can answer
- "How many points does Zemgus Girgensons have this season?"
- "Top 3 Swedish scorers in the NHL right now?"
- "Which Latvian goalie has the best save percentage?"
- "What NHL games are on tonight, and the score?"
- "Show me the current Eastern Conference playoff picture."
Install
Claude Code (personal skill)
Clone it into your personal skills directory as nhl-api:
git clone https://github.com/Sci220/claude-nhl-api-skill.git ~/.claude/skills/nhl-api
That's it — Claude Code auto-discovers skills in ~/.claude/skills/. Start a new session and ask an NHL question; Claude will load the skill on its own (or you can invoke it explicitly with /nhl-api).
To update later:
git -C ~/.claude/skills/nhl-api pull
Other agents
The skill is plain Markdown (SKILL.md + reference.md) following the Agent Skills spec, so it works anywhere skills are supported:
- Codex: clone into
~/.agents/skills/nhl-api/ - As a plugin / project skill: drop the folder into your plugin's
skills/directory or a project.claude/skills/directory.
How it works (no magic)
Everything runs through curl against public endpoints. For example, all Latvian skaters this season ranked by points:
curl -sG https://api.nhle.com/stats/rest/en/skater/summary \
--data-urlencode 'sort=[{"property":"points","direction":"DESC"}]' \
--data-urlencode 'cayenneExp=seasonId=20252026 and gameTypeId=2 and nationalityCode="LVA"'
See SKILL.md for the quick reference and reference.md for the full catalog.
Notes
- Unofficial: these are the NHL's public web/stats endpoints (the same ones powering NHL.com). They are not a documented, supported product and could change without notice.
- Not affiliated with or endorsed by the National Hockey League.
License
MIT — see LICENSE.