Unicef

v0.2.1
io.github.pipeworx-io/unicef Checked 1 day ago Published 26 days ago

UNICEF Data (UN Children's Fund) MCP — global statistics on child health, nutrition, education…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_dataflows

Browse or keyword-search UNICEF's datasets (dataflows). UNICEF Data covers child health, nutrition, education, child protection, child mortality, child poverty, immunization, water/sanitation/hygiene (WASH) and the child-related SDGs. Each result has an `id` (the dataflowId you pass to dataflow_structure / get_data), a `version`, and an English name. There are ~70 datasets; pass `query` to filter. Example: list_dataflows({ query: "mortality" }) or list_dataflows({ query: "nutrition" }).

ParameterTypeDescription
limitnumberMax results to return (default 50).
querystringCase-insensitive substring filter on dataset id or name, e.g. "mortality", "education", "immunization".

dataflow_structure

Get the structure (Data Structure Definition) of one UNICEF dataset: its ordered dimensions and, for each, the valid codes (e.g. countries, indicators, sex, age, wealth quintile). Use this to learn how to build the dot-separated SDMX `key` for get_data. The key has one position per dimension, in `dimension_order`; an empty position is a wildcard. Always call this before get_data. Example: dataflow_structure({ dataflow_id: "CME" }).

ParameterTypeDescription
dataflow_id *stringUNICEF dataflow id from list_dataflows, e.g. "CME" (child mortality), "NUTRITION", "EDUCATION".

get_data

Pull observations from a UNICEF dataset. `key` is a dot-separated SDMX dimension filter, one position per dimension in the order given by dataflow_structure; leave a position empty to wildcard it. Call dataflow_structure first to learn the dimension order and valid codes. Example: get_data({ dataflow_id: "CME", key: ".CME_MRY0T4.." }) filters by INDICATOR=CME_MRY0T4 (under-five mortality rate) and wildcards REF_AREA/SEX/WEALTH_QUINTILE. Omit `key` (or pass "") to fetch all series — can be large. Returns decoded series with their dimension labels and per-period values.

ParameterTypeDescription
dataflow_id *stringUNICEF dataflow id, e.g. "CME". The agency,flow,version reference is built automatically.
end_periodstringEnd period, e.g. "2022".
keystringDot-separated dimension filter (one position per dimension, empty = wildcard), e.g. ".CME_MRY0T4..". Omit for all series.
last_nnumberReturn only the last N observations per series.
max_seriesnumberCap the number of decoded series returned (default 200).
start_periodstringStart period, e.g. "2010".