MCP.so
ログイン

Weather Forecast MCP Server

@MKhan997733

基本情報

カテゴリ

メディアとデザイン

トランスポート

stdio

作者

MKhan997733

Weather Forecast MCP Server について

概要はまだありません

Weather Forecast MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": [
        "mcp-server-weather-forecast"
      ],
      "env": {
        "API_KEY": ""
      }
    }
  }
}

Weather Forecast MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Weather Forecast MCP Server?

A Model Context Protocol (MCP) server that provides weather information and alerts for US states and UK cities/towns using the National Weather Service (NWS) and OpenWeather APIs. It enables AI assistants to fetch current weather forecasts and alerts through a standardized interface.

How to use Weather Forecast MCP Server?

Install from source via git clone, npm install, and npm run build. Configure by adding the server to your MCP client (e.g., Claude Desktop or Cursor) with an API key set in the API_KEY environment variable. Once configured, ask your AI assistant weather-related questions like alerts for a US state or forecast for coordinates.

Key features of Weather Forecast MCP Server

  • Get active weather alerts for any US state.
  • Retrieve detailed weather forecasts using latitude/longitude coordinates.
  • Fetch current weather for UK cities and towns.
  • Requires an API key for accessing weather services.
  • Real-time data from official government and OpenWeather sources.
  • Compatible with any MCP-compatible AI assistant or client.

Use cases of Weather Forecast MCP Server

  • Ask an AI assistant for weather alerts in a specific US state (e.g., California).
  • Request a detailed weather forecast for a given latitude and longitude.
  • Check current weather conditions in a UK city or town.

よくある質問

1

What data sources does the server use?

It uses the National Weather Service API for US weather alerts and forecasts, and OpenWeather API for UK weather information.

2

Is an API key required?

Yes, an API key is required for accessing weather services. You can obtain one from OpenWeather.

3

How do I configure the server for Claude Desktop?

Add the server to your `claude_desktop_config.json` with the command `npx mcp-server-weather-forecast` and set the `API_KEY` environment variable.

4

What parameters do the tools require?

`get-alerts` needs a two-letter US state code. `get-forecast` requires latitude and longitude. `current-weather-uk` requires a UK city or town name.

5

What are the runtime requirements?

The server requires Node.js 18+ and npm or yarn for installation and execution.

コメント

「メディアとデザイン」の他のコンテンツ