Cso Ie
v0.2.1Ireland Central Statistics Office (CSO) PxStat MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_datasets
Search the CSO catalog of ~12,600 Irish statistics tables. Returns matching tables with their matrix code (e.g. "CPM01"), label, dimensions, and last-updated date. The full catalog is large, so always pass a keyword query to narrow it.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results to return (default 50, max 200). |
query | string | Keyword(s) matched against table label and matrix code, e.g. "consumer price", "population", "QLF". Case-insensitive. |
dataset_metadata
Get the structure of one CSO table by matrix code: its dimensions, the category codes + human labels for each dimension, size, and last-updated date. Use this to discover valid dimension codes before calling get_dataset with filters.
| Parameter | Type | Description |
|---|---|---|
matrix * | string | Matrix code, e.g. "CPM01" (Consumer Price Index) or "QLF18" (labour force). |
get_dataset
Read a full CSO table as JSON-stat 2.0 (dimensions + flat value array). Some tables are large (the CPI table is ~60k values); use dataset_metadata first to gauge size, or use query_dataset to fetch a filtered slice instead.
| Parameter | Type | Description |
|---|---|---|
matrix * | string | Matrix code, e.g. "CPM01". |
query_dataset
Read a FILTERED slice of a CSO table via JSON-RPC. Pass a map of dimension code -> array of category index values to keep (get the dimension codes and category index values from dataset_metadata). Returns JSON-stat 2.0 covering only the selected cells — far smaller than get_dataset.
| Parameter | Type | Description |
|---|---|---|
filters * | object | Map of dimension code to an array of category index values to keep, e.g. {"STATISTIC":["CPM01C08"],"TLIST(M1)":["202512"]}. Dimensions you omit are returned in full. Time dimensions like TLIST(M1) use… |
matrix * | string | Matrix code, e.g. "CPM01". |