NHL MCP Server is an MCP server that connects AI assistants to the official NHL API via FastMCP. Built for sports analysts, fantasy hockey players, software developers, and hockey fans, it provides access to over 40 documented NHL API endpoints. The server exposes tools for retrieving live daily scores, real-time play-by-play events, and detailed game boxscores. It also allows users to query current and historical skater or goalie statistical leaders, team standings, rosters, and upcoming schedules. In addition to daily regular-season data, the server surfaces playoff bracket overviews, tournament series information, broadcast schedules, and draft data. By handling API requests, parameter validation, and error reporting, the server enables language models to answer complex hockey queries, track ongoing games, and generate statistical comparisons directly inside compatible desktop environments and developer tools without requiring manual data collection.
Category: Data & Analytics
Tags: hockey, nhl, sports, statistics
bash pip install -r requirements.txt 3. Add the server to your MCP client configuration (such as Claude Desktop): json { "mcpServers": { "nhl-api": { "command": "python", "args": ["/path/to/nhl_mcp_server.py"] } } } 4. Restart your client to start querying live NHL data.β’ Fetching real-time NHL standings, daily game scores, and detailed boxscores directly inside conversational AI sessions. β’ Analyzing player game logs and historical career totals for fantasy hockey tracking and player comparisons. β’ Tracking skater and goaltender statistical leaders across customizable metrics, game types, and specific seasons. β’ Reviewing team schedules, broadcast listings, and streaming networks for upcoming regular season and playoff matchups. β’ Retrieving play-by-play game event data to break down scoring sequences and penalties in recent matches.
Part of MCP Servers
Clone the repository from GitHub and install the Python dependencies using pip install -r requirements.txt. Then, configure your MCP client by adding the Python execution command pointing to the absolute path of nhl_mcp_server.py in your configuration file.
The server exposes more than 40 tools that interact with the NHL API. It provides access to player profiles, career statistics, live scores, team standings, play-by-play logs, boxscores, season calendars, TV broadcast schedules, and playoff tournament brackets.
The server works with any MCP-compliant client that supports local command-based server configurations, including Claude Desktop, Cursor, and custom tools built on the FastMCP framework.
The server expects standard three-letter NHL team abbreviations like TOR or EDM, eight-digit season strings such as 20232024, game type indicators like 2 for regular season or 3 for playoffs, and standard YYYY-MM-DD date formats.
Yes, the repository is open source. However, data retrieved through the server is provided by the National Hockey League and remains subject to the NHL's terms of service.