Hagstofa Is
v0.2.1Statistics Iceland (Hagstofa Íslands) PxWeb MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
subjects
Navigate the database/subject tree. Root lists databases; sub-paths list folders (type "l") and tables (type "t", id ends in ".px").
| Parameter | Type | Description |
|---|---|---|
path | string | Sub-path under the English PxWeb root (default empty = root). e.g. "Ibuar/mannfjoldi/1_yfirlit/yfirlit_mannfjolda" |
table_meta
Table definition (dimensions, valid values). Path must include the ".px" table suffix.
| Parameter | Type | Description |
|---|---|---|
path * | string | e.g. "Ibuar/mannfjoldi/1_yfirlit/yfirlit_mannfjolda/MAN00000.px" |
query_table
Pull data from a table (path includes the ".px" suffix). body is a PxWeb query object. PxWeb limits request size — filter dimensions to keep the cell count small.
| Parameter | Type | Description |
|---|---|---|
body * | object | {query: [{code, selection: {filter, values}}], response: {format: "json-stat2"}} |
path * | string |