PuckAPI

Registre officiel Autres

NHL and PWHL stats, play-by-play, expected goals and odds. REST API and MCP server. Free to start.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http puckapi 'https://mcp.puckapi.com/mcp' --header 'x-api-key: <Your PuckAPI API key. Get a free key (500 credits every month) at puckapi.com/signup>'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "puckapi": {
            "type": "http",
            "url": "https://mcp.puckapi.com/mcp",
            "headers": {
                "x-api-key": "<Your PuckAPI API key. Get a free key (500 credits every month) at puckapi.com/signup>"
            }
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Quick Start
  2. Available Tools
  3. Data Coverage
  4. Pricing
  5. REST API
  6. Used by
  7. Related

The hockey data API. Stats, odds, and everything between.
REST API and MCP server. Free to start.

Quick Start · Tools · Data · Pricing · REST API

You:    "What were last night's NHL scores?"
Claude: [calls get_games → returns scores, periods, shots, goals]

You:    "Show me the line movement on the Sabres game"
Claude: [calls get_line_movement → opening line, current line, timestamps, book-by-book]

You:    "Compare McDavid and MacKinnon this season"
Claude: [calls get_player_stats x2 → side-by-side goals, assists, points, TOI, shooting %]

Quick Start

Claude Desktop -- add to claude_desktop_config.json:

{
  "mcpServers": {
    "puckapi": {
      "url": "https://mcp.puckapi.com/mcp?key=YOUR_API_KEY"
    }
  }
}

Claude Code -- one command:

claude mcp add --transport http puckapi \
  "https://mcp.puckapi.com/mcp?key=YOUR_API_KEY"

Other MCP clients -- any client supporting Streamable HTTP:

SettingValue
URLhttps://mcp.puckapi.com/mcp?key=YOUR_API_KEY
TransportStreamable HTTP

Also accepts Authorization: Bearer or x-api-key headers. Connecting and listing tools works without a key; calling a tool needs one.

Get your free key at puckapi.com -- 500 credits, no credit card.


Available Tools

Games -- 4 tools

ToolDescription
get_gamesGame results with scores, periods, shots, and goals
get_scheduleUpcoming and past game schedules
get_game_detailFull box score for a specific game
get_head_to_headHistorical matchup data between two teams

Teams -- 3 tools

ToolDescription
get_standingsCurrent or historical standings by season
get_team_statsTeam-level stats (goals, shots, PP%, PK%, etc.)
list_teamsAll NHL teams with abbreviations and metadata

Players -- 5 tools

ToolDescription
search_playersFind players by name
get_player_statsSkater stats (goals, assists, points, TOI, etc.)
get_skater_season_statsSeason stats leaderboard -- goals, assists, points, TOI, shooting %, filterable by team and sortable by 5 metrics
get_goalie_statsGoalie stats (SV%, GAA, wins, shutouts, etc.)
get_player_game_logGame-by-game lines for a skater or goalie in a season: goals, assists, shots, PIM, saves, SV%

Odds -- 2 tools

ToolDescription
get_oddsOpening and closing moneyline, puck line and total by sportsbook, every game from 2019-20
get_line_movementTime-series odds grouped by bookmaker

Play-by-play -- 2 tools

ToolDescription
get_playsPlay-by-play events with rink coordinates, strength state and the players involved
get_shot_mapEvery shot attempt with rink coordinates, shot type, shooter and goalie

Data Coverage

CategoryDetails
Games23,000+ across 16 seasons
Play-by-playEvery event since 2010-11 with rink coordinates (6.8M+ events)
OddsEvery game from 2019-20: about 12-14 books a game for 2020-21 to 2023-24, 60+ in 2025-26, and 8 books including Pinnacle captured hourly from October 2026
Line movementHourly snapshots from September 2026
Players4,800+ skaters and goalies
ComputedExpected goals, GSAX, Corsi and Fenwick
PWHLGames, standings, play-by-play and shot locations; pass league: "pwhl" (details)
UpdatesGames daily; odds captured hourly

Live coverage by season: historical odds · play-by-play · shot data


Pricing

PlanCredits/moPrice
Free500 every month$0
Starter10,000$19/mo
Pro30,000$49/mo
Scale125,000$149/mo

Tools cost 1 to 25 credits a call (per-tool costs). Wallet top-ups from $5 never expire.


REST API

PuckAPI also offers a standard REST API:

curl -X POST https://mcp.puckapi.com/v1/get_standings \
  -H "x-api-key: YOUR_API_KEY"

Full documentation at puckapi.com/docs.


Used by

PuckCast, our NHL predictions site, runs on this API.

PuckAPI Skills28 free Claude Code skills for hockey analytics, betting models, and research
puckapi.comSign up, dashboard, API docs
NHL odds tonightEvery tracked sportsbook's moneyline, puck line and total, refreshed hourly
NHL player props todayPoints, goals, shots, saves and anytime scorer: the consensus line and the best over and under price per player
Shots on goal prop historyHow often a player goes over his shots line, game by game, in Python
Other sports, same tools and key format
EndzoneAPINFL and college football
DunkAPINBA, WNBA and college basketball
FastballAPIMLB and college baseball
StrikerAPISoccer, 17 competitions
AcesAPIATP and WTA tennis
BirdieAPIPGA Tour and other golf tours
FighterAPIUFC, PFL and Bellator

puckapi.com · API Docs · Skills

MIT License

Questions fréquentes

Qu'est-ce que PuckAPI ?

NHL and PWHL stats, play-by-play, expected goals and odds. REST API and MCP server. Free to start.

Comment installer PuckAPI ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http puckapi 'https://mcp.puckapi.com/mcp' --header 'x-api-key: <Your PuckAPI API key. Get a free key (500 credits every month) at puckapi.com/signup>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour PuckAPI ?

Oui. Il attend x-api-key, à renseigner dans sa configuration.

PuckAPI est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient PuckAPI ?

Il est publié par PuckAPI. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.