• RAW DATA
  • ANALYSIS
  • REPORTS
  • HUMAN

How to fetch custom economic indicators with your AI

Connect the World Bank Economy MCP to your agent to pull precise macroeconomic data using standard indicator codes.

Ask AI about this page

Short answer

How can I get specific World Bank data using my AI?

Give your agent a World Bank indicator code and a country or region. It will pull the exact metric you need for your research. You'll see the data immediately in your chat.

Data outcomes

Where your data lands

The agent handles the retrieval so you can focus on the analysis.

RAW DATA

Direct metric retrieval

The agent uses get_economy_indicator to pull the specific value you requested. You get the exact number tied to that code.

ANALYSIS

Contextualized trends

Once the data is pulled, your agent can compare multiple indicators or time periods. This turns raw numbers into a narrative.

REPORTS

Structured summaries

Your agent can format the fetched data into tables or lists. This makes the economic metrics ready for your documents.

HUMAN

Manual verification

You decide if the indicator code is the correct one for your research. The AI fetches what you ask for, but you validate the intent.

The workflow

What your AI does when you request data.

The agent handles the technical handshake with the World Bank API.

  1. Identify the code

    Your agent parses your request to find the specific World Bank indicator code you mentioned.

    get_economy_indicator
  2. Execute the query

    The agent calls the World Bank API using the indicator code and the country identifier.

    get_economy_indicator
  3. Format the result

    The agent takes the raw JSON response and turns it into a readable format.

    get_economy_indicator
  4. Present findings

    The agent delivers the specific economic value or trend directly in your chat interface.

    get_economy_indicator

Try it

Copy these to start.

Use these prompts to trigger your first data pull.

Starting points

You'll need to provide the specific indicator code (like NY.GDP.MKTP.CD) and the country code (like USA or BRA).

World Bank Open Data Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_VA3bMdDp6ZfdtuaYyBEfAheJP1Ks9QaNBqMiDI0e/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — World Bank Open Data capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "world-bank-economy-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_VA3bMdDp6ZfdtuaYyBEfAheJP1Ks9QaNBqMiDI0e/mcp"
    }
  }
}
Copy into chat04
  • Get the GDP growth rate for Brazil using the indicator code NY.GDP.MKTP.KD.ZG.

  • What is the current inflation rate for India? Use the indicator code FP.CPI.TOTL.ZG.

  • Fetch the total population for Japan using the indicator code SP.POP.TOTL.

  • Compare the unemployment rate in Mexico (SL.UEM.TOTL.ZS) against the rate in Canada.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect World Bank Economy once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted and you can start querying immediately.

Connect World Bank Economy to your AI

FAQ

How this task behaves

  • 01

    Can my AI change data in the World Bank database?

    No. This connector is read-only. It can only fetch existing data from the World Bank.

  • 02

    Do I need to find the indicator codes myself?

    Yes. You must provide the specific indicator code in your prompt so the agent knows exactly what to fetch.

  • 03

    Can the AI create new economic metrics?

    No. The agent can only retrieve metrics that already exist in the World Bank's official datasets.

  • 04

    Can I fetch data for a whole region at once?

    Yes, if you use the appropriate regional identifier instead of a specific country code.

  • 05

    Will the AI automatically update my spreadsheets?

    No. The AI fetches the data and presents it to you. You are responsible for moving that data into your own files or sheets.

  • More questions about World Bank Economy? The Connector page answers them. See everything the World Bank Economy Connector can do

Connect World Bank Open Data to Claude, Cursor, ChatGPT & more