nfl_play_by_play

Pack: nflverse · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

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

Every play of one NFL game from nflverse play-by-play (1999-current): down, distance, field position, play type, yards, the official play description, passer/rusher/receiver, score, expected points added (EPA) and win probability. Filter by quarter or play type. Find game ids with nfl_schedule.

Parameters

NameTypeRequiredDescription
game_idstringyesnflverse game id: season_week_away_home, e.g. “2024_01_BAL_KC”.
quarternumbernoOnly this quarter (1-4; 5 = overtime).
play_typestringnoOnly plays of this type.
limitnumbernoMax plays returned (default 300, max 400). A full game is ~150-200 rows.

Example call

Arguments

{
  "game_id": "2024_01_BAL_KC"
}

curl

curl -X POST https://gateway.pipeworx.io/nflverse/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nfl_play_by_play","arguments":{"game_id":"2024_01_BAL_KC"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('nfl_play_by_play', {
  "game_id": "2024_01_BAL_KC"
});

Response shape

FieldTypeDescription
foundboolean
game_idstring
seasonnumber
quarternull | number
play_typeunknownNull in every sampled response; type not observed, so left unconstrained.
plays_matchednumber
plays_returnednumber
truncatedboolean
notestring
playsarray
data_as_ofstring
sourcestring
licencestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "game_id": {
      "type": "string"
    },
    "season": {
      "type": "number"
    },
    "quarter": {
      "type": [
        "null",
        "number"
      ]
    },
    "play_type": {
      "description": "Null in every sampled response; type not observed, so left unconstrained."
    },
    "plays_matched": {
      "type": "number"
    },
    "plays_returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "note": {
      "type": "string"
    },
    "plays": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "play_id": {
            "type": "number"
          },
          "qtr": {
            "type": "number"
          },
          "time": {
            "type": "string"
          },
          "down": {
            "type": [
              "null",
              "number"
            ]
          },
          "ydstogo": {
            "type": "number"
          },
          "yrdln": {
            "type": "string"
          },
          "posteam": {
            "type": [
              "null",
              "string"
            ]
          },
          "defteam": {
            "type": [
              "null",
              "string"
            ]
          },
          "play_type": {
            "type": [
              "null",
              "string"
            ]
          },
          "yards_gained": {
            "type": [
              "null",
              "number"
            ]
          },
          "desc": {
            "type": "string"
          },
          "passer_player_name": {
            "type": [
              "null",
              "string"
            ]
          },
          "receiver_player_name": {
            "type": [
              "null",
              "string"
            ]
          },
          "rusher_player_name": {
            "type": [
              "null",
              "string"
            ]
          },
          "touchdown": {
            "type": [
              "null",
              "number"
            ]
          },
          "interception": {
            "type": [
              "null",
              "number"
            ]
          },
          "fumble_lost": {
            "type": [
              "null",
              "number"
            ]
          },
          "sack": {
            "type": [
              "null",
              "number"
            ]
          },
          "penalty": {
            "type": [
              "null",
              "number"
            ]
          },
          "field_goal_result": {
            "type": [
              "null",
              "string"
            ]
          },
          "posteam_score": {
            "type": [
              "null",
              "number"
            ]
          },
          "defteam_score": {
            "type": [
              "null",
              "number"
            ]
          },
          "epa": {
            "type": "number"
          },
          "wp": {
            "type": "number"
          }
        }
      }
    },
    "data_as_of": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "licence": {
      "type": "string"
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the nflverse pack
{
  "mcpServers": {
    "nflverse": {
      "url": "https://gateway.pipeworx.io/nflverse/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 27, 2026