Skip to main content
Glama
BACH-AI-Tools

Geodb Cities MCP Server

admin_divisions_near_location

Find administrative divisions near a specified location using radius and optional filters like population, country, or name prefix.

Instructions

Get administrative divisions near the given location, filtering by optional criteria.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
radiusYesThe location radius within which to find divisions
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
locationidYesOnly divisions near this location. Latitude/longitude in ISO-6709 format: ±DD.DDDD±DDD.DDDD

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