World Bank

v1.0.0Analyticsstable

Server that brings World Bank Open Data to AI assistants. 10 tools · Zero authentication · LRU caching · Sparkline trends · Cross-country comparisons

world-bank-mcp-servermcpai-integration
Share:
46
Stars
0
Downloads
0
Weekly
0/5

What is World Bank?

World Bank is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to server that brings world bank open data to ai assistants. 10 tools · zero authentication · lru caching · sparkline trends · cross-country comparisons

Server that brings World Bank Open Data to AI assistants. 10 tools · Zero authentication · LRU caching · Sparkline trends · Cross-country comparisons

This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Server that brings World Bank Open Data to AI assistants. 10

Use Cases

Query World Bank Open Data for development indicators
Compare economic and social statistics across countries
anshumax

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMar 30, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx world-bank-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use World Bank

The World Bank MCP Server connects AI assistants to the World Bank Open Data API, providing access to economic, demographic, and development indicators for countries worldwide with zero authentication required. It exposes tools for listing countries, browsing available indicators, and querying specific metrics, with LRU caching for fast repeated queries and sparkline trend visualization. Researchers, economists, and data analysts can ask their AI assistant questions about GDP, poverty rates, population trends, and hundreds of other World Bank indicators without writing any API code.

Prerequisites

  • Python 3.10+ installed
  • uv package manager installed (https://github.com/astral-sh/uv)
  • Internet access to reach the World Bank Open Data API (no API key required)
  • An MCP-compatible client such as Claude Desktop
1

Clone the repository

Clone the world_bank_mcp_server repository to a local directory.

git clone https://github.com/anshumax/world_bank_mcp_server.git
cd world_bank_mcp_server
2

Install via Smithery (quickest option)

Use Smithery CLI to automatically install and configure the server for Claude Desktop.

npx -y @smithery/cli install @anshumax/world_bank_mcp_server --client claude
3

Configure Claude Desktop manually

Add the server to your claude_desktop_config.json, pointing uv at your local clone directory.

{
  "mcpServers": {
    "world_bank": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/world_bank_mcp_server",
        "run",
        "world_bank_mcp_server"
      ]
    }
  }
}
4

Restart Claude Desktop

Restart Claude Desktop to load the new MCP server. No API key or account is needed — the World Bank Open Data API is public.

5

Verify with a country listing query

Ask your AI assistant to list available countries to confirm the server is connected and the World Bank API is reachable.

World Bank Examples

Client configuration

Claude Desktop configuration for the World Bank MCP server using uv to run from a local clone. No environment variables or API keys required.

{
  "mcpServers": {
    "world_bank": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/world_bank_mcp_server",
        "run",
        "world_bank_mcp_server"
      ]
    }
  }
}

Prompts to try

Example queries you can ask your AI assistant once the World Bank MCP server is connected.

- "What is the current GDP of Brazil according to World Bank data?"
- "Compare population growth trends for India and China over the last 20 years"
- "List the available World Bank indicators related to education"
- "Show me the poverty headcount ratio for Sub-Saharan Africa from 2000 to 2023"
- "Which countries have the highest life expectancy according to World Bank data?"

Troubleshooting World Bank

uv: command not found when Claude Desktop tries to start the server

Install uv first: curl -LsSf https://astral.sh/uv/install.sh | sh. Then restart Claude Desktop so it picks up the updated PATH. Alternatively, use the full path to the uv binary in the command field of the config.

World Bank API requests time out or return no data

The server queries the live World Bank Open Data API. Check your internet connection and ensure outbound HTTPS is allowed to api.worldbank.org. The LRU cache will speed up repeated queries, but the first request to each endpoint requires a live connection.

Indicator queries return empty results for a country

Not all indicators are available for all countries or all years. Use the list indicators tool first to confirm an indicator code exists, then query it for a country where coverage is expected. Try a broader date range if recent years have no data.

Frequently Asked Questions about World Bank

What is World Bank?

World Bank is a Model Context Protocol (MCP) server that server that brings world bank open data to ai assistants. 10 tools · zero authentication · lru caching · sparkline trends · cross-country comparisons It connects AI assistants to external tools and data sources through a standardized interface.

How do I install World Bank?

Follow the installation instructions on the World Bank GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with World Bank?

World Bank works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is World Bank free to use?

Yes, World Bank is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Analytics MCP Servers

Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "world-bank-mcp-server": { "command": "npx", "args": ["-y", "world-bank-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use World Bank?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides