World Bank MCP Server

Integrate World Bank open data into your AI flows for real-time global economic and social insights, automated reporting, and data-driven decisions.

World Bank MCP Server

What does “World Bank” MCP Server do?

The World Bank MCP Server is a Model Context Protocol (MCP) server that facilitates seamless interaction with the open World Bank data API. Designed to empower AI assistants and development workflows, it enables users to easily list available countries and indicators from the World Bank’s open data repository. The server also provides analytical capabilities for various indicators, such as population segments and poverty metrics, across supported countries. By integrating this MCP server, developers and AI systems can efficiently query global economic and social indicators, automate data retrieval and analysis, and include comprehensive logging for traceability. This enhances the ability of AI agents to access, analyze, and utilize real-world data for tasks such as reporting, research, and decision-making.

List of Prompts

No explicit prompt templates are documented in the available repository files or README.

List of Resources

  • List available countries: Provides a resource for retrieving the list of countries supported by the World Bank open data API.
  • List available indicators: Exposes a dataset of all indicators available from the World Bank API.
  • Indicator analysis: Supplies analytical data for specific indicators (e.g., population, poverty) per country.

List of Tools

No explicit list of tools is documented in the available repository files or README. Details about server.py or individual tool implementations are not present.

Use Cases of this MCP Server

  • Global Data Analysis: Easily access and analyze World Bank indicators such as GDP, population, or poverty rates for supported countries, benefitting researchers and policymakers.
  • Automated Reporting: Integrate with AI assistants to generate up-to-date economic reports or insights using authoritative World Bank data.
  • Education and Research: Facilitate academic exploration of international development trends by programmatically retrieving datasets for classroom or scholarly use.
  • Data-Driven Decision Making: Enable organizations to make informed decisions based on real-time, standardized data from the World Bank.
  • Comprehensive Logging: Support compliance and traceability requirements with built-in logging of data access and analysis actions.

How to set it up

Windsurf

No setup instructions for Windsurf are provided in the repository or documentation.

Claude

  1. Ensure you have Node.js and the uv package installed.

  2. Locate your claude_desktop_config.json configuration file.

  3. Add the World Bank MCP Server under the mcpServers object:

    {
      "mcpServers": {
        "world_bank": {
          "command": "uv",
          "args": [
            "--directory", 
            "path/to/world_bank_mcp_server",
            "run",
            "world_bank_mcp_server"
          ]
        }
      }
    }
    
  4. Save the configuration and restart Claude Desktop.

  5. Verify the server is accessible via the MCP interface.

Cursor

No setup instructions for Cursor are provided in the repository or documentation.

Cline

No setup instructions for Cline are provided in the repository or documentation.

Securing API Keys

No API key is required for the World Bank open data API as per the documentation. If needed, you would typically use environment variables like:

{
  "env": {
    "API_KEY": "${API_KEY}"
  },
  "inputs": {
    "api_key": "${API_KEY}"
  }
}

How to use this MCP inside flows

Using MCP in FlowHunt

To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

FlowHunt MCP flow

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:

{
  "world_bank": {
    "transport": "streamable_http",
    "url": "https://yourmcpserver.example/pathtothemcp/url"
  }
}

Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “world_bank” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.


Overview

SectionAvailabilityDetails/Notes
Overview
List of PromptsNo prompt templates documented
List of ResourcesCountries, indicators, analysis
List of ToolsNo explicit tool list in available files
Securing API KeysNot required for World Bank open data
Sampling Support (less important in evaluation)Not documented

Our opinion

The World Bank MCP Server provides valuable integration for global data analysis but lacks clear documentation for prompts, tools, and setup for some platforms. The open nature of the World Bank API simplifies access. However, the absence of detailed prompt and tool definitions limits extensibility. Overall, it is a specialized but somewhat basic MCP implementation.

MCP Score

Has a LICENSE
Has at least one tool
Number of Forks6
Number of Stars24

Frequently asked questions

What is the World Bank MCP Server?

The World Bank MCP Server is a Model Context Protocol server that allows AI agents and workflows to interact with the official World Bank open data API. It provides resources for listing countries, indicators, and performing indicator analysis, enabling automated, real-time access to global economic and social data.

What resources does the server expose?

It provides endpoints for listing available countries, listing all indicators, and analyzing specific indicators (like population and poverty metrics) for supported countries.

Do I need an API key to use this MCP server?

No API key is required to access the World Bank open data API through this MCP server.

What are the main use cases?

Typical use cases include global data analysis, automated economic reporting, academic research, data-driven organizational decisions, and compliance logging.

How do I integrate it into my FlowHunt workflow?

Add the MCP component to your flow, open its configuration, and insert your MCP server details (such as transport and URL). Once set up, your AI agents can access all the server’s capabilities inside your flows.

Connect to the World Bank MCP Server

Empower your AI agents and workflows with authoritative global data. Start analyzing World Bank indicators in your flows today.

Learn more