World Bank
Server that brings World Bank Open Data to AI assistants. 10 tools · Zero authentication · LRU caching · Sparkline trends · Cross-country comparisons
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
Maintainer
Works with
Installation
Manual Installation
npx world-bank-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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_serverInstall 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 claudeConfigure 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"
]
}
}
}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.
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.
World Bank Alternatives — Similar Analytics Servers
Looking for alternatives to World Bank? Here are other popular analytics servers you can use with Claude, Cursor, and VS Code.
OpenMetadata
★ 14.0kOpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
Superset
★ 10.9kAn MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
Horizon
★ 4.4k📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
MCP Server Chart
★ 4.1kEnables generation of 25+ types of charts and data visualizations using AntV, including bar charts, line charts, maps, mind maps, and specialized diagrams like fishbone and sankey charts. Supports both statistical charts and geographic visualizations
Muapi CLI
★ 997Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.
Weather MCP Server
★ 907Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien
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.
Set Up World Bank in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.