get_scores

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

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_scores for the schema, then POST the same URL with its arguments for the data.

Get today’s NHL game scores and status (live, final, or scheduled). Returns teams, scores, shots on goal, and current period.

Example call

Arguments

{}

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_scores","arguments":{}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_scores', {});

Response shape

Always returns: date, total_games, games

FieldTypeDescription
datestring | nullCurrent date
total_gamesnumberTotal number of games
gamesarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Current date"
    },
    "total_games": {
      "type": "number",
      "description": "Total number of games"
    },
    "games": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Game ID"
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "Game state (live, final, scheduled)"
          },
          "start_time_utc": {
            "type": [
              "string",
              "null"
            ],
            "description": "Start time in UTC"
          },
          "period": {
            "type": [
              "number",
              "null"
            ],
            "description": "Current period"
          },
          "away_team": {
            "type": [
              "string",
              "null"
            ],
            "description": "Away team name or abbreviation"
          },
          "away_score": {
            "type": [
              "number",
              "null"
            ],
            "description": "Away team score"
          },
          "away_sog": {
            "type": [
              "number",
              "null"
            ],
            "description": "Away team shots on goal"
          },
          "home_team": {
            "type": [
              "string",
              "null"
            ],
            "description": "Home team name or abbreviation"
          },
          "home_score": {
            "type": [
              "number",
              "null"
            ],
            "description": "Home team score"
          },
          "home_sog": {
            "type": [
              "number",
              "null"
            ],
            "description": "Home team shots on goal"
          }
        }
      }
    }
  },
  "required": [
    "date",
    "total_games",
    "games"
  ]
}

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 September 22, 2026