Weather MCP Server

by bobby169

天気MCPサーバー

このプロジェクトは、天気情報を提供するモデルコンテキストプロトコル (MCP) サーバーです。

特徴

  • 特定の緯度と経度の現在の天気予報を取得します。
  • 米国の州の最新の気象警報を取得します。

設定

  1. 依存関係をインストールします:
    pnpm install
  2. サーバーを構築します。
    pnpm run build

サーバーの実行

このサーバーは、Claude for Desktop などの MCP クライアントによって実行されるように設計されています。

Claude for Desktop(または同様のMCPクライアント)をこのサーバーを使用するように設定するには、構築したサーバーを指定する必要があります。一般的な設定では、以下を指定します。

  • コマンド: node
  • 引数: ["/ABSOLUTE/PATH/TO/YOUR/PROJECT/mcptest/build/index.js"]

/ABSOLUTE/PATH/TO/YOUR/PROJECT/システム上のmcptestディレクトリへの実際の絶対パスに置き換えます。

たとえば、プロジェクトが/Users/bohe/Desktop/mcptestにある場合、引数は["/Users/bohe/Desktop/mcptest/build/index.js"]になります。

MCP サーバーを追加および構成する方法の具体的な手順については、MCP クライアントのドキュメントを参照してください。

発達

  • ソースコードはsrcディレクトリにあります。
  • メインのサーバー ロジックはsrc/index.tsにあります。
  • ビルド出力はbuildディレクトリにあります。

MCP構成

.vscode/mcp.jsonファイルは、VS Code がこの MCP サーバーを認識し、デバッグできるようにするために提供されています。

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

特定の場所の現在の天気予報と米国の各州のアクティブな天気警報を提供するモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. 設定
      1. サーバーの実行
        1. 発達
          1. MCP構成

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              This is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API. Features Get weather alerts for a US state Get weather forecast for a specific location (using latitude and longitude)
              Last updated -
              Python
              • Linux
              • Apple
            • -
              security
              -
              license
              -
              quality
              Provides a Model Context Protocol server that enables large language models to query and retrieve real-time weather forecasts for cities and regions across China.
              Last updated -
              Python
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that provides AI agents with tools to retrieve weather alerts and detailed forecasts for US locations using the National Weather Service API.
              Last updated -
              2
              115
              TypeScript
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that provides comprehensive weather data querying capabilities based on the Caiyun Weather API, supporting real-time weather, forecasts, and alerts with multi-language support.
              Last updated -
              7
              1
              TypeScript

            View all related MCP servers

            ID: zbeuxph7bl