Worldbank MCP logo

Worldbank MCP

Queries World Bank economic, social, education, health, and country data through MCP tools.

Install Worldbank MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "worldbank-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "worldbank-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 7 tools correctly (Today).

Overview

The worldbank-mcp MCP server connects MCP-compatible clients to the World Bank Open Data API. It exposes tools for country lookup, indicator discovery, and category-specific data queries covering economic, social, education, health, and nutrition measures. Use it when an agent needs current World Bank data by country, indicator, and time range. It runs locally through npm, npx, or a Node.js entry point and retrieves data from the World Bank API.

Use cases

  • Query economic indicators for a country
  • Compare development measures across time
  • Find World Bank indicators by keyword
  • Retrieve education or health statistics
  • Filter countries by region or income level

Key features

  • World Bank Open Data API access
  • Country and indicator lookup
  • Economic and social data queries
  • Education data queries
  • Health and nutrition data queries
  • Optional multi-year retrieval

Tools7

What Worldbank MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

8/8 checks healthy over the last 48d

What it can do

From the 7 tools this server returned when we ran it.

Read-only tools · 7
Network at startup4 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age425 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · worldbank-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
npm downloads1.5kPackage downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed7Callable tools this server registers over MCP.

How Worldbank MCP works

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:

Terminal
npm install -g worldbank-mcp

Alternatively, run it without a global installation:

Terminal
npx worldbank-mcp

An MCP client configuration can use either command:

config.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.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Worldbank MCP

worldbank-mcp is an MCP server that connects AI clients to the World Bank Open Data API. Its main tools list countries, retrieve country information, search indicators, and query economic, social, education, health, and nutrition data by country, indicator, and optional year range.

Install it globally with `npm install -g worldbank-mcp`, or run it on demand with `npx worldbank-mcp`. You can also invoke the compiled `build/index.js` file directly with Node.js.

Configure it to start either the globally installed `worldbank-mcp` command or `npx` with `worldbank-mcp` as its argument.

It queries World Bank country information and grouped economic, social, education, health, and nutrition indicators. Examples include GDP, inflation, population, life expectancy, literacy, school enrollment, immunization, HIV prevalence, and tuberculosis.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWorldbank MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/worldbank-mcp?style=directory)](https://allmcps.com/mcp/worldbank-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/worldbank-mcp"><img src="https://allmcps.com/api/badge/worldbank-mcp?style=directory" alt="Worldbank MCP on AllMCPs" /></a>