get_team_schedule

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

A team’s schedule — upcoming and recent games with dates, opponents, and (for finished games) scores and result. PREFER for “when do the Lakers play next”, “‘s schedule”, ” recent results”. Get the numeric team_id from get_teams.

Parameters

NameTypeRequiredDescription
sportstringyesSport, e.g. ‘basketball’.
leaguestringyesLeague slug, e.g. ‘nba’.
team_idstringyesNumeric ESPN team id (from get_teams), e.g. “13” for the Lakers.

Example call

Arguments

{
  "sport": "basketball",
  "league": "nba",
  "team_id": "13"
}

curl

curl -X POST https://gateway.pipeworx.io/espn/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_team_schedule","arguments":{"sport":"basketball","league":"nba","team_id":"13"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_team_schedule', {
  "sport": "basketball",
  "league": "nba",
  "team_id": "13"
});

More examples

{
  "sport": "football",
  "league": "nfl",
  "team_id": "25"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build August 9, 2026