Worldbank MCP Server
Unofficial World Bank MCP — wraps the World Bank Data API v2 (free, no auth)
Worldbank scores 66 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Finance, Security. GitHub shows 0 stars. Package registries report about 93 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 3 + 10 + 4 + 7 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "pipeworx-io-mcp-worldbank": { "command": "npx", "args": [ "-y", "@pipeworx/mcp-worldbank@0.2.2" ], "env": { "PIPEWORX_API_KEY": "YOUR_PIPEWORX_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
PIPEWORX_API_KEYSecret | Optional | Optional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
World Bank — Development Indicators and Country Data
The World Bank Open Data API. Thousands of development, economic, social, and demographic indicators for every country. Time series going back decades. The canonical source for cross-country comparisons of poverty, education, health, gender, environment, infrastructure. Free, no auth.
Part of Pipeworx — an MCP gateway connecting AI agents to 2007+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Why this matters for AI agents
For development questions, cross-country comparisons of social indicators, or any "how does country X compare on indicator Y" question, the World Bank's database is the right starting point. Complements IMF (macro/fiscal) with development-specific coverage (WDI, EdStats, GenderStats, etc.).
Common flows:
- Indicator lookup. "GDP per capita PPP for India" → World Bank indicator
NY.GDP.PCAP.PP.CDfor India. - Country comparison. Same indicator across multiple countries.
- Theme browsing. Education indicators, health indicators, environment indicators, etc.
Auth
None. World Bank Open Data is fully public, free.
Indicator code structure
World Bank indicator codes follow a domain.theme.metric pattern:
| Code | Indicator |
|---|---|
NY.GDP.MKTP.CD | GDP (current US$) |
NY.GDP.PCAP.PP.CD | GDP per capita, PPP (current intl $) |
SP.POP.TOTL | Total population |
SE.PRM.ENRR | Primary school enrollment, gross % |
EG.ELC.ACCS.ZS | Access to electricity, % of population |
SI.POV.GINI | Gini index |
EN.ATM.CO2E.PC | CO2 emissions per capita |
Search the catalog when you don't know the code.
Country and country-group codes
World Bank uses ISO 3-letter codes (USA, BRA, IND) plus aggregate codes:
WLD— WorldEUU— European UnionLMC— Lower middle incomeOED— OECD membersSSA— Sub-Saharan Africa
Aggregate codes are useful for "how does X compare to its peer group?" questions.
Worldwide Governance Indicators (WGI)
The World Bank also publishes the Worldwide Governance Indicators — six governance-quality dimensions per country, useful as country-risk context alongside event/news data: Voice and Accountability, Political Stability and Absence of Violence/Terrorism, Government Effectiveness, Regulatory Quality, Rule of Law, and Control of Corruption. These live in a separate World Bank source database from the general development indicators above, under codes like GOV_WGI_CC.EST (Control of Corruption, governance estimate) and GOV_WGI_CC.SC (same dimension, 0–100 percentile-style score) — reachable through this pack's existing get_indicator / compare_countries tools, but unguessable without knowing the code, so use the dedicated get_governance_indicators tool for a single country's full six-dimension snapshot (latest year + prior year, for trend).
| Dimension | .EST code |
|---|---|
| Voice and Accountability | GOV_WGI_VA.EST |
| Political Stability and Absence of Violence/Terrorism | GOV_WGI_PV.EST |
| Government Effectiveness | GOV_WGI_GE.EST |
| Regulatory Quality | GOV_WGI_RQ.EST |
| Rule of Law | GOV_WGI_RL.EST |
| Control of Corruption | GOV_WGI_CC.EST |
Each .EST estimate runs approximately -2.5 (weakest) to +2.5 (strongest); the matching .SC code is a 0–100 percentile-style score, higher meaning stronger governance relative to other countries scored that year.
Common pitfalls
- Indicator deprecation. World Bank periodically retires/replaces indicators. The API marks deprecated ones; prefer current ones for new analysis.
- Coverage gaps. Not every country reports every indicator every year. The API returns nulls for missing data. Compute aggregates carefully.
- Vintages. Indicator values can be revised. Cite the vintage if precision matters.
- Real vs nominal. Many financial indicators come in both nominal (current dollars) and real (constant dollars). The
.CDsuffix is current dollars;.KDis constant. - PPP vs market exchange rate. Cross-country GDP comparison should use PPP for most "how rich is X" questions; market rates for "what does X export" questions.
- Data freshness. World Bank consolidates from member-country reporting; lag varies. Most recent year for many indicators is 1–2 years prior. Check data availability before promising "current."
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"worldbank": {
"url": "https://gateway.pipeworx.io/worldbank/mcp"
}
}
}
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/worldbank/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Both URLs reach the same gateway and the same 2007+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/worldbank_get_country \
-H 'Content-Type: application/json' \
-d '{"country_code":"US"}'
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/worldbank_get_country. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-worldbank is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/worldbank/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"worldbank": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-worldbank"]
}
}
}
Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Worldbank data" })
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Frequently asked questions
What is Worldbank MCP Server?
Unofficial World Bank MCP — wraps the World Bank Data API v2 (free, no auth)
How do I install Worldbank MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Worldbank MCP Server runs locally from the npm package @pipeworx/mcp-worldbank with the command npx -y @pipeworx/mcp-worldbank@0.2.2.
Is Worldbank MCP Server free and open source?
Yes. Worldbank MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Worldbank MCP Server support remote (HTTP) connections?
Yes. Worldbank MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Worldbank MCP Server's trust score calculated?
Worldbank MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.