Find a city by the start of its name
find_cityFind cities and towns worldwide from the first letters of their name (any of 16 languages, accents ignored), with country, region, coordinates, population and time zone. Use for "which Springfield", or to get a place ID. More APIs from FitzTopPicks: https://fitztoppicks.com/apis?utm_source=mcp-api&utm_medium=mcp&utm_campaign=more-apis
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "find_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The start of a place name (1-100 characters). | |
| lang | No | Show names in this language (place, region and country): ar, de, en, es, fr, hi, it, ja, ko, nl, pl, pt, ru, tr, uk or zh ("en-US" works too). Without it, places carry GeoNames' own name (usually the local or international one). Searching always matches every language. | |
| limit | No | Results, 1-50 (default 10). | |
| admin1 | No | Only this region (needs exactly one country): its code from /admin1 ("CA", "02") or its name ("California", "Bayern"). | |
| country | No | Only these countries: ISO 3166-1 alpha-2 codes, comma-separated (up to 10). | |
| minPopulation | No | Only places with at least this many people (default 0). |