geocode
ActiveTool of mcp-openweather
declared in 0.1.0
Resolve a place name (city, optionally with state/country) to geographic coordinates (latitude/longitude). Useful before calling air_quality, which needs lat/lon. Example: geocode({ query: "Paris", limit: 5 })
Parameters schema
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "number",
"description": "Maximum number of matching locations to return (default 5)."
},
"query": {
"type": "string",
"description": "Place name to look up, e.g. \"Paris\", \"Springfield,IL,US\"."
},
"_apiKey": {
"type": "string",
"description": "Optional — your own OpenWeatherMap API key for higher limits; omit to use the shared Pipeworx key."
}
}
}Parent server
mcp-openweather
https://github.com/pipeworx-io/mcp-openweather
2/7 registries