query_table

Pack: statbank-md · Endpoint: https://gateway.pipeworx.io/statbank-md/mcp

Pull data from a table (POST). body is a PxWeb query object. Keep selected cells under ~10,000.

Parameters

NameTypeRequiredDescription
pathstringyesPath ending in the “.px” table id.
bodyobjectyes{query: [{code, selection: {filter, values}}], response: {format: “json-stat2”}}
selectionunknownno
responseunknownno

Example call

curl -X POST https://gateway.pipeworx.io/statbank-md/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": {
    "statbank-md": {
      "url": "https://gateway.pipeworx.io/statbank-md/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 2, 2026