market_holidays
Pack: polygon-io · Endpoint: https://gateway.pipeworx.io/polygon-io/mcp
Return the list of upcoming US stock market holidays from 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, or use one-click install buttons:
{
"mcpServers": {
"polygon-io": {
"url": "https://gateway.pipeworx.io/polygon-io/mcp"
}
}
}
See Getting Started for client-specific install steps.