get_data

Pack: datacube-sk · Endpoint: https://gateway.pipeworx.io/datacube-sk/mcp

Pull data for a cube as JSON-stat. Provide one selection per dimension,

Parameters

NameTypeRequiredDescription
cubestringyesCube code, e.g. “as1001rs” (from list_datasets).
selectionsarrayyesOne entry per dimension, in dataset_dimensions order. Each is a value code, a comma-separated list of codes, or “all”. Example for as1001rs: [“2024”, “UKAZ01”, “all”].
itemsstringno
langstringnoLabel language (default “en”).

Example call

Arguments

{
  "cube": "as1001rs",
  "selections": [
    "2024",
    "UKAZ01",
    "all"
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/datacube-sk/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_data","arguments":{"cube":"as1001rs","selections":["2024","UKAZ01","all"]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_data', {
  "cube": "as1001rs",
  "selections": [
    "2024",
    "UKAZ01",
    "all"
  ]
});

More examples

{
  "cube": "as1001rs",
  "selections": [
    "2023,2024",
    "UKAZ01,UKAZ02",
    "SEX_M"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "datacube-sk": {
      "url": "https://gateway.pipeworx.io/datacube-sk/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 31, 2026