Statistics Iceland
live EconomicsDemographicsEuropeStatistics Iceland (Hagstofa Íslands) — browse and query official Icelandic statistics tables on economy, population, and society via PxWeb (keyless).
Tools
subjects Navigate the database/subject tree. Root lists databases; sub-paths list folders (type "l") and tables (type "t", id ends in ".px").
No parameters required.
Try it
table_meta Table definition (dimensions, valid values). Path must include the ".px" table suffix.
No parameters required.
Try it
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.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/hagstofa-is/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/hagstofa-is/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"subjects","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("subjects", {}); // Or ask in plain English:
const answer = await px.ask("statistics iceland (hagstofa íslands) — browse and query official icelandic statistics tables on economy, population, and society via pxweb (keyless)");