Skip to main content
Glama
BACH-AI-Tools

Geodb Cities MCP Server

admin_divisions

Find administrative divisions like cities and regions by filtering criteria such as location, population, country, or name prefix to retrieve geographic data.

Instructions

Find administrative divisions, filtering by optional criteria. If no criteria are set, you will get back all known divisions with a population of at least 1000

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationNoOnly divisions near this location. Latitude/longitude in ISO-6709 format: ±DD.DDDD±DDD.DDDD
radiusNoThe location radius within which to find divisions0
distanceUnitNoThe unit of distance to use: MI | KM
countryIdsNoOnly divisions in these countries (comma-delimited country codes or WikiData ids)
excludedCountryIdsNoOnly divisions NOT in these countries (comma-delimited country codes or WikiData ids)
timeZoneIdsNoOnly divisions in these time-zones
minPopulationNoOnly divisions having at least this population0
maxPopulationNoOnly divisions having no more than this population0
namePrefixNoOnly divisions 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 divisions 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

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