compare_countries
ActiveTool of mcp-worldbank
Compare a World Bank indicator across MULTIPLE countries in one call, returned ranked high→low. PREFER for "GDP per capita: US vs China vs Germany", "rank the G7 by CO2 emissions", "compare population of <countries>". Pass 2+ ISO country codes. Defaults to each country's most-recent available value; pass a year for a specific year. Common indicators: NY.GDP.MKTP.CD (GDP), NY.GDP.PCAP.CD (GDP per capita), SP.POP.TOTL (population), EN.ATM.CO2E.PC (CO2 per capita), FP.CPI.TOTL.ZG (inflation %).
Parameters schema
{
"type": "object",
"required": [
"country_codes",
"indicator"
],
"properties": {
"year": {
"type": "string",
"description": "Optional 4-digit year (e.g. \"2023\"). Omit for each country's most-recent available value."
},
"indicator": {
"type": "string",
"description": "World Bank indicator code (e.g. \"NY.GDP.PCAP.CD\", \"SP.POP.TOTL\", \"EN.ATM.CO2E.PC\")."
},
"country_codes": {
"type": "string",
"description": "2+ ISO country codes, comma- or semicolon-separated (e.g. \"US,CN,DE\" or \"USA;CHN;DEU\")."
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
mcp-worldbank
https://github.com/pipeworx-io/mcp-worldbank
2/7 registries