Skip to main content
Glama

Weather MCP Server

National Weather Service API から気象警報と予報を取得する MCP サーバーです。

要件

  • Node.js 18 以降

  • MCP 互換クライアント

Related MCP server: @cyanheads/nws-weather-mcp-server

インストール

npm install
npm run build

ビルドされたサーバーは build/index.js に出力されます。

MCP クライアントの設定

MCP クライアントがビルド済みサーバーを stdio 経由で起動するように設定してください。例:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": ["/absolute/path/to/weather/build/index.js"]
    }
  }
}

パスをこのプロジェクトの絶対パスに置き換えてください。

利用可能なツール

get_alerts

米国の州に関する現在発令中の気象警報を返します。

入力:

  • state: 2文字の州コード(例: CA)

get_forecast

指定された地点の予報を返します。

入力:

  • latitude: -90 から 90 までの数値

  • longitude: -180 から 180 までの数値

データソース

気象データは、National Weather Service API から提供されます。

ライセンス

ISC

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers