
timlukahorstmann/mcp-weather
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
timlukahorstmann/mcp-weatherは[https://github.com/timlukahorstmann/mcp-weather.]からインポートされたMCPサーバー候補です
概要
timlukahorstmann/mcp-weatherは[https://github.com/timlukahorstmann/mcp-weather.]からインポートされたMCPサーバー候補です
概要(AI 翻訳)
ACcuWeather API を使用して、毎時および毎日の天気予報を提供するモデルコンテキストプロトコル (MCP) サーバー。
お問い合わせ
クイックスタート
AccuWeather API キー(利用可能な無料のティア)が必要です。 ここにサインアップして、キーを取得するアプリを作成します。
API キーを環境変数としてエクスポートします。
次に、MCP Weatherサーバーを直接実行します。
または、 supergateway 経由で HTTP/REST アクセスの場合:
お問い合わせ
MCP Server 設定例
Claude デスクトップや他の MCP 互換クライアントとの統合のために、この設定を(claude_desktop_config.json)に追加します。
お問い合わせ
概要
このMCPサーバーでは、大規模の言語モデル(Claudeのような)がリアルタイム気象データにアクセスすることができます。 LLM と統合すると、以下のモデルが可能になります。
- 最新気象予報を正確かつ最新
- 次の12時間に毎時気象データを提供
- 最大15日間の毎日の天気予報にアクセス
- メトリック(°C)と帝国(°F)単位のデータを表示
- 温度、条件、沈殿物情報および他の天候の細部を見て下さい
利用可能なツール
###毎時天気予報
- ツール名:
weather-get_hourly - 次の12時間のための時機を得た予測を提供して下さい
- 変数:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Weather Server
A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
Quick Start
You need an AccuWeather API key (free tier available).
Sign up here and create an app to get your key.
Export your API key as an environment variable:
export ACCUWEATHER_API_KEY=your_api_key_here
Then run the MCP Weather server directly with:
npx -y @timlukahorstmann/mcp-weather
Or, for HTTP/REST access via supergateway:
npx -y supergateway --stdio "npx -y @timlukahorstmann/mcp-weather" \
--port 4004 \
--baseUrl http://127.0.0.1:4004 \
--ssePath /messages \
--messagePath /message \
--cors "*" \
--env ACCUWEATHER_API_KEY="$ACCUWEATHER_API_KEY"
MCP Server Config Example
For integration with Claude Desktop or other MCP-compatible clients, add this to your config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "@timlukahorstmann/mcp-weather"],
"env": {
"ACCUWEATHER_API_KEY": "your_api_key_here"
}
}
}
}
Overview
This MCP server allows large language models (like Claude) to access real-time weather data. When integrated with an LLM, it enables the model to:
- Fetch accurate, up-to-date weather forecasts
- Provide hourly weather data for the next 12 hours
- Access daily weather forecasts for up to 15 days
- Display data in both metric (°C) and imperial (°F) units
- View temperature, conditions, precipitation information, and other weather details
Available Tools
Hourly Weather Forecast
- Tool name:
weather-get_hourly - Provides hourly forecasts for the next 12 hours
インストール
npx -y @timlukahorstmann/mcp-weather設定
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "@timlukahorstmann/mcp-weather"],
"env": {
"ACCUWEATHER_API_KEY": "your_api_key_here"
}
}
}
}