nyse_is_market_open

Pack: exchange-calendars · 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/nyse_is_market_open for the schema, then POST the same URL with its arguments for the data.

Is the New York Stock Exchange (NYSE) open at a given moment, and when are the next open and close? Returns the session status (open, closed), the day type (regular, early-close, holiday, weekend), the holiday name if any, and the next open and next close in New York time and UTC, including 1:00 p.m. early closes. Holidays and early closes are read from the NYSE hours-and-holidays calendar; the regular session is 9:30 a.m. to 4:00 p.m. New York time. Give “at” (ISO time with offset) or “date” + “time” + optional “timezone”. Omit all to use the current time.

Parameters

NameTypeRequiredDescription
atstringnoISO 8601 time, e.g. “2026-12-24T13:30:00-05:00” or “2026-12-24T18:30:00Z”. Without an offset it is read in “timezone”.
datestringnoDate, YYYY-MM-DD (use with “time”)
timestringnoWall-clock time, HH:MM 24-hour (use with “date”)
timezonestringnoIANA zone for “date”/“time” or an offset-less “at”, e.g. “Europe/London”. Default America/New_York.

Example call

Arguments

{
  "at": "2026-12-24T13:30:00-05:00"
}

curl

curl -X POST https://gateway.pipeworx.io/exchange-calendars/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nyse_is_market_open","arguments":{"at":"2026-12-24T13:30:00-05:00"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('nyse_is_market_open', {
  "at": "2026-12-24T13:30:00-05:00"
});

Response shape

FieldTypeDescription
exchangestring
queried_atobject
statusstring
is_openboolean
day_typestring
holidaynull
todays_sessionobject
next_openobject
next_closeobject
next_open_day_typestring
next_close_day_typestring
calendar_yearsarray
data_as_ofstring
sourcestring
notestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "exchange": {
      "type": "string"
    },
    "queried_at": {
      "type": "object",
      "properties": {
        "new_york": {
          "type": "string"
        },
        "utc": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "status": {
      "type": "string"
    },
    "is_open": {
      "type": "boolean"
    },
    "day_type": {
      "type": "string"
    },
    "holiday": {
      "type": "null"
    },
    "todays_session": {
      "type": "object",
      "properties": {
        "open": {
          "type": "string"
        },
        "close": {
          "type": "string"
        },
        "time_zone": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "next_open": {
      "type": "object",
      "properties": {
        "new_york": {
          "type": "string"
        },
        "utc": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "next_close": {
      "type": "object",
      "properties": {
        "new_york": {
          "type": "string"
        },
        "utc": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "next_open_day_type": {
      "type": "string"
    },
    "next_close_day_type": {
      "type": "string"
    },
    "calendar_years": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "data_as_of": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "note": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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 exchange-calendars pack
{
  "mcpServers": {
    "exchange-calendars": {
      "url": "https://gateway.pipeworx.io/exchange-calendars/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 29, 2026