Statbank Md
v0.2.1National Bureau of Statistics of Moldova (Statbank) PxWeb MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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).
| Parameter | Type | Description |
|---|---|---|
path | string | Sub-path under /en/ (default empty = root database list). First segment is a database id, e.g. "20 Populatia si procesele demografice/POP010/POPro". |
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.
| Parameter | Type | Description |
|---|---|---|
path * | string | e.g. "20 Populatia si procesele demografice/POP010/POPro/POP010100rcl.px" |
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.
| Parameter | Type | Description |
|---|---|---|
body * | object | {query: [{code, selection: {filter, values}}], response: {format: "json-stat2"}} |
path * | string | Path ending in the ".px" table id. |