# worldbank-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/tianyuio/worldbank-mcp  
**GitHub Stars:** 8  
**npm Downloads (last month):** 1482  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/worldbank-mcp

## Description
World Bank Model Context Protocol service based on World Bank Open Data API

## Tools
Capabilities this server exposes over MCP:

- **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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "worldbank-mcp": {
    "command": "npx",
    "args": ["-y","worldbank-mcp"]
  }
}
```

## Documentation

## What worldbank-mcp does

The worldbank-mcp MCP server exposes World Bank Open Data through the Model Context Protocol. It is intended for agents that need structured country and development data without implementing the World Bank API directly. Available data includes country metadata, economic measures such as GDP and unemployment, social measures such as population and life expectancy, education measures such as literacy and enrollment, and health or nutrition measures such as immunization and tuberculosis incidence.

The server uses the World Bank API at `https://api.worldbank.org/v2`. Its documented endpoints cover country lists, indicator discovery, and country-specific indicator records. Data requests use country codes such as `US`, `CN`, or `IN`.

## How it works

The worldbank-mcp MCP server runs as a local command and communicates with an MCP client. A client can start it with the installed `worldbank-mcp` executable, with `npx worldbank-mcp`, or by invoking the compiled Node.js file. Requests are then handled through MCP tools, while the server uses HTTP calls to retrieve World Bank data.

Most category-specific queries accept a country code, an indicator, and an optional number of years. When the years value is omitted, the documented default is 10 years. Indicator search accepts a keyword, and country listing can be filtered by region or income level.

## Setup and configuration

Install the package globally with:

```bash
npm install -g worldbank-mcp
```

Alternatively, run it without a global installation:

```bash
npx worldbank-mcp
```

An MCP client configuration can use either command:

```json
{
  "mcpServers": {
    "worldbank-mcp": {
      "name": "World Bank Data",
      "command": "npx",
      "args": ["worldbank-mcp"],
      "description": "World Bank Open Data MCP Server"
    }
  }
}
```

For a local checkout, configure `node` with the path to `build/index.js` instead. The README gives examples for Claude Desktop and Cursor.

## Tools and capabilities

The worldbank-mcp MCP server documents these tools:

- `get-countries`: Lists supported countries and optionally filters by region or income level.
- `get-country-info`: Returns details for one country from its country code.
- `search-indicators`: Finds available indicators using a keyword.
- `get-economic-data`: Queries GDP, GNI, exports, foreign investment, inflation, or unemployment data.
- `get-social-data`: Queries population, life expectancy, birth rate, death rate, or internet usage.
- `get-education-data`: Queries literacy, enrollment, completion, teacher, or education expenditure measures.
- `get-health-data`: Queries health expenditure, physicians, hospital beds, immunization, HIV, malnutrition, or tuberculosis measures.

These tools use predefined indicator groups rather than documenting an unrestricted indicator query interface.

## Limitations and notes

Indicator availability and returned values come from the World Bank Open Data API, so the server does not define an independent dataset. No environment variables or API credentials are documented for setup. The project is licensed under MIT and is implemented with TypeScript, the MCP SDK, Axios, Zod, and Commander.

_Full upstream README: https://allmcps.com/mcp/worldbank-mcp/readme_

