Skip to main content
Glama
BACH-AI-Tools

Geodb Cities MCP Server

cities_near_division

Find cities near any administrative division worldwide, with filters for population, distance, country, time zone, and name to locate specific urban areas.

Instructions

Get cities near the given administrative division, filtering by optional criteria.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typesNoOnly cities for these types (comma-delimited): CITY | ADM2
radiusYesThe location radius within which to find cities100
distanceUnitNoThe unit of distance to use: MI | KM
countryIdsNoOnly cities in these countries (comma-delimited country codes or WikiData ids)
excludedCountryIdsNoOnly cities NOT in these countries (comma-delimited country codes or WikiData ids)
timeZoneIdsNoOnly cities in these time-zones
minPopulationNoOnly cities having at least this population0
maxPopulationNoOnly cities having no more than this population0
namePrefixNoOnly cities whose names start with this prefix. If languageCode is set, the prefix will be matched on the name as it appears in that language.
namePrefixDefaultLangResultsNoExample value:
languageCodeNoDisplay results in this language
asciiModeNoExample value:
hateoasModeNoExample value:
includeDeletedNoWhether to include any cities marked deleted: ALL | SINCE_YESTERDAY | SINCE_LAST_WEEK | NONE
limitNoThe maximum number of results to retrieve0
offsetNoThe zero-ary offset into the results0
sortNoHow to sort the results. Format: ±SORT_FIELD,±SORT_FIELD where SORT_FIELD = countryCode | elevation | name | population
divisionIdYesExample value: Q104994

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-geodb-cities'

If you have feedback or need assistance with the MCP directory API, please join our Discord server