Skip to main content
World Cities — Name, Country, Region, GeoNames ID (23,000+)
DatasetCSV.GZOpenCitiesGeographyGeonamesReferenceFree
34,128 cities and towns worldwide with country, first-level administrative region and GeoNames identifier, from the datasets/world-cities compilation of GeoNames as of 2026-09-05.
Use Cases
- City name normalisation
- Country and region joins
- GeoNames enrichment
Methodology
Direct parse of the published CSV.
Update Schedule
Static snapshot. Refresh annually.
Attribution
Source: datasets/world-cities (GeoNames extract), CC BY 4.0 with GeoNames attribution.
Schema
| name | type |
|---|---|
| name | string |
| country | string |
| subcountry | string |
| geonameid | integer |
Sample Data
| name | country | geonameid | subcountry |
|---|---|---|---|
| les Escaldes | Andorra | 3040051 | Escaldes-Engordany |
| Andorra la Vella | Andorra | 3041563 | Andorra la Vella |
| Warīsān | United Arab Emirates | 290503 | Dubai |
| Umm Suqaym | United Arab Emirates | 290581 | Dubai |
| Umm Al Quwain City | United Arab Emirates | 290594 | Umm Al Quwain |
Get this via API
# 1. Add dAgentBase once, in any MCP client. No install, no vendor keys.
# Claude.ai / Claude Desktop: Settings -> Connectors -> Add custom connector
# Cursor / Claude Code / others: mcp.json
{
"mcpServers": {
"dagentbase": {
"url": "https://dagentbase.com/api/mcp",
"headers": { "Authorization": "Bearer dm_live_YOUR_KEY" }
}
}
}
# 2. Then ask your agent, in plain language:
# "Preview 'World Cities — Name, Country, Region, GeoNames ID (23,000+)' and, if it fits, claim it and download the files."
# Tools it will use: search_listings -> preview_listing -> purchase_listing -> get_download_urls
# 1. Add dAgentBase once, in any MCP client. No install, no vendor keys.
# Claude.ai / Claude Desktop: Settings -> Connectors -> Add custom connector
# Cursor / Claude Code / others: mcp.json
{
"mcpServers": {
"dagentbase": {
"url": "https://dagentbase.com/api/mcp",
"headers": { "Authorization": "Bearer dm_live_YOUR_KEY" }
}
}
}
# 2. Then ask your agent, in plain language:
# "Preview 'World Cities — Name, Country, Region, GeoNames ID (23,000+)' and, if it fits, claim it and download the files."
# Tools it will use: search_listings -> preview_listing -> purchase_listing -> get_download_urlsFree
one time · open license
Details
Rows34,128
Size365 KB
Files1
FormatCSV.GZ
Available formats
CSV.GZ365 KB
Freeopen