• REGION
  • DATA
  • REPORT
  • HUMAN

How to filter geographic data by region with your AI

Connect the World Bank Countries MCP to your AI client to group global data into standardized regional blocks.

Ask AI about this page

Short answer

How can I filter my data by World Bank regions?

Your AI uses the search_regions tool to identify official regional groupings. Once identified, you can instruct your agent to isolate or aggregate any dataset based on those specific blocks. This ensures your analysis stays consistent with World Bank standards.

Where every result lands.

Data organization outcomes

The AI handles the heavy lifting of grouping countries, leaving you with clean, categorized datasets.

REGION

Regional groupings

The AI uses search_regions to find the exact names of World Bank blocks. You get a list of valid regions to use for your queries.

DATA

Filtered datasets

Your agent pulls only the countries that fall within your chosen region. This prevents data leakage from outside your target area.

REPORT

Regional summaries

The AI aggregates metrics for an entire block at once. You get a single view of a whole region instead of individual country rows.

HUMAN

Manual verification

You review the final regional lists to ensure the grouping matches your specific research needs. The AI provides the structure, but you confirm the logic.

The workflow

What your AI does when you request a regional filter.

The AI moves from identifying the correct regional boundaries to applying them to your data.

  1. Identify regions

    The AI looks up the official World Bank regional names to ensure it uses the correct terminology.

    search_regions
  2. Map countries

    The agent matches individual country identifiers to the selected regional blocks.

    search_regions
  3. Isolate data

    The AI strips away any data points that don't belong to the specified region.

    search_regions
  4. Finalize output

    The agent presents the filtered list or summary in the format you requested.

    search_regions

Try it

Copy these to start.

Use these prompts to trigger the regional filtering process.

Starting points

These are basic starting lines. Swap out the region names or specific metrics to fit your actual task.

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_A6SDZF43oRJsl5D59nh4U7kc0DLDteSSJbrBSJJG/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-countries-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_A6SDZF43oRJsl5D59nh4U7kc0DLDteSSJbrBSJJG/mcp"
    }
  }
}
Copy into chat04
  • Find all the official World Bank regions available.

  • Filter the current dataset to only include countries in the East Asia & Pacific region.

  • List all countries that belong to the Latin America & Caribbean block.

  • Summarize the data for the Sub-Saharan Africa region.

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

Start here

Connect World Bank Countries once, then ask.

One connection gives your AI access to the full World Bank geographic hierarchy. Your credentials stay encrypted and secure.

Connect World Bank Countries to your AI

FAQ

How the regional filtering works

  • 01

    Can the AI create new regions?

    No. The AI only uses the official regional blocks provided by the World Bank.

  • 02

    Does the AI change the original source data?

    No. The AI only reads and filters the data. It never modifies the underlying World Bank records.

  • 03

    How does the AI know which countries are in which region?

    It uses the search_regions tool to pull the official mapping from the World Bank.

  • 04

    Can I filter by sub-regions?

    Yes, as long as those sub-regions are part of the official World Bank geographic structure.

  • 05

    Will the AI delete any data if I filter it?

    No. Filtering only affects what the AI shows you in your current chat session.

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

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