Search cities
search_citiesFind cities already in the dataset (the snapshot and places fetched before) by name, alias or id, optionally within one country. Returns ids for the other tools, how many match and whether more do. This server holds Borgo's published cities; any other place needs the local server (npx -y @abcastor/borgo mcp) and its fetch_city.
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": {
"query": "<query>"
},
"name": "search_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 10 for a query, 100 for the full list | |
| query | Yes | Name, alias or id; empty lists every city | |
| country | No | ISO alpha-2 filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Cities that match | |
| cities | Yes | ||
| hasMore | Yes | ||
| reportVersion | Yes | The report's shape version (now 2.0) |