czso_cz_get_slice

Pack: czso-cz · 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/czso_cz_get_slice for the schema, then POST the same URL with its arguments for the data.

Read a SLICE of a Czech Statistical Office (ČSÚ) dataset as flat rows (period, indicator, unit, value, one label per dimension), so a figure can be read from datasets too large to export whole (the quarterly wage survey MZDQ1 has 121 million records).

Parameters

NameTypeRequiredDescription
kodstringyesDataset id, e.g. “MZDQ1” (quarterly employees and average gross monthly wages). Get it from list_datasets.
verzestringnoDataset version. Optional, defaults to the latest version from the catalog.
indicatorsarraynoIndicator codes (ukazatele), e.g. [“5958P”] average gross monthly wage (CZK). Default: all indicators of the dataset.
itemsstringno
periodsarraynoPeriod item codes of the dataset’s time dimension, e.g. [“2026-Q1”,“2026-Q2”] (quarterly) or [“2025”] (annual). Default: the latest period.
itemsstringno
last_nnumbernoInstead of periods: the latest N periods (quarterly “YYYY-Qn” or annual “YYYY” datasets only, max 40).
dimensionsobjectnoItem codes to keep per dimension variant, as {"": ["", …]}, e.g. {“CZNACEMZDY”:[“A-S”],“KATPMZD”:[“0”]}. Use an empty array to include every item of that dimension.
additionalPropertiesarrayno
itemsstringno
langstringnoAccept-Language for labels, “en” (default) or “cs”. Most category labels are Czech-only regardless.

Example call

Arguments

{
  "kod": "MZDQ1",
  "indicators": [
    "5958P"
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/czso-cz/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"czso_cz_get_slice","arguments":{"kod":"MZDQ1","indicators":["5958P"]}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('czso_cz_get_slice', {
  "kod": "MZDQ1",
  "indicators": [
    "5958P"
  ]
});

More examples

{
  "kod": "MZDQ1",
  "indicators": [
    "5958P"
  ],
  "periods": [
    "2026-Q2"
  ],
  "dimensions": {
    "Uz0123vm": [
      "CZ01",
      "CZ064"
    ],
    "ZJIST": [
      "2"
    ]
  }
}

Response shape

FieldTypeDescription
datasetstring
verzestring
titlestring
sourcestring
data_as_ofstring
countnumber
total_valuesnumber
truncatedboolean
empty_cellsnumber
notestring
observationsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string"
    },
    "verze": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "total_values": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "empty_cells": {
      "type": "number"
    },
    "note": {
      "type": "string"
    },
    "observations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string"
          },
          "period_label": {
            "type": "string"
          },
          "indicator": {
            "type": "string"
          },
          "indicator_label": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "unit_label": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "status_label": {
            "type": "string"
          },
          "dimensions": {
            "type": "object",
            "properties": {
              "Uz0123vm": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  }
                },
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}

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 czso-cz pack
{
  "mcpServers": {
    "czso-cz": {
      "url": "https://gateway.pipeworx.io/czso-cz/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 26, 2026