- ISO CODES
- CAPITALS
- CLEAN LISTS
- HUMAN REVIEW
Short answer
How can I fix messy country names in my data?
Your AI uses the World Bank Countries MCP to map various name formats to standard ISO codes and retrieve official capital cities. This ensures your datasets stay consistent and accurate. You'll see how the mapping and retrieval process works below.
The results.
Where your data lands.
The AI handles the heavy lifting of matching and looking up data.
ISO CODES
Standardized identifiers
The AI converts typos or different naming conventions into precise ISO codes. This makes your data ready for any database or analysis tool.
CAPITALS
Official city data
The agent pulls the correct capital city for every country identified. This adds a layer of verified geographic metadata to your records.
CLEAN LISTS
Validated country sets
You get a clean, uniform list of countries that matches World Bank standards. This removes the guesswork from your geographic datasets.
HUMAN REVIEW
Manual verification
If the AI can't find a match for a specific name, it flags the entry for you. You decide how to handle the outliers that don't fit the standard list.
The workflow
What your AI does when the data arrives.
The agent acts as a bridge between your messy text and the official World Bank registry.
Identify countries
The agent scans your text or spreadsheet to find mentions of countries that need fixing.
list_countriesMap to ISO
The AI compares your input against the official list to find the correct ISO code.
list_countriesFetch capitals
Once the country is identified, the agent pulls the official capital city from the registry.
list_countriesFlag mismatches
The agent identifies names that don't correspond to any known country in the database.
list_countries
Try it
Copy these to start.
Use these prompts to kick off the standardization process.
Starting points
Swap the bracketed text for your actual file names or data sources.
World Bank Open Data Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_A6SDZF43oRJsl5D59nh4U7kc0DLDteSSJbrBSJJG/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — World Bank Open Data capabilities are ready to use.
{
"mcpServers": {
"world-bank-countries-mcp": {
"url": "https://edge.vinkius.com/vk_preview_A6SDZF43oRJsl5D59nh4U7kc0DLDteSSJbrBSJJG/mcp"
}
}
}Standardize the country names in [this Google Sheet] using ISO codes.
Find the official capital cities for all countries listed in [this CSV file].
Check [this list of names] against the World Bank data and flag any that aren't real countries.
Convert the country column in [this dataset] into a list of ISO codes and capitals.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect World Bank Countries once, then ask.
One click connects the MCP to your client. Your credentials stay encrypted and secure, and you can find the full technical details on the Connector page.
Connect World Bank Countries to your AIFAQ
How the task behaves.
- 01
Can the AI change my original files?
No. The AI only reads your data and provides the standardized information. You must manually apply the changes to your files.
- 02
What happens if a country name is misspelled?
The AI attempts to match the misspelling to the closest official name in the World Bank list. If it can't find a logical match, it will tell you it couldn't find the country.
- 03
Does it work with any country name?
It works with names that can be mapped to the World Bank's official country registry. It cannot identify fictional or non-sovereign entities not in that database.
- 04
Can I use this to find population data too?
No. This specific MCP is limited to country names, ISO codes, and capital cities.
- 05
Will the AI delete any of my data?
No. The AI has no capability to delete, overwrite, or modify your source files.
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
