World Bank

live EconomicsDemographicsGovernment

World Bank Open Data: GDP, population, and 10,000+ development indicators for countries over time.

5 tools
0ms auth
free tier 50 calls/day

Tools

get_country

Get basic information about a country: full name, region, income level, capital city, and coordinates. Use ISO 3166-1 alpha-2 or alpha-3 country codes (e.g., "US", "GBR", "IN").

No parameters required.

Try it
get_indicator

Get time-series values for a World Bank indicator for a specific country. Common indicators: NY.GDP.MKTP.CD (GDP), SP.POP.TOTL (population), EN.ATM.CO2E.KT (CO2 emissions), SE.ADT.LITR.ZS (literacy ra

No parameters required.

Try it
get_population

Get total population over time for a country. Shortcut for get_indicator with SP.POP.TOTL.

No parameters required.

Try it
get_gdp

Get GDP (current USD) over time for a country. Shortcut for get_indicator with NY.GDP.MKTP.CD.

No parameters required.

Try it
compare_countries

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

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/worldbank/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/worldbank/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_country","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_country", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("world bank open data: gdp, population, and 10,000+ development indicators for countries over time");