Data360 MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Data360 MCP ServerSearch for female literacy indicators in Bangladesh"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Data360 MCP Server
A Model Context Protocol (MCP) server that gives LLM agents direct access to the World Bank's Data360 Platform. Agents can search, validate, and retrieve development indicators—covering topics from GDP and poverty to gender equality and climate—without hallucinating data values.
Audience: Developers building AI agents and chatbots that need reliable, structured access to World Bank development data.
Key Features
Smart indicator discovery — search across hundreds of indicators with enriched metadata and country coverage checks
Rich metadata retrieval — fetch methodology, definitions, limitations, and statistical concepts on demand
Reliable time-series data — query historical data points with filters for country, time period, sex, age, and urbanization
LLM-optimized resources — built-in system prompts, codelists, and chain-of-thought guidance for chatbot integration
Agent-friendly design — significant "glue" logic makes the raw Data360 API composable and safe for LLM tool use
Related MCP server: World Bank Data360 MCP Server
Installation & Version Pinning
Releases follow Semantic Versioning; every release publishes a vX.Y.Z git tag plus a corresponding GitHub Release. Minor releases keep backward-compatible API contracts, so pin a major/minor to lock behavior.
Install the Python server from PyPI and pin a known-good release:
pip install data360-mcp==0.1.3Roll back to an earlier verified release by installing any prior version listed on the Releases page:
pip install data360-mcp==<previous-version>The @data360/* npm UI packages are published on every release under the same version number; pin them the same way:
npm install @data360/mcp-ui@X.Y.ZSee DEVELOPMENT.md for how releases are cut.
Prerequisites
Python 3.11+
uv (recommended) — or
pip
Installation
With uv (recommended):
git clone https://github.com/worldbank/data360-mcp.git
cd data360-mcp
uv sync
# LangChain / LangGraph client + examples + repo-root shim (data360_mcp_service.py):
uv sync --extra agent --group devWith pip:
git clone https://github.com/worldbank/data360-mcp.git
cd data360-mcp
pip install -e .Configuration
Copy the example environment file and adjust as needed:
cp .env.example .envVariable | Description | Default |
| Base URL for the World Bank Data360 API |
|
| Port for the MCP server |
|
| Transport protocol ( |
|
| Optional URL for an external chart rendering API | (none) |
| Seconds to wait for a Data360 API response (connect/write/pool have their own knobs) |
|
| Attempts for retry-safe requests (idempotent methods and read-only Data360 POSTs) |
|
| Wall-clock ceiling for retrying one request; set |
|
| How long a stale metadata snapshot is reused before the API is retried |
|
| Read timeout for background/bulk calls (dimension catalog, dataset catalogue, group hierarchy) on their own client + pool |
|
| How long a user request may wait for the dimension catalog before serving raw codes ( |
|
Run the Server
uv run poe serve
# Server starts at http://localhost:8000/mcpOr with custom port/transport:
uv run poe serve --port 8021 --transport sse
# SSE endpoint: http://localhost:8021/sseConnect Your Agent
Setting | Value |
Transport |
|
URL (http) |
|
URL (sse) |
|
Docker / external | Replace |
Try the Demo
uv run scripts/llm_mcp_demo.py
# DEBUG mode:
DEBUG=true uv run scripts/llm_mcp_demo.pyMinimal external agent (one-shot): examples/agents/langchain-minimal/README.md — copy-paste run_once.py that loads data360://system-prompt and tools, then calls the model.
Multi-agent / LangGraph: examples/agents/langchain-graph/README.md — register Data360 as a node (create_data360_langgraph_node or gated create_data360_gated_langgraph_node) alongside supervisors and other specialists. Client library (publishable on PyPI): packages/data360-mcp-agent/ (pip install data360-mcp-agent). The repo-root data360_mcp_service.py shim re-exports data360_mcp_agent for older import paths.
MCP Tools
Tool | Description |
| Search indicators with enriched metadata. Pass |
| Fetch data points with filters (country, time period, SEX, AGE, etc.). |
| Get indicator metadata. Use |
| Check available filter values (countries, years, dimensions) for an indicator. |
| Resolve human-readable names to codes (e.g., "Kenya" → |
| List all indicators for a given database. |
Recommended Agent Workflow
1. Search → data360_search_indicators(query, required_country="Kenya")
Returns: covers_country, latest_data, dimensions per indicator
2. Get Data → data360_get_data(database_id, indicator_id, filters)
Use REF_AREA code from search; add time period filtersMCP Resources
Resource | Description |
| Chain-of-thought guidance for chatbot integration |
| Available databases (WB_WDI, WB_SSGD, etc.) |
| Codelist reference (REF_AREA, SEX, AGE, etc.) |
| Field mapping for smart question routing |
| Available filters and usage guidance |
| Search examples and best practices |
For chatbot integration, copy data360://system-prompt into your system prompt. It includes chain-of-thought reasoning templates and filter guidance.
Documentation
Project site: worldbank.github.io/data360-mcp — landing page with features, tools, and connection details.
A markdown overview lives in docs/overview.md. The site is deployed with GitHub Actions on pushes to main or dev. In the repository Settings → Pages, set Build and deployment source to GitHub Actions (first-time setup).
Preview locally: from the repository root, run python -m http.server --directory docs and open http://127.0.0.1:8000/.
For developer setup, testing, and contribution instructions, see DEVELOPMENT.md.
Contact
AI for Data - Data for AI Team (ai4data@worldbank.org) Development Data Group / Office of the World Bank Group Chief Statistician World Bank Group
License
This project is licensed under the MIT License together with the World Bank IGO Rider. The Rider is purely procedural: it reserves all privileges and immunities enjoyed by the World Bank, without adding restrictions to the MIT permissions. Please review both files before using, distributing or contributing.
See LICENSE and WB-IGO-RIDER.md for the full license texts.
This server cannot be deployed
Maintenance
Related MCP Connectors
Access World Bank development indicators for 200+ countries.
Query 29,500+ World Bank development indicators for 200+ countries across 60+ years.
Dive into the wealth of information provided by the World Bank with our zero-auth API. Instantly
World Bank World Development Indicators: curated country-year economy, health, education and more.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI assistants to interact with the World Bank open data API, allowing for listing and analysis of indicators across available countries.150-
- AlicenseAqualityDmaintenanceEnables access to World Bank Data360 API with 1000+ economic and social indicators across 200+ countries and 60+ years of historical data, allowing searches, temporal coverage checks, and filtered data retrieval through natural language queries.51MIT
- FlicenseNot gradedqualityDmaintenanceExposes World Bank development data to AI agents via local CSV resources and live API tools, enabling queries about GDP, population, and other indicators.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to access and query World Bank data (free, no auth) through natural language or direct tools, wrapping the World Bank Data API v2.6 npmMIT