worldbank-mcp-server
MCP server by cyanheads Community
Queries World Bank development indicators for 200+ countries across 60+ years through MCP tools. It suits users who need World Bank data inside an AI assistant.
Install worldbank-mcp-server
Built from the published package, never by AI.
claude mcp add worldbank-mcp-server -- npx -y @cyanheads/worldbank-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"worldbank-mcp-server": {
"args": [
"-y",
"@cyanheads/worldbank-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install worldbank-mcp-server in Claude Desktop
{
"mcpServers": {
"worldbank-mcp-server": {
"args": [
"-y",
"@cyanheads/worldbank-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"worldbank-mcp-server": {
"args": [
"-y",
"@cyanheads/worldbank-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add worldbank-mcp-server -- npx -y @cyanheads/worldbank-mcp-server{
"mcpServers": {
"worldbank-mcp-server": {
"args": [
"-y",
"@cyanheads/worldbank-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install worldbank-mcp-server in Antigravity CLI
gemini mcp add worldbank-mcp-server npx -y @cyanheads/worldbank-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the worldbank-mcp-server block.
About
worldbank-mcp-server is an MCP server by cyanheads that gives AI assistants access to World Bank Open Data. It covers 29,500+ development indicators, poverty and inequality estimates from the Poverty and Inequality Platform, and the Bank's lending projects. It supports STDIO and Streamable HTTP transports and needs no API key.
Its tools search the indicator catalog, list countries, sources and topics, query time series with null-value counts, and search the lending portfolio. A research guide skill, worldbank-guide, covers dataset selection and comparable observations. A public hosted server is also available. It suits anyone who needs World Bank figures inside an AI assistant.
Written from the project's README and checked against it.
Tools it gives your assistant
worldbank_search_indicatorsSearches the 29,500+ indicator catalog by keyword, topic, or source.worldbank_get_indicatorFetches complete metadata for a single indicator, including unit and topics.worldbank_get_dataQueries indicator values for one or more countries across a time range.worldbank_get_povertyReturns poverty headcount, gap, severity, and Gini data from the Poverty and Inequality Platform.worldbank_search_projectsSearches the World Bank lending portfolio by text, country, sector, and status.worldbank_list_countriesLists countries and aggregates, with filters for region, income level, and lending type.worldbank_get_countryFetches metadata for one country or aggregate by ISO2, ISO3, or aggregate code.worldbank_list_sourcesLists the 70+ World Bank data sources, with pagination.worldbank_list_topicsLists the 21 World Bank thematic topics with descriptions.
What you need
- npx, to run the npm package @cyanheads/worldbank-mcp-server
| Setting | Needed | What it is |
|---|---|---|
MCP_Environment variable | Optional | Minimum log level for output: 'debug', 'info', 'notice', 'warning', 'error'. Default: info |
WORLDBANK_Environment variable | Optional | World Bank API base URL override. Default: https://api.worldbank.org/v2 |
WORLDBANK_Environment variable | Optional | World Bank Poverty and Inequality Platform (PIP) API base URL override. Default: https://api.worldbank.org/pip/v1 |
WORLDBANK_Environment variable | Optional | World Bank Projects API base URL override. Default: https://search.worldbank.org/api/v3 |
WORLDBANK_Environment variable | Optional | Default page size for list, search, and data operations. Default: 50 |
WORLDBANK_Environment variable | Optional | Serve a per_page above a tool's page maximum at that maximum, with a notice. false advertises each maximum in the tool's input schema and rejects a larger per_page. Default: true |
WORLDBANK_Environment variable | Optional | Lifetime in ms of the in-process reference caches: the indicator catalog behind keyword-only search, the country index behind isAggregate, source-scoped country codes, and poverty ISO2 codes, each source-scoped dataset's concept, country, p Default: 3600000 |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search World Bank indicators for life expectancy at birth
- Get GDP per capita for Japan and Germany from 2000 to 2020
- Find World Bank lending projects approved in Kenya in the last two years
Good to know
- get_country accepts one country code per call; 'all' or a list is rejected.
- get_data returns up to 1,000 observations per page.
- Project abstracts are off by default and must be requested.
- Indicator keyword search runs client-side because the upstream search parameter does not filter.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to worldbank-mcp-server
All alternatives →World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.
Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.
Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.
OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.
Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.
Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
worldbank-mcp-server: common questions
Does worldbank-mcp-server need an API key?
No. The source states that no API key is required to use the World Bank data.
Which World Bank data does it cover?
It covers the Indicators API, the Poverty and Inequality Platform, and the Projects lending portfolio. The source reports 60+ years of development data across 200+ countries and regional aggregates.
Can I use it without installing anything?
The source lists a public hosted server at worldbank.caseyjhand.com/mcp. Local use runs through npx with the npm package.
How do I install worldbank-mcp-server?
In Claude Code run claude mcp add worldbank-mcp-server -- npx -y @cyanheads/worldbank-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is worldbank-mcp-server the official server?
worldbank-mcp-server is a community project by cyanheads, not verified by a company domain.
Is worldbank-mcp-server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is worldbank-mcp-server safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to worldbank-mcp-server?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does worldbank-mcp-server work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
