get_player

Pack: nhl · Endpoint: https://gateway.pipeworx.io/nhl/mcp

Get an NHL player’s profile and current season stats by player ID. Returns bio, position, team, and season statistics.

Parameters

NameTypeRequiredDescription
playerIdnumberyesNHL player ID (e.g., 8478402 for Connor McDavid)

Example call

Arguments

{
  "playerId": 8478402
}

curl

curl -X POST https://gateway.pipeworx.io/nhl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_player","arguments":{"playerId":8478402}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_player', {
  "playerId": 8478402
});

More examples

{
  "playerId": 8477933
}

Response shape

FieldTypeDescription
player_idnumber | nullPlayer ID
namestring | nullPlayer full name
numbernumber | nullJersey number
positionstring | nullPlayer position
teamstring | nullCurrent team name
team_abbrevstring | nullCurrent team abbreviation
birth_datestring | nullBirth date
birth_citystring | nullBirth city
birth_countrystring | nullBirth country
height_innumber | nullHeight in inches
weight_lbsnumber | nullWeight in pounds
headshotstring | nullHeadshot image URL
current_season_statsobject | null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "player_id": {
      "type": [
        "number",
        "null"
      ],
      "description": "Player ID"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player full name"
    },
    "number": {
      "type": [
        "number",
        "null"
      ],
      "description": "Jersey number"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player position"
    },
    "team": {
      "type": [
        "string",
        "null"
      ],
      "description": "Current team name"
    },
    "team_abbrev": {
      "type": [
        "string",
        "null"
      ],
      "description": "Current team abbreviation"
    },
    "birth_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Birth date"
    },
    "birth_city": {
      "type": [
        "string",
        "null"
      ],
      "description": "Birth city"
    },
    "birth_country": {
      "type": [
        "string",
        "null"
      ],
      "description": "Birth country"
    },
    "height_in": {
      "type": [
        "number",
        "null"
      ],
      "description": "Height in inches"
    },
    "weight_lbs": {
      "type": [
        "number",
        "null"
      ],
      "description": "Weight in pounds"
    },
    "headshot": {
      "type": [
        "string",
        "null"
      ],
      "description": "Headshot image URL"
    },
    "current_season_stats": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "season": {
          "type": [
            "number",
            "null"
          ],
          "description": "Season year"
        },
        "games_played": {
          "type": [
            "number",
            "null"
          ],
          "description": "Games played"
        },
        "goals": {
          "type": [
            "number",
            "null"
          ],
          "description": "Goals scored"
        },
        "assists": {
          "type": [
            "number",
            "null"
          ],
          "description": "Assists"
        },
        "points": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total points"
        },
        "plus_minus": {
          "type": [
            "number",
            "null"
          ],
          "description": "Plus/minus rating"
        },
        "pim": {
          "type": [
            "number",
            "null"
          ],
          "description": "Penalties in minutes"
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "nhl": {
      "url": "https://gateway.pipeworx.io/nhl/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026