MCP server exposing 3 tools for hagstova-fo.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/hagstova-fo/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
subjects — Browse the Statistics Faroe Islands (Hagstova Føroya) PxWeb subject tree. Empty path returns the database list; drill into 'H2' for folders (type 'l') and tables (type 't', id ends '.px'). Use the returned path to call table_meta or query_table.table_meta — Fetch dimension definitions and valid coded values for a Hagstova Føroya PxWeb table. Path must be the full table path ending in '.px' (e.g. 'H2/UO/UO01/land_oyfj.px'). Returns dimensions with their codes and value lists — required input for building a query_table body.query_table — POST a PxWeb query to a Hagstova Føroya table and return observations as json-stat2. body must be {query:[{code, selection:{filter,values}}], response:{format:'json-stat2'}}. PxWeb rejects requests exceeding its cell limit — narrow each dimension's selection.values using codes from table_meta.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/hagstova-fo/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io