MCP server exposing 3 tools for stat-gl.
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/stat-gl/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
subjects — Browse the Statistics Greenland (Grønlands Statistik) PxWeb subject tree under the /Greenland database. Empty path returns root folders (type 'l') and tables (type 't'); supply a sub-path like 'BE/BE01' to drill deeper. Table IDs carry a '.px' or '.PX' suffix — pass verbatim to table_meta or query_table.table_meta — Fetch dimension definitions and valid coded values for a Statistics Greenland PxWeb table. Path must be the full sub-path ending in '.px'/'.PX' (e.g. 'BE/BE01/BEXSAT1.PX'). Returns dimensions with codes and value lists — use these to build the selection body for query_table.query_table — POST a PxWeb query to a Statistics Greenland table and return observations as json-stat2. body must be {query:[{code, selection:{filter,values}}], response:{format:'json-stat2'}}. An empty query ({query:[]}) requests the full table but may be rejected for large tables — narrow selections 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/stat-gl/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io