search_geonames
ActiveTool of Geonames
Search for places (cities, towns, landmarks, regions) by name and get which STATE / PROVINCE / COUNTY / PREFECTURE / administrative division (German Bundesland, UK county, Canadian province, Japanese prefecture, Indian/Australian/Mexican state, etc.) they are in, plus country, coordinates, population, and feature type. Answers "what state is <city> in", "which US/German/Australian state is <city> in", "what province/county/prefecture/region is <place> in" — the `admin_region` field is the state/province/county/prefecture (e.g. search_geonames("Naperville", "US") → Illinois; ("Heidelberg", "DE") → Baden-Württemberg; ("Leeds", "GB") → England; ("Osaka", "JP") → Osaka). Worldwide coverage. Example: search_geonames("Paris", "FR"). Use get_nearby to find places near a known location.
Parameters schema
{
"type": "object",
"examples": [
{
"query": "Tokyo",
"_apiKey": "your-geonames-api-key"
},
{
"limit": 5,
"query": "Grand Canyon",
"_apiKey": "your-geonames-api-key",
"country": "US"
}
],
"required": [
"_apiKey",
"query"
],
"properties": {
"limit": {
"type": "number",
"description": "Number of results (default: 10, max: 100)"
},
"query": {
"type": "string",
"description": "Place name to search for (e.g., \"Tokyo\", \"Grand Canyon\")"
},
"_apiKey": {
"type": "string",
"description": "GeoNames username"
},
"country": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code to filter (e.g., \"US\", \"JP\")"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Geonames
https://github.com/pipeworx-io/mcp-geonames
1/7 registries