Exchange Calendars

liveFinanceMarketsProductivity

exchange-calendars: trading hours, holidays and early closes for stock exchanges.

2tools
0msauth
free tier50 calls/day

Tools

nyse_is_market_open

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), th

No parameters required.

▶Try it
nyse_holidays

NYSE market holidays and early-close days (1:00 p.m. New York time) for each year the NYSE publishes, read from the NYSE hours-and-holidays calendar. Optional "year" filter.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/exchange-calendars/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/exchange-calendars/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"nyse_is_market_open","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("nyse_is_market_open", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("exchange-calendars: trading hours, holidays and early closes for stock exchanges");