Handles environment configuration for API keys and base URL settings through a .env file.
Weather MCP
Model Context Protocol (MCP)を使用した天気予報アプリケーション
概要
このアプリケーションは、Open-Meteo APIを使用して天気予報データを取得・表示するMCPサーバーです。MCPプロトコルを通じて、LLMアプリケーションから天気情報にアクセスすることができます。
機能
- 現在の天気情報の表示
- 3日間の天気予報の表示
- 位置情報に基づく天気情報の取得
- MCPプロトコルを通じたアクセス
セットアップ
- 依存関係のインストール:
- 環境変数の設定:
.env
ファイルを作成し、必要な環境変数を設定してください。
- MCPサーバーの起動:
- クライアントの実行:
MCPツール
get_weather
指定した都市の現在の天気情報と3日間の予報を取得します。
パラメータ:
city
: 天気情報を取得する都市名(例: 東京、New York)
レスポンス例:
ライセンス
MIT
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.
A Model Context Protocol server that provides current weather information and 3-day forecasts for specified cities using the Open-Meteo API.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.Last updated -316Apache 2.0
- -securityFlicense-qualityA production-ready Model Context Protocol server that provides weather data from OpenWeatherMap API, allowing users to query current weather by city name or coordinates with support for different temperature units.Last updated -
- AsecurityAlicenseAqualityA Model Context Protocol server that provides comprehensive weather data and forecasts through the OpenWeatherMap API, enabling AI assistants to access real-time weather information, forecasts, air quality data, and location services.Last updated -114MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides real-time weather data and forecasts for any city.Last updated -17ISC License