met-mcp

v0.2.0
io.github.trondbjoroy/met-mcp Checked 3 days ago Published 3 months ago

Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

geocode_location Geocode a place name

Find latitude and longitude for a place name. Use the coordinates with the other tools.

ParameterTypeDescription
name *stringPlace name, e.g. 'Bergen' or 'Oslo, Norway'
countintegerMaximum number of matches to return

get_forecast Get weather forecast

Get an hourly weather forecast from MET Norway (Yr) for a coordinate. Works worldwide, best coverage in the Nordics.

ParameterTypeDescription
latitude *numberLatitude in decimal degrees
longitude *numberLongitude in decimal degrees
hoursintegerHow many hours ahead to include

get_nowcast Get precipitation nowcast

Minute-by-minute precipitation for the next 2 hours, radar-based. Nordic region only. Answers 'do I need an umbrella right now?'

ParameterTypeDescription
latitude *numberLatitude in decimal degrees
longitude *numberLongitude in decimal degrees

get_weather_alerts Get weather alerts

Official danger warnings (wind, flood, ice, forest fire...) from MET Norway. Covers Norway and its waters. Omit coordinates to get all current alerts. Alert text is in Norwegian.

ParameterTypeDescription
latitudenumberLatitude in decimal degrees
longitudenumberLongitude in decimal degrees

get_sun_events Get sunrise and sunset

Sunrise, sunset, and solar noon for a coordinate and date. Works worldwide.

ParameterTypeDescription
date *stringDate as YYYY-MM-DD
latitude *numberLatitude in decimal degrees
longitude *numberLongitude in decimal degrees
utc_offsetstringUTC offset for the returned times, e.g. '+02:00' for Norwegian summer time

get_ocean_forecast Get ocean forecast

Wave height, wave direction, and sea temperature. Covers the Norwegian coast and nearby seas.

ParameterTypeDescription
latitude *numberLatitude in decimal degrees
longitude *numberLongitude in decimal degrees
hoursintegerHow many hours ahead to include

find_weather_stations Find weather stations

Find the nearest official weather stations (Frost). Use the station id (e.g. SN50540) with get_historical_weather.

ParameterTypeDescription
latitude *numberLatitude in decimal degrees
longitude *numberLongitude in decimal degrees
countintegerMaximum number of stations to return

get_historical_weather Get historical weather

Daily historical observations from a weather station (Frost archive, some stations go back over 100 years). Find station ids with find_weather_stations.

ParameterTypeDescription
from *stringStart date, YYYY-MM-DD
station_id *stringStation id from find_weather_stations, e.g. SN50540
to *stringEnd date (exclusive), YYYY-MM-DD
elementsarrayFrost element ids. Defaults: daily mean temperature, precipitation sum, max wind.