market_holidays
Pack: polygon-io · 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/market_holidays for the schema, then POST the same URL with its arguments for the data.
Return the list of upcoming US stock market holidays from Massive (formerly Polygon.io), including date, holiday name, and exchange status (open/closed/early-close).
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/polygon-io/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"market_holidays","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('market_holidays', {});
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | Upcoming market holidays |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"description": "Upcoming market holidays",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Market status"
},
"name": {
"type": "string",
"description": "Holiday name"
},
"date": {
"type": "string",
"description": "Holiday date"
},
"exchange": {
"type": "string",
"description": "Exchange code"
},
"open": {
"type": "string",
"description": "Market opening time"
},
"close": {
"type": "string",
"description": "Market closing time"
}
}
}
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
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 polygon-io pack
{
"mcpServers": {
"polygon-io": {
"url": "https://gateway.pipeworx.io/polygon-io/mcp"
}
}
}
See Getting Started for client-specific install steps.