Skip to content
Eden Engine

World Bank Latest Indicator Value by Country (Compare or Rank Countries)

worldbank/indicator-latest

The most recent value of one World Bank indicator for each of up to 20 countries you name, or for every country at once with all: for example the latest Control of Corruption estimate for Brazil, Argentina and Chile, or access to electricity everywhere. One row per country, each with its own year: countries report in different years, so compare the date on each row. Countries with no observation are left out. Covers a fixed set of 33 indicators that the World Bank itself publishes (governance, external debt, financial inclusion, electricity access, natural resource rents, human capital, statistical capacity, IDA country ratings); its GDP, population, inflation and unemployment series are other organisations' data and are not served. Rows are alphabetical by country, not ranked. all also returns the World Bank's regions and income groups mixed in with the countries; name the countries to avoid that. Attribution, as the World Bank requires: The World Bank: World Development Indicators: and the data source named for the indicator in the usage documentation. Licensed under CC BY 4.0. Served by Omnial; not an official World Bank product and not endorsed by the World Bank.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

The World Bank

The World Bank: World Development Indicators: the data source named for the indicator in the usage documentation (Worldwide Governance Indicators, International Debt Statistics, Global Findex Database, SDG 7.1.1 Electrification Dataset, The Changing Wealth of Nations, Human Capital Project, Statistical Performance Indicators or the CPIA database). Licensed under CC BY 4.0 with the World Bank Dataset Terms of Use (https://www.worldbank.org/ext/en/legal/terms-conditions/datasets). Served by Omnial; not an official World Bank product and not endorsed by the World Bank.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "worldbank/indicator-latest" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "worldbank/indicator-latest" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "worldbank/indicator-latest", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "worldbank/indicator-latest", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "countries",
    "indicator"
  ],
  "properties": {
    "countries": {
      "type": "string",
      "pattern": "^(all|[A-Z]{3}(;[A-Z]{3}){0,19})$",
      "description": "Either the word all (every country and every aggregate the indicator has), or up to 20 three-letter World Bank country codes separated by semicolons, for example BRA;ARG;CHL. One code that does not exist fails the whole call. Look codes up with World Bank Country Profile."
    },
    "indicator": {
      "enum": [
        "GOV_WGI_CC_EST",
        "GOV_WGI_GE_EST",
        "GOV_WGI_PV_EST",
        "GOV_WGI_RL_EST",
        "GOV_WGI_RQ_EST",
        "GOV_WGI_VA_EST",
        "GOV_WGI_CC_SC",
        "GOV_WGI_GE_SC",
        "GOV_WGI_PV_SC",
        "GOV_WGI_RL_SC",
        "GOV_WGI_RQ_SC",
        "GOV_WGI_VA_SC",
        "DT.DOD.DECT.CD",
        "DT.DOD.DECT.GN.ZS",
        "DT.DOD.DPPG.CD",
        "DT.DOD.DSTC.ZS",
        "DT.DOD.DIMF.CD",
        "FX.OWN.TOTL.ZS",
        "FX.OWN.TOTL.FE.ZS",
        "FX.OWN.TOTL.MA.ZS",
        "FX.OWN.TOTL.40.ZS",
        "EG.ELC.ACCS.ZS",
        "EG.ELC.ACCS.RU.ZS",
        "EG.ELC.ACCS.UR.ZS",
        "NY.GDP.TOTL.RT.ZS",
        "NY.GDP.PETR.RT.ZS",
        "NY.GDP.NGAS.RT.ZS",
        "NY.GDP.COAL.RT.ZS",
        "NY.GDP.MINR.RT.ZS",
        "NY.GDP.FRST.RT.ZS",
        "HD_HCIP_OVRL_TO",
        "IQ.SPI.OVRL",
        "IQ.CPA.IRAI.XQ"
      ],
      "type": "string",
      "description": "The indicator code. One of: GOV_WGI_CC_EST (Control of Corruption - Governance estimate (approx. -2.5 to +2.5)); GOV_WGI_GE_EST (Government Effectiveness - Governance estimate (approx. -2.5 to +2.5)); GOV_WGI_PV_EST (Political Stability - Governance estimate (approx. -2.5 to +2.5)); GOV_WGI_RL_EST (Rule of Law - Governance estimate (approx. -2.5 to +2.5)); GOV_WGI_RQ_EST (Regulatory Quality - Governance estimate (approx. -2.5 to +2.5)); GOV_WGI_VA_EST (Voice and Accountability - Governance estimate (approx. -2.5 to +2.5)); GOV_WGI_CC_SC (Control of Corruption - Governance score (0-100)); GOV_WGI_GE_SC (Government Effectiveness - Governance score (0-100)); GOV_WGI_PV_SC (Political Stability - Governance score (0-100)); GOV_WGI_RL_SC (Rule of Law - Governance score (0-100)); GOV_WGI_RQ_SC (Regulatory Quality - Governance score (0-100)); GOV_WGI_VA_SC (Voice and Accountability - Governance score (0-100)); DT.DOD.DECT.CD (External debt stocks, total (DOD, current US$)); DT.DOD.DECT.GN.ZS (External debt stocks (% of GNI)); DT.DOD.DPPG.CD (External debt stocks, public and publicly guaranteed (PPG) (DOD, current US$)); DT.DOD.DSTC.ZS (Short-term debt (% of total external debt)); DT.DOD.DIMF.CD (Use of IMF credit (DOD, current US$)); FX.OWN.TOTL.ZS (Account ownership at a financial institution or with a mobile-money-service provider (% of population ages 15+)); FX.OWN.TOTL.FE.ZS (Account ownership at a financial institution or with a mobile-money-service provider, female (% of population ages 15+)); FX.OWN.TOTL.MA.ZS (Account ownership at a financial institution or with a mobile-money-service provider, male (% of population ages 15+)); FX.OWN.TOTL.40.ZS (Account ownership at a financial institution or with a mobile-money-service provider, poorest 40% (% of population ages 15+)); EG.ELC.ACCS.ZS (Access to electricity (% of population)); EG.ELC.ACCS.RU.ZS (Access to electricity, rural (% of rural population)); EG.ELC.ACCS.UR.ZS (Access to electricity, urban (% of urban population)); NY.GDP.TOTL.RT.ZS (Total natural resources rents (% of GDP)); NY.GDP.PETR.RT.ZS (Oil rents (% of GDP)); NY.GDP.NGAS.RT.ZS (Natural gas rents (% of GDP)); NY.GDP.COAL.RT.ZS (Coal rents (% of GDP)); NY.GDP.MINR.RT.ZS (Mineral rents (% of GDP)); NY.GDP.FRST.RT.ZS (Forest rents (% of GDP)); HD_HCIP_OVRL_TO (Human capital index plus (HCI+): overall score, total (scale 0–325)); IQ.SPI.OVRL (Statistical performance indicators (SPI): Overall score (scale 0-100)); IQ.CPA.IRAI.XQ (IDA resource allocation index (1=low to 6=high))."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "result": {
      "type": "null",
      "description": "Present instead of results when no requested country has an observation."
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "indicator",
          "country",
          "date",
          "value"
        ],
        "properties": {
          "date": {
            "type": "string",
            "description": "The year this row's value is for, as text. It differs between rows."
          },
          "unit": {
            "type": "string",
            "description": "Present only on access to electricity (EG.ELC.ACCS.ZS) rows, always empty."
          },
          "value": {
            "type": [
              "number",
              "null"
            ],
            "description": "The newest non-empty observation, in the indicator's own unit and scale. Null only on a few rows of access to electricity (EG.ELC.ACCS.ZS): no observation, never zero."
          },
          "country": {
            "type": "object",
            "description": "The country or aggregate: id (the World Bank's two-character code) and value (its name).",
            "additionalProperties": true
          },
          "decimal": {
            "type": "integer",
            "description": "How many decimals the World Bank displays. A display hint only: value is not rounded to it."
          },
          "indicator": {
            "type": "object",
            "description": "The indicator: id (the code you sent) and value (the World Bank's name for it).",
            "additionalProperties": true
          },
          "obs_status": {
            "type": "string",
            "description": "Always an empty string for the indicators served."
          },
          "countryiso3code": {
            "type": "string",
            "description": "The three-letter code. Empty for the four income-group aggregates; use country.id there."
          }
        },
        "additionalProperties": true
      },
      "description": "One row per country that has an observation, each holding that country's newest non-empty value and its year."
    }
  },
  "description": "The latest row per country in results, alphabetical by country name. result null instead of results when no requested country has any observation.",
  "additionalProperties": false
}