met-mcp
Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin get_ocean_forecast
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"met-mcp": {
"command": "npx",
"args": [
"met-mcp"
]
}
}
}Ausführbare Pakete
0.2.0stdioRemote-Endpunkte
https://met-mcp.met-mcp-worker.workers.dev/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (8)
🟢geocode_location(name, count)
Find latitude and longitude for a place name. Use the coordinates with the other tools.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Place name, e.g. 'Bergen' or 'Oslo, Norway'"
},
"count": {
"default": 5,
"description": "Maximum number of matches to return",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_forecast(latitude, longitude, hours)
Get an hourly weather forecast from MET Norway (Yr) for a coordinate. Works worldwide, best coverage in the Nordics.
Eingabe-Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees"
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees"
},
"hours": {
"default": 24,
"description": "How many hours ahead to include",
"type": "integer",
"minimum": 1,
"maximum": 48
}
},
"required": [
"latitude",
"longitude"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_nowcast(latitude, longitude)
Minute-by-minute precipitation for the next 2 hours, radar-based. Nordic region only. Answers 'do I need an umbrella right now?'
Eingabe-Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees"
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees"
}
},
"required": [
"latitude",
"longitude"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_weather_alerts(latitude, longitude)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees"
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_sun_events(latitude, longitude, date, utc_offset)
Sunrise, sunset, and solar noon for a coordinate and date. Works worldwide.
Eingabe-Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees"
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date as YYYY-MM-DD"
},
"utc_offset": {
"default": "+00:00",
"description": "UTC offset for the returned times, e.g. '+02:00' for Norwegian summer time",
"type": "string",
"pattern": "^[+-]\\d{2}:\\d{2}$"
}
},
"required": [
"latitude",
"longitude",
"date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_ocean_forecast(latitude, longitude, hours)
Wave height, wave direction, and sea temperature. Covers the Norwegian coast and nearby seas.
Eingabe-Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees"
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees"
},
"hours": {
"default": 24,
"description": "How many hours ahead to include",
"type": "integer",
"minimum": 1,
"maximum": 48
}
},
"required": [
"latitude",
"longitude"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢find_weather_stations(latitude, longitude, count)
Find the nearest official weather stations (Frost). Use the station id (e.g. SN50540) with get_historical_weather.
Eingabe-Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees"
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees"
},
"count": {
"default": 5,
"description": "Maximum number of stations to return",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"latitude",
"longitude"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_historical_weather(station_id, from, to, elements)
Daily historical observations from a weather station (Frost archive, some stations go back over 100 years). Find station ids with find_weather_stations.
Eingabe-Schema
{
"type": "object",
"properties": {
"station_id": {
"type": "string",
"pattern": "^SN\\d+$",
"description": "Station id from find_weather_stations, e.g. SN50540"
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date, YYYY-MM-DD"
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date (exclusive), YYYY-MM-DD"
},
"elements": {
"default": [
"mean(air_temperature P1D)",
"sum(precipitation_amount P1D)",
"max(wind_speed P1D)"
],
"description": "Frost element ids. Defaults: daily mean temperature, precipitation sum, max wind.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"station_id",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis