Install
openclaw skills install worldbank-alRetrieve and interpret World Bank annual development, macroeconomic, and demographic indicators with country comparisons and citation.
openclaw skills install worldbank-alFEATURED — agent skill for retrieving, interpreting, and citing World Bank Open Data. Pairs with the
worldbank-mcpserver. The API is open: NO API KEY is required.
Use imperative voice. Follow these numbered rules.
worldbank — World Bank Open Data skill.
Equip the agent to find the right World Bank indicator, retrieve its annual time series for one or more countries, interpret the values correctly, and cite the result. Use this skill together with the World Bank MCP server, which exposes 6 tools over stdio.
Use World Bank Open Data when the question involves:
Do not use World Bank for:
null).NONE. There is no API key, token, or account. The MCP server runs with
"env": {}. Optional tuning only: WORLDBANK_API_BASE_URL,
WORLDBANK_TIMEOUT_MS, WORLDBANK_MAX_RETRIES, LOG_LEVEL. Never add a
fictional WORLDBANK_API_KEY.
| Tool | Use it to |
|---|---|
worldbank_search_indicators | Find indicator codes by keyword. |
worldbank_indicator_metadata | Confirm name, unit, source, definition, topics. |
worldbank_indicator_data | Fetch the time-series data (the main tool). |
worldbank_country | Resolve country codes / metadata. |
worldbank_topics | Browse the 20+ indicator topics. |
worldbank_request | Generic passthrough to any /v2 endpoint (source, region, incomelevel, lendingtype, topic/{id}/indicator, …). |
worldbank_search_indicators with a
keyword and pick the best { id, name }.worldbank_topics to navigate by theme.worldbank_indicator_metadata before reporting numbers.Popular codes to recognize:
| Code | Indicator |
|---|---|
NY.GDP.MKTP.CD | GDP (current US$) |
NY.GDP.PCAP.CD | GDP per capita (current US$) |
NY.GDP.MKTP.KD.ZG | GDP growth (annual %) |
SP.POP.TOTL | Population, total |
FP.CPI.TOTL.ZG | Inflation, consumer prices (annual %) |
SL.UEM.TOTL.ZS | Unemployment (% of labor force) |
SP.DYN.LE00.IN | Life expectancy at birth (years) |
EN.ATM.CO2E.PC | CO2 emissions (metric tons per capita) |
SI.POV.DDAY | Poverty headcount ratio (% of population) |
USA), ISO2 (US), all, or multiple
joined with ; (USA;CHN;IND).date: "2010:2023" for trends, or
mrv: N for the N most recent values.worldbank_indicator_data with country, indicator, and
date/mrv (use per_page/page only if needed; keep per_page modest).value can be null for years with no observation — treat as missing.[paginationMeta, dataArray]; the dedicated tools
return the data array. With worldbank_request, read index 0 (meta) and index
1 (records), and paginate when pages > 1.WLD (World), EUU (European
Union), and income-level/region groups are not single countries.Always cite. Use this exact pattern:
World Bank, <indicator name> (<code>), <country>, <year>. https://data.worldbank.org/indicator/<code>
Include: "World Bank", indicator name + code, country, year(s), and the indicator URL.
lastupdated (from pagination metadata via
worldbank_request) when freshness matters.null because the value is not yet
published. Do not present a missing recent year as zero or as a real figure.Never invent numbers. A null value means missing — report it as "data not
available", not as 0. Quote only values returned by the tools.
[{ "message": [...] }] body → invalid parameter/code. Read key/value,
fix the indicator/country code or param, retry once. Do not blindly retry.date, use mrv, or verify codes with
worldbank_search_indicators / worldbank_country.The API is free and open. Still be polite: cache annual data, reuse static
lookups (topics, country list, sources), avoid huge per_page, and do not loop
tightly.
World Bank data is informational. Do not present analysis as financial, investment, or economic advice. Report figures and cite sources.
null/empty handled honestly (no invented values)."env": {}).worldbank_indicator_data with
mrv: 1 → cite.worldbank_indicator_data with date: "2000:2023" → chart
→ cite.worldbank_indicator_data with country: "USA;CHN;IND" → table → cite.See recipes/ for full walkthroughs.
null as zero or inventing a value.WLD, income group) with a country.worldbank_search_indicators.lastupdated field.worldbank-mcp server; if tool names change,
update Section 6 and reference/endpoints.md.Verification needed: confirm with https://datahelpdesk.worldbank.org/knowledgebase/articles/889392