KosmoKrator

data

World Bank MCP, CLI, and Lua Integration for AI Agents

World Bank integration docs for AI agents: MCP gateway setup, World Bank CLI commands, Lua API reference, credentials, and function schemas.

World Bank for agents

No credentials required; available in web and CLI hosts when runtime dependencies are installed.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
worldbank.worldbank_countries Read read 3 List or search countries from the World Bank. Optional query filters by name. Filter by region (EAS, ECS, LCN, MEA, NAC, SAS, SSF) or income level (HIC, UMC, LMC, LIC).
worldbank.worldbank_country_info Read read 1 Get detailed information for a specific country by ISO code, including region, income level, lending type, capital city, and coordinates.
worldbank.worldbank_regions Read read 2 List World Bank aggregate regions and region codes used for filtering country and aggregate data.
worldbank.worldbank_income_levels Read read 0 List World Bank income level codes such as HIC, UMC, LMC, and LIC.
worldbank.worldbank_lending_types Read read 0 List World Bank lending type codes such as IBD, IDX, IDB, and LNX.
worldbank.worldbank_sources Read read 2 List World Bank data sources, including source IDs needed for source-specific and multi-indicator queries.
worldbank.worldbank_source_indicators Read read 3 List indicator series available in a World Bank data source. Source 2 is World Development Indicators.
worldbank.worldbank_indicators Read read 1 Search economic indicators by keyword. If no query is provided, returns common indicators. Use the indicator code with `worldbank_get_data` to fetch data. Common indicator codes: {$indicators}
worldbank.worldbank_indicator_info Read read 1 Get metadata for a World Bank indicator code, including source, source note, source organization, and topics.
worldbank.worldbank_topics Read read 1 List the 21 World Bank topic categories (e.g., Education, Health, Economy). Optionally provide a topic ID to list indicators in that topic.
worldbank.worldbank_languages Read read 0 List global and local language codes supported by the World Bank API v2.
worldbank.worldbank_get_data Read read 5 Fetch economic indicator data for one or more countries from the World Bank. Supports date ranges and most-recent-value mode. Use `worldbank_indicators` to find indicator codes and `worldbank_countries` to find ISO codes.
worldbank.worldbank_multi_indicator_data Read read 6 Fetch data for multiple semicolon-separated indicators from a single World Bank source. The V2 API allows up to 60 indicators.
worldbank.worldbank_compare_data Read read 3 Compare a single economic indicator across multiple countries. Returns the most recent value for each country side-by-side. Use `worldbank_indicators` to find indicator codes.