get_schedule
Pack: nhl · Endpoint: https://gateway.pipeworx.io/nhl/mcp
Get the current NHL weekly schedule. Returns upcoming and recent games with teams, dates, times, and venues.
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_schedule","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_schedule', {});
Response shape
Always returns: current_date, total_games, games
| Field | Type | Description |
|---|---|---|
current_date | string | null | Current date |
total_games | number | Total number of games in schedule |
games | array |
Full JSON Schema
{
"type": "object",
"properties": {
"current_date": {
"type": [
"string",
"null"
],
"description": "Current date"
},
"total_games": {
"type": "number",
"description": "Total number of games in schedule"
},
"games": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"number",
"null"
],
"description": "Game ID"
},
"date": {
"type": [
"string",
"null"
],
"description": "Game date"
},
"start_time_utc": {
"type": [
"string",
"null"
],
"description": "Start time in UTC"
},
"state": {
"type": [
"string",
"null"
],
"description": "Game state"
},
"away_team": {
"type": [
"string",
"null"
],
"description": "Away team name or abbreviation"
},
"home_team": {
"type": [
"string",
"null"
],
"description": "Home team name or abbreviation"
},
"venue": {
"type": [
"string",
"null"
],
"description": "Venue name"
}
}
}
}
},
"required": [
"current_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.