Skip to content
MCP server

Worldbank MCP

MCP server giving AI clients query access to World Bank Open Data indicators

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
1.0.1
Listing updated
today

Similar MCP servers

About Worldbank MCP

Worldbank MCP is an open-source MCP server for analytics and data. It runs locally on your machine and is started by your AI client.

The README describes this as a Model Context Protocol server that queries the World Bank Open Data API, covering country metadata, indicator search and economic, social, education and health series for individual countries.

It runs over stdio and can be launched with npm or npx, then registered in MCP clients such as Claude Desktop, Cursor or Cherry Studio. Each tool takes a country code and an indicator from a fixed list, with an optional number of years that defaults to ten.

The server suits researchers, analysts and developers who want an assistant to pull development statistics such as GDP, life expectancy or immunization rates directly from World Bank data rather than copying figures by hand. The registry entry lists an API key environment variable, which the README does not explain.

Install

Run in a terminal

claude mcp add worldbank-mcp --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y worldbank-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "worldbank-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "worldbank-mcp"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "worldbank-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "worldbank-mcp"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "worldbank-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "worldbank-mcp"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "worldbank-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "worldbank-mcp"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "worldbank-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "worldbank-mcp"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • YOUR_API_KEYYour API key for the serviceRequired

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

get-countries
Get all countries supported by World Bank
get-country-info
Get detailed information for a specific country
search-indicators
Search for available indicators
get-economic-data
Get economic data for a country
get-social-data
Get social development data for a country
get-education-data
Get education data for a country
get-health-data
Get health and nutrition data for a country

What it does

Country directory lookup
Lists World Bank countries and returns details for a given country code, with optional region and income-level filters.
Indicator keyword search
Searches available World Bank indicators by keyword to find series codes before querying data.
Economic series queries
Retrieves GDP, GNI, inflation, unemployment, FDI and trade share figures for a country over a set number of years.
Social and education data
Covers population, life expectancy, birth and death rates, internet users, literacy and school enrollment indicators.
Health and nutrition data
Provides health spending, physician and bed counts, immunization, HIV prevalence and tuberculosis incidence.

Good for

  • Let an AI assistant compare GDP per capita across countries over the last decade
  • Pull life expectancy or immunization trends for a country for a briefing
  • Gather education spending and enrollment figures for policy research
  • Check unemployment and inflation series while drafting economic summaries

Pricing

Open source

Free and open source under the MIT License.

Worldbank MCP FAQ

How do I install the World Bank MCP server?

The README gives two options: install globally with npm install -g worldbank-mcp, or run it on demand with npx worldbank-mcp.

Which indicators are supported?

The README lists economic, social, education, and health and nutrition indicator codes, such as GDP, LIFE_EXPECTANCY and HIV_PREVALENCE.

What license is it released under?

The README states the project is licensed under the MIT License.

Is Worldbank MCP free?

Yes. Worldbank MCP is open source, so you can use and self-host it for free.

How do I add Worldbank MCP to Claude Code?

Run this command in your terminal: claude mcp add worldbank-mcp --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y worldbank-mcp

What are the best alternatives to Worldbank MCP?

The closest alternatives to Worldbank MCP are Statistics of the World, Nigeria UN SDG MCP by Wycord, Country Macro Indicators (World Bank), World Monitor and Nigeria IMF WEO MCP by Wycord.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers