@pipeworx/psa-ph
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/psa-ph’s. Install: one-click buttons
Connect to just the @pipeworx/psa-ph pack
https://gateway.pipeworx.io/psa-ph/mcp — only @pipeworx/psa-ph’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 3
Philippine Statistics Authority (PSA) MCP: find a published table, read its dimensions, and pull labelled figures (consumer prices, inflation, labour force, population, poverty, national accounts, trade, agriculture, tourism and more). Philippines only. Live call per request, nothing stored.
Tools
psa_ph_search_tables(query, limit?)— find tables by keyword. Returns the native table id, title and last-updated date. Index hits for tables PSA has since removed are dropped and counted.psa_ph_table_info(table_id, dimension?, match?)— dimensions of one table with their valid value codes and labels; passdimension(andmatch) to list every value of one dimension.psa_ph_get_data(table_id, select?)— figures as labelled rows.selectmaps a dimension to a value label or code, an array,"*","first","last"or"last:N". Unselected dimensions are defaulted (time dimensions to the latest value, others to the first, usually the total) and every default is listed inselection_resolvedandnote. Selections above 1,500 cells are refused with the per-dimension sizes. A selection that has no published value says why inempty_reason.
Table ids are the publisher’s native ids, e.g. 2M/PI/CPI/2018/0012M4ACP09.px; use them exactly as
returned.
Auth
Keyless.
Data sources
- Philippine Statistics Authority (PSA), OpenSTAT database of official statistical tables.
Notes and traps
- The publisher’s search index can list tables that have been removed. They are dropped, with a count
in
note, so a hit is a table that exists. - Value codes are positional strings (“0”, “1”, …). Select by label.
- A year dimension is usually followed by a period dimension whose last value is the annual average (“Ave”), so the last value of Period is not the latest month. Defaults are reported, never silent.
data_as_ofis the table’s last-updated time as the publisher lists it. Theupdatedfield inside a data response is the time of the query and is not used.- The units and base year are written in the table title (e.g. “2018=100”); there is no separate unit field.
Tools
- psa_ph_search_tables — Find Philippine Statistics Authority (PSA) statistical tables by keyword — consumer prices and inflation, labour force, population, poverty, GDP, trade, agriculture, tourism and the rest of the Philip
- psa_ph_table_info — Describe one Philippine Statistics Authority (PSA) table: its title (which carries the unit and base year), its dimensions, how many values each has, and the valid value codes with labels so a selecti
- psa_ph_get_data — Get figures from a Philippine Statistics Authority (PSA) table as labelled rows (dimension labels, value, unit text from the table title, period, data_as_of).
selectmaps a dimension (code or label)
Tools
psa_ph_get_data— Get figures from a Philippine Statistics Authority (PSA) table as labelled rows (dimension labels, value, unit text from the table title, period, data_as_of). `select` maps a dimension (code or label)psa_ph_search_tables— Find Philippine Statistics Authority (PSA) statistical tables by keyword — consumer prices and inflation, labour force, population, poverty, GDP, trade, agriculture, tourism and the rest of the Philippsa_ph_table_info— Describe one Philippine Statistics Authority (PSA) table: its title (which carries the unit and base year), its dimensions, how many values each has, and the valid value codes with labels so a selecti