Worldbank

Registre officiel Finance et paiements

World Bank MCP — wraps the World Bank Data API v2 (free, no auth)

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http worldbank 'https://gateway.pipeworx.io/worldbank/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "worldbank": {
            "type": "http",
            "url": "https://gateway.pipeworx.io/worldbank/mcp"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. World Bank — Development Indicators and Country Data
  2. Why this matters for AI agents
  3. Auth
  4. Indicator code structure
  5. Country and country-group codes
  6. Worldwide Governance Indicators (WGI)
  7. Common pitfalls
  8. Quick Start
  9. No MCP client? Call it over HTTP
  10. Standalone (no gateway account)
  11. Using with ask_pipeworx
  12. More
  13. License

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 1831+ 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.CD for 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:

CodeIndicator
NY.GDP.MKTP.CDGDP (current US$)
NY.GDP.PCAP.PP.CDGDP per capita, PPP (current intl $)
SP.POP.TOTLTotal population
SE.PRM.ENRRPrimary school enrollment, gross %
EG.ELC.ACCS.ZSAccess to electricity, % of population
SI.POV.GINIGini index
EN.ATM.CO2E.PCCO2 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 — World
  • EUU — European Union
  • LMC — Lower middle income
  • OED — OECD members
  • SSA — 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 AccountabilityGOV_WGI_VA.EST
Political Stability and Absence of Violence/TerrorismGOV_WGI_PV.EST
Government EffectivenessGOV_WGI_GE.EST
Regulatory QualityGOV_WGI_RQ.EST
Rule of LawGOV_WGI_RL.EST
Control of CorruptionGOV_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 .CD suffix is current dollars; .KD is 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 1831+ 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":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

{
  "mcpServers": {
    "worldbank": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-worldbank"]
    }
  }
}

Or run it directly to confirm it starts:

npx -y @pipeworx/mcp-worldbank

It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call for only this pack's tools — none of the shared meta-tools the gateway connection above adds. Same source, same tools, no ask_pipeworx routing.

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

Questions fréquentes

Qu'est-ce que Worldbank ?

World Bank MCP — wraps the World Bank Data API v2 (free, no auth)

Comment installer Worldbank ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http worldbank 'https://gateway.pipeworx.io/worldbank/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Worldbank ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Worldbank est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Worldbank ?

Il est publié par pipeworx-io. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.