Arlet

Connect World Bank to Codex

Query World Bank directly from Codex. Arlet links the two through one MCP connection and takes care of API keys.

Connects your AI client to the World Bank's public APIs - all four families in one server, no API key.

Numeric data (Open Data API v2):

  • search_wb_indicators: keyword search over ~29,500 indicators.
  • get_wb_indicator_data: values by ISO country codes and year range.
  • list_wb_countries: country/aggregate codes with region and income level.

Documents (Documents & Reports API):

  • search_wb_reports: full-archive search over 270,000+ publications; omit query for newest first.
  • fetch_wb_report_content: report body as plain text (CC BY 3.0 IGO, windowed by offset for long documents).

Operations (Projects API):

  • search_wb_projects: lending projects by keyword, country and status.

Poverty (PIP API):

  • get_wb_poverty_stats: official poverty/inequality series per country (headcount at a poverty line, Gini, mean/median).

Each response carries the source and, for documents, license (CC BY 3.0 IGO) and attribution.

How to connect World Bank to Codex

  1. 1

    In the Arlet dashboard, open Data tools, find World Bank and switch it on. No API key setup is needed.

  2. 2

    In your terminal, run codex mcp add arlet --url https://mcp.arlet.dev/mcp/ to add Arlet as an MCP server.

  3. 3

    Codex detects OAuth support and opens your browser. Sign in with Google and click Allow on the consent screen.

  4. 4

    Once connected, both the CLI and the IDE extension can call Arlet tools (the configuration is shared).

If the browser does not open, run codex mcp login arlet to redo the authentication.

Use World Bank with other AI clients