Find Stations
find_stationsFind Meteostat weather station IDs by place name and/or geographic proximity — the lookup you need BEFORE get_daily_history / get_monthly_normals (which require a station_id). Search by name ("San Francisco", "Heathrow"), filter by country (ISO-2 like "US", "GB"), and/or rank by nearest to a lat/lon. Returns each station's id, name, country, region, coordinates, elevation, timezone, and data inventory (which granularities — hourly/daily/monthly — are available and their date ranges, so you can pick a station that actually has the period you need). Use for "weather station near X", "what is the station ID for Y", "stations in country Z".
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "San Francisco",
"country": "US"
},
"name": "find_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max stations to return (1-50, default 10). | |
| query | No | Station/place name substring (case-insensitive), e.g. "Heathrow", "San Francisco". | |
| country | No | ISO-2 country code filter (e.g. "US", "GB", "DE"). | |
| near_lat | No | Latitude to rank stations by proximity (pair with near_lon). | |
| near_lon | No | Longitude to rank stations by proximity (pair with near_lat). |