Back to MCP Catalog

World Bank Data MCP Server

Data Science ToolsPython
Access and analyze World Bank open data indicators for countries worldwide
Available Tools

list_countries

Lists available countries in the World Bank open data API

list_indicators

Lists available indicators in the World Bank open data API

analyze_indicators

Analyzes indicators such as population segments, poverty numbers, etc. for specific countries

The World Bank Data MCP provides AI assistants with direct access to the World Bank's extensive open data API. This integration enables detailed analysis of global economic, social, and development indicators across countries and regions. Users can explore population statistics, poverty metrics, education data, and numerous other indicators to gain insights into global development trends and country-specific conditions.

Overview

The World Bank Data MCP server provides an interface to the World Bank's open data API, allowing AI assistants to access and analyze global development indicators. This tool is valuable for researchers, analysts, and anyone interested in exploring economic and social data across countries and regions.

Installation

Using Smithery (Recommended)

The easiest way to install the World Bank Data MCP server is through Smithery:

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

Manual Installation

To install manually:

  1. Clone the repository:

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

    pip install -r requirements.txt
    

    Or using uv:

    uv pip install -r requirements.txt
    
  3. Configure your Claude Desktop by adding the following to your claude_desktop_config.json:

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

Replace PATH_TO_WORLD_BANK_MCP_SERVER with the actual path to where you cloned the repository.

Usage

Once installed, you can interact with the World Bank data through Claude or other compatible AI assistants. The MCP server provides several capabilities:

  1. List Countries: Get information about countries available in the World Bank database
  2. List Indicators: Browse available economic and social indicators
  3. Analyze Indicators: Retrieve and analyze specific indicators for countries or regions
  4. Compare Data: Compare indicators across different countries or time periods

Example Queries

Here are some examples of how you might use the World Bank Data MCP:

  • "Show me the population growth rate for Brazil over the last decade"
  • "Compare GDP per capita between India and China"
  • "What are the poverty indicators available for African countries?"
  • "Show me education spending as a percentage of GDP for European countries"

The MCP server handles the API requests to the World Bank and returns structured data that the AI assistant can interpret and present to you.

Troubleshooting

If you encounter issues:

  1. Ensure you have the correct path in your Claude Desktop configuration
  2. Check that all dependencies are properly installed
  3. Verify your internet connection, as the MCP needs to access the World Bank API
  4. Look for any error messages in the terminal where the MCP server is running

For additional help, visit the GitHub repository or submit an issue there.

Related MCPs

Vega-Lite Data Visualization
Data Science ToolsPython

Create interactive data visualizations using Vega-Lite syntax

Open Data
Data Science ToolsPython

Connect any Open Data to any LLM with Model Context Protocol

Tinybird
Data Science ToolsPython

Query and interact with Tinybird workspaces from any MCP client

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.