get_cities
ActiveTool of Country State City
declared in 0.1.0
Get cities for a country, optionally filtered by state. Pass country_code (e.g., "US") and optionally state_code (e.g., "CA") to narrow results.
Parameters schema
{
"type": "object",
"examples": [
{
"_apiKey": "your-country-state-city-api-key",
"state_code": "CA",
"country_code": "US"
},
{
"_apiKey": "your-country-state-city-api-key",
"country_code": "GB"
}
],
"required": [
"_apiKey",
"country_code"
],
"properties": {
"_apiKey": {
"type": "string",
"description": "CountryStateCity API key"
},
"state_code": {
"type": "string",
"description": "State/province code to filter by (e.g., \"CA\", \"NY\", \"TX\")"
},
"country_code": {
"type": "string",
"description": "ISO2 country code (e.g., \"US\", \"IN\")"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Country State City
https://github.com/pipeworx-io/mcp-country-state-city
2/7 registries