MCP 天気サーバー
あらゆる場所の天気情報を提供するシンプルなモデル コンテキスト プロトコル (MCP) サーバー。
MCPとは何ですか?
モデルコンテキストプロトコル(MCP)は、AIアプリケーションとエージェントがデータソースやツールに接続するための標準化された方法です。これにより、ClaudeのようなAIモデルは、標準化されたインターフェースを介して、ローカルシステム、外部サービス、カスタムツールと連携できるようになります。
特徴
- あらゆる場所の現在の天気情報を入手
- Claude Desktopおよびその他のMCPクライアントと互換性があります
- 無料のwttr.in天気APIを使用します(APIキーは不要です)
インストール
使用法
サーバーの実行
Claudeデスクトップに接続しています
- クロードデスクトップを開く
- 設定 > MCPサーバーへ移動
- 新しいサーバーを追加する
- 「カスタム」を選択し、サーバーの実行ファイルへのパスを入力します。
- コマンドを次のように設定します:
node /Users/le-yo/CascadeProjects/mcp-weather-server/index.js
- 保存してClaude Desktopを再起動します
クロードのプロンプト例
接続したら、Claude に天気ツールを使用するように依頼できます。
- 「ニューヨークの現在の天気はどうですか?」
- 「今のロンドンの気温を教えてください。」
- 「東京は雨が降っていますか?」
仕組み
このサーバーは、モデルコンテキストプロトコル(MCP)を実装し、wttr.in APIから気象データを取得するツールを提供します。Claudeや他のMCPクライアントがこのサーバーに接続すると、 get_weather
ツールを使用して任意の場所の現在の気象状況を取得できます。
サーバーの拡張
このサーバーは次の方法で拡張できます。
- 天気関連のツール(予報、履歴データなど)の追加
- リソースやプロンプトなどの他のMCP機能の実装
- より多くの機能を備えた別の天気APIを使用する
ライセンス
マサチューセッツ工科大学
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
モデル コンテキスト プロトコルを実装するシンプルなサーバー。これにより、Claude などの AI モデルは wttr.in API を使用して任意の場所のリアルタイムの天気情報を取得できるようになります。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.Last updated -4PythonApache 2.0
Juhe Weather MCP Serverofficial
-security-license-qualityProvides 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- AsecurityFlicenseAqualityA 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 -275TypeScript
- AsecurityFlicenseAqualityA 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 -72TypeScript