market_status
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_status for the schema, then POST the same URL with its arguments for the data.
Current market status.
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_status","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('market_status', {});
Response shape
| Field | Type | Description |
|---|---|---|
afterHours | boolean | |
currencies | object | |
earlyHours | boolean | |
exchanges | object | |
indicesGroups | object | |
market | string | |
serverTime | string |
Full JSON Schema
{
"type": "object",
"properties": {
"afterHours": {
"type": "boolean"
},
"currencies": {
"type": "object",
"properties": {
"crypto": {
"type": "string"
},
"fx": {
"type": "string"
}
}
},
"earlyHours": {
"type": "boolean"
},
"exchanges": {
"type": "object",
"properties": {
"nasdaq": {
"type": "string"
},
"nyse": {
"type": "string"
},
"otc": {
"type": "string"
}
}
},
"indicesGroups": {
"type": "object",
"properties": {
"s_and_p": {
"type": "string"
},
"societe_generale": {
"type": "string"
},
"msci": {
"type": "string"
},
"ftse_russell": {
"type": "string"
},
"mstar": {
"type": "string"
},
"mstarc": {
"type": "string"
},
"cccy": {
"type": "string"
},
"cgi": {
"type": "string"
},
"nasdaq": {
"type": "string"
},
"dow_jones": {
"type": "string"
}
}
},
"market": {
"type": "string"
},
"serverTime": {
"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 polygon-io pack
{
"mcpServers": {
"polygon-io": {
"url": "https://gateway.pipeworx.io/polygon-io/mcp"
}
}
}
See Getting Started for client-specific install steps.