Token导航 LogoToken导航TokenDH.com
Nhl API MCP logo
运维云端未说明官方级别未说明来源级核验

Nhl API MCP

MCP Server

一个提供实时NHL统计数据查询的服务,支持AI助手回答与冰球相关的问题,包括比赛结果、球员统计、球队信息等。

工具数

26

提示词数

0

GitHub Stars

1

资源数

0
TypeScriptClaude云端部署Claude DesktopClaudeCursorWindsurfClineVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

jakubsvobodacz

提供方

jakubsvobodacz

最后核验

2026/5/17 20:21

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

nhl-api-mcp

MCP server for NHL statistics. Lets AI assistants answer hockey questions using real-time data from the NHL Web API and Stats API.

Powered by nhl-api-client.

Features

  • 26 tools covering standings, scores, players, teams, games, schedule,

draft, playoffs, NHL Edge analytics, Stats API, and more

  • Human-readable formatted responses optimized for AI consumption
  • Real-time data from both NHL APIs

Quick Start

Prerequisites

  • Node.js 18+

Build from Source

git clone https://github.com/jakubsvobodacz/nhl-api-mcp.git
cd nhl-api-mcp
npm install
npm run build

Setup by Tool

Claude Code

Add to ~/.claude.json:

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

Restart Claude Code. Verify with /mcp — you should see 26 tools listed.

Cursor

Settings → MCP → Add Server:

  • Name: nhl
  • Transport: stdio
  • Command: node /absolute/path/to/nhl-api-mcp/dist/index.js

VS Code (Continue)

Add to .continue/config.json:

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

VS Code (Cline)

Open Cline MCP settings and add:

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

Windsurf

Settings → MCP → Add Server with stdio transport pointing to dist/index.js.

Claude Desktop

Add to claude_desktop_config.json:

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

Example Questions

  • "What are the current NHL standings?"
  • "Who won last night's games?"
  • "Show me Connor McDavid's stats this season" (player ID: 8478402)
  • "What's the Maple Leafs' roster?"
  • "When is the next Rangers game?"
  • "Who leads the league in goals?"
  • "Show me the playoff bracket"
  • "What are the fastest skaters in the NHL?"
  • "Get me the boxscore for game 2024020567"
  • "Who are the spotlight players right now?"
  • "Show me the Oilers' prospects"
  • "What games are on TV tonight?"
  • "Show me all skaters with 30+ goals this season"
  • "Who are the top goalie leaders?"
  • "Explain what GAA means"

Available Tools

ToolDescriptionKey Params
get_standingsNHL standings by divisiondate?
get_scoresGame scores for a datedate?
get_playerFull player profileplayer_id
get_player_game_logGame-by-game statsplayer_id, season?, game_type?
get_spotlight_playersFeatured/trending players
get_team_rosterTeam roster by positionteam, season?
get_team_statsTeam player statisticsteam, season?, game_type?
get_team_prospectsTeam prospect poolteam
get_scheduleGame scheduledate?, team?
get_game_boxscoreFull game boxscoregame_id
get_game_storyThree stars, goals, penaltiesgame_id
get_play_by_playPlay-by-play event feedgame_id, event_types?
get_shift_chartsPlayer shift datagame_id, team?, player_id?
get_leadersLeague stat leadersplayer_type?, categories?, season?
get_draftDraft rankings or pickstype?, season?, round?
get_playoffsPlayoff bracket/seriestype?, season?, series_letter?
get_tv_scheduleTV broadcast scheduledate?
get_edge_skater_statsNHL Edge skater trackingreport, season?, team?, position?
get_edge_team_statsNHL Edge team trackingreport, season?
get_edge_goalie_statsNHL Edge goalie trackingreport, season?, team?
get_skater_statsStats API skater statsreport?, type?, season?, min_games?
get_goalie_statsStats API goalie statsreport?, type?, season?
get_team_stats_reportStats API team statsreport?, season?
get_franchisesFranchise/team infotype?, team_id?
search_playersPlayer/team ID lookupquery
get_glossaryStats abbreviation glossary

Common Parameters

  • Team abbreviations: TOR, EDM, NYR, BOS, COL, FLA, VGK, DAL, CAR, WPG, etc.
  • Season format: 20242025 (8-digit, start year + end year)
  • Game ID format: SSSSTTNNNN (e.g., 2024020567 — season 2024, type 02=regular, game 0567)
  • Game type: 2 = regular season, 3 = playoffs
  • Edge reports: real-time, distance, speed, speed-bursts, zone-time, shot-speed, shot-location, time-between-shots, possession-time, penalty-kill, power-play, faceoffs, overview
  • Skater stat reports: summary, bios, faceoffpercentages, goalsforagainst, realtime, penalties, penaltykill, powerplay, timeonice
  • Goalie stat reports: summary, advanced, bios, daysrest, savesByStrength, startedVsRelieved

Development

npm install       # Install dependencies
npm run build     # Build with tsup (ESM + shebang)
npm run dev       # Run with tsx (hot reload)
npm run typecheck # TypeScript type checking
npm run test      # Run tests with vitest

License

MIT

目录标签

目录标签

TypeScriptClaude云端部署冰球数据本地部署实时统计AI集成体育分析API服务

支持客户端

Claude DesktopClaudeCursorWindsurfClineVS Code

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

26

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP