MCP server exposing 3 tools for makstat-mk.
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/makstat-mk/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
subjects — Browse the North Macedonia State Statistical Office (MakStat) PxWeb subject tree under the /MakStat database. Empty path returns top-level folders (type 'l'); drill with sub-paths to reach tables (type 't', '.px' suffix). Returns folder/table list for the given path.table_meta — Fetch dimension definitions and valid coded values for a MakStat PxWeb table. Path must end in the '.px' table id (e.g. 'Naselenie/VencaniRazvedeni/280_VitStat_Brak_voz_ml.px'). Returns dimensions with their codes and value lists — use these to build the selection body for query_table.query_table — POST a PxWeb query to a MakStat (North Macedonia statistics) table and return observations as json-stat2. body must be {query:[{code, selection:{filter,values}}], response:{format:'json-stat2'}}. PxWeb enforces a cell-count limit — narrow each dimension's values using codes from table_meta to avoid rejection.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/makstat-mk/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io