market_status
Pack: polygon-io · Endpoint: https://gateway.pipeworx.io/polygon-io/mcp
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 |
|---|---|---|
status | string | API response status |
results | object | Current market status |
Full JSON Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "API response status"
},
"results": {
"type": "object",
"description": "Current market status",
"properties": {
"status": {
"type": "string",
"description": "Market status (open/closed)"
},
"exchanges": {
"type": "array",
"description": "Exchange statuses",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Exchange name"
},
"status": {
"type": "string",
"description": "Exchange status"
},
"tape": {
"type": "string",
"description": "Tape identifier"
}
}
}
},
"market": {
"type": "string",
"description": "Overall market status"
},
"after_hours": {
"type": "boolean",
"description": "After-hours status"
},
"pre_market": {
"type": "boolean",
"description": "Pre-market status"
}
}
}
}
}
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.