Hagstofa Is

v0.2.1
io.github.pipeworx-io/hagstofa-is Checked 43 minutes ago Published 29 days ago

Statistics 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").

ParameterTypeDescription
pathstringSub-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.

ParameterTypeDescription
path *stringe.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.

ParameterTypeDescription
body *object{query: [{code, selection: {filter, values}}], response: {format: "json-stat2"}}
path *string