MCP server exposing 3 tools for statbank-md.
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/statbank-md/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
subjects — Navigate the database/subject tree. Root (empty path) lists databases ({dbid}). Drill into a database id to get folders (type "l") and tables (type "t", ".px" suffix).table_meta — Fetch dimension definitions and valid coded values for a Moldova Statbank PxWeb table. Path must end in the '.px' table id (e.g. '20 Populatia si procesele demografice/POP010/POPro/POP010100rcl.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 Moldova National Bureau of Statistics (Statbank) table and return observations as json-stat2. body must be {query:[{code, selection:{filter,values}}], response:{format:'json-stat2'}}. PxWeb caps responses at ~10,000 cells — narrow each dimension's 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/statbank-md/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io