Skip to main content
Skip to main content

World Cities — Name, Country, Region, GeoNames ID (23,000+)

by dAgentBaseData quality A · 90/100
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

nametype
namestring
countrystring
subcountrystring
geonameidinteger

Sample Data

namecountrygeonameidsubcountry
les EscaldesAndorra3040051Escaldes-Engordany
Andorra la VellaAndorra3041563Andorra la Vella
WarīsānUnited Arab Emirates290503Dubai
Umm SuqaymUnited Arab Emirates290581Dubai
Umm Al Quwain CityUnited Arab Emirates290594Umm Al Quwain

Get this via API

Choose your client and connect your agent
# Example for Cursor (.cursor/mcp.json).
# For Claude, ChatGPT and Codex, use the Connect your agent guide.
# Read-only keys can preview and query data you already have access to.
{
  "mcpServers": {
    "dagentbase": {
      "url": "https://dagentbase.com/api/mcp",
      "headers": { "Authorization": "Bearer dm_live_YOUR_KEY" }
    }
  }
}

# 2. Then ask your agent, in plain language:
#    "Preview listing 661bea8a-4963-47fe-9a06-55301b4e6621 and explain its coverage and license."
#    Tools: preview_listing -> describe_dataset -> query_dataset
#    Claim or purchase in the platform before querying with a read-only key.
Free

one time · open license

Details

Rows34,128
Size365 KB
Files1
FormatCSV.GZ

Available formats

CSV.GZ365 KB
Freeopen