Skip to main content
Glama
world-bank-macro-indicators-mcp

world-bank-macro-indicators-mcp

README.md
# world-bank-macro-indicators-mcp

Live global macroeconomic, fiscal, and ESG indicators from the official World Bank v2 JSON API served over Model Context Protocol (MCP). Query GDP, GDP per capita, CPI inflation, unemployment, central government debt, CO2 emissions per capita, trade openness, and cross-country comparisons across more than 200 economies with zero API keys and zero sign-up.

## Hosted endpoint

Connect any Streamable HTTP MCP client directly to the free hosted Cloudflare Worker endpoint.

```text
https://world-bank-macro-indicators-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `wb_country_macro` | Fetch a country macroeconomic, fiscal, and ESG snapshot covering GDP, GDP growth, GDP per capita, CPI inflation, unemployment, central government debt, CO2 per capita, current account balance, trade share of GDP, and population |
| `wb_indicator_series` | Retrieve a historical time series for any World Bank indicator code or friendly alias for a country or regional aggregate, with period change and latest value |
| `wb_compare_countries` | Compare 2 to 15 countries or regional aggregates side by side across up to 6 indicators for the latest available year or a specific target year |
| `wb_search_indicators` | Search the official World Bank World Development Indicators (WDI) catalog by keyword, topic, or exact indicator ID |
| `wb_search_countries` | Search and filter over 200 economies and regional aggregates by name, ISO code, geographic region, or World Bank income level |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "world-bank-macro-indicators": {
      "url": "https://world-bank-macro-indicators-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

Build and start the local stdio transport with Node 20 or newer.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

All requests to `api.worldbank.org` send an explicit `User-Agent` header (`McpStamp-WorldBank/1.0 (support@zovo.one)`). Edge caching on Cloudflare Workers applies strictly to HTTP 2xx responses so upstream errors are never cached. Every tool exposes read-only, non-destructive, open-world annotations and negotiates protocol version `2026-07-28` cleanly to `2025-11-25`.

## More MCP Servers and Readiness Check

This server is part of the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.world-bank-macro-indicators-mcp) with hosted commercial servers and priority endpoints.