met-mcp

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

我该使用它吗

质量与安全性

A
描述质量
91%
模式完整度
99%
命名质量
98%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(1)

  • LOWTool 'get_ocean_forecast' description lacks action verb在 get_ocean_forecast 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,221token 数(工具定义)
~1.3 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.95%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "met-mcp": {
      "command": "npx",
      "args": [
        "met-mcp"
      ]
    }
  }
}

可运行的软件包

npmmet-mcp0.2.0stdio

远程端点

https://met-mcp.met-mcp-worker.workers.dev/mcpstreamable-http

它能做什么

工具清单

工具(8)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢geocode_location(name, count)

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

输入模式

{
  "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.

输入模式

{
  "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?'

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本8 个工具
已验证未记录版本8 个工具
已验证未记录版本8 个工具