Skip to main content
Glama
BACH-AI-Tools

Geodb Cities MCP Server

places_near_location

Find cities, islands, or administrative areas near a specified location by filtering with criteria like population, country, distance, and name prefixes.

Instructions

Get places near the given location, filtering by optional criteria.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typesNoOnly places for these types (comma-delimited): ADM2 | CITY | ISLAND
radiusYesThe location radius within which to find places
distanceUnitNoThe unit of distance to use: MI | KM
countryIdsNoOnly places in these countries (comma-delimited country codes or WikiData ids)
excludedCountryIdsNoOnly places NOT in these countries (comma-delimited country codes or WikiData ids)
timeZoneIdsNoOnly places in these time-zones
minPopulationNoOnly places having at least this population0
maxPopulationNoOnly places having no more than this population0
namePrefixNoOnly places 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 places 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 cities 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