query_table
Pack: askdata-xk · Endpoint: https://gateway.pipeworx.io/askdata-xk/mcp
Pull data from a table (path ends in “.px”). body is a PxWeb query object. Mind the ~10,000-cell limit.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
path | string | yes | e.g. “ASKdata/Prices/Consumer Price Index/Annual indicators/T4CPI.px” |
body | object | yes | {query: [{code, selection: {filter, values}}], response: {format: “json-stat2”}} |
selection | unknown | no | |
response | unknown | no |
Example call
curl -X POST https://gateway.pipeworx.io/askdata-xk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_table","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"askdata-xk": {
"url": "https://gateway.pipeworx.io/askdata-xk/mcp"
}
}
}
See Getting Started for client-specific install steps.