wu-weather-mcp
wu-weather-mcp
Weather Undergroundの個人用気象観測所(PWS)をClaudeのツールとして公開するMCPサーバーです。現在の状況、日次サマリー、時間ごとの履歴、観測所メタデータについてClaudeに尋ねると、すべてあなたの観測所からライブで取得されます。
前提条件
Node.js 18以上
PWSを備えたWeather Undergroundアカウント
観測所ID(WUダッシュボードで確認可能、例:
KCALAKEF92)
Related MCP server: weather-mcp-server
セットアップ
1. クローンとインストール
git clone https://github.com/your-username/wu-weather-mcp.git
cd wu-weather-mcp
npm install2. 環境設定
cp .env.example .env.envを編集します:
WU_API_KEY=your_api_key_here
WU_STATION_ID=your_station_id_here
WU_STATION_NAME=My Weather Station # optional — defaults to station ID3. ビルド
npm run build4. テスト
node build/index.jsサーバーはstdioで起動し、MCPメッセージを待機します。Ctrl-Cで終了します。
Claude Desktopとの統合
claude_desktop_config.jsonに以下を追加します:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"wu-weather": {
"command": "node",
"args": ["/absolute/path/to/wu-weather-mcp/build/index.js"]
}
}
}
/absolute/path/to/wu-weather-mcpを、リポジトリをクローンした実際のパスに置き換えてください。 macOSでは、クローンしたフォルダ内でpwdを実行するとパスを取得できます。
保存後、Claude Desktopを再起動してください。気象ツールが自動的に表示されます。
代替案:.envの代わりに設定で認証情報を渡す
{
"mcpServers": {
"wu-weather": {
"command": "node",
"args": ["/absolute/path/to/wu-weather-mcp/build/index.js"],
"env": {
"WU_API_KEY": "your_api_key_here",
"WU_STATION_ID": "your_station_id_here",
"WU_STATION_NAME": "My Weather Station"
}
}
}
}利用可能なツール
ツール | パラメータ | 説明 |
| — | 現在の気温、湿度、風、気圧、UV、降水率、露点、日射量 |
|
| 日次の最高/最低/平均気温、最大突風、総降水量 |
|
| 時間ごとの気温、湿度、風、降水量 |
| — | 観測所名、ID、座標、標高、近隣地域 |
プロンプトの例
「今の天気はどう?」
「過去3日間の天気を教えて。」
「昨日の午後の時間ごとの内訳はどうだった?」
「私の気象観測所の標高は?」
開発
npm run dev # watch mode — recompiles on save
npm run build # one-off buildソースはsrc/index.tsにあります。変更後はリビルド(npm run build)してください。
npmへの公開
npm publish公開後は、クローンせずに実行できます:
{
"mcpServers": {
"wu-weather": {
"command": "npx",
"args": ["-y", "wu-weather-mcp"],
"env": {
"WU_API_KEY": "your_api_key_here",
"WU_STATION_ID": "your_station_id_here"
}
}
}
}注意: 公開前にnpmjs.comでパッケージ名
wu-weather-mcpが利用可能か確認してください。
ライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityCmaintenanceIntegrates the US National Weather Service API with Claude Desktop to provide real-time weather conditions, forecasts, and detailed weather metrics for any US location through natural language queries.21
- AlicenseNot gradedqualityCmaintenanceEnables Claude Desktop to query real-time weather information, forecasts, and history via the OpenWeatherMap API.1499MIT
- FlicenseNot gradedqualityDmaintenanceProvides 12 weather tools for conditions, forecasts, alerts, model imagery, radar, and 205 meteorological calculations, enabling weather data access and analysis through Claude Code.
- FlicenseAqualityCmaintenanceIntegrates the US National Weather Service API with Claude Desktop, enabling users to query current conditions and forecasts using natural language.2
Related MCP Connectors
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
Search NOAA climate stations and datasets, fetch historical weather observations.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rankintosh/wu-weather-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server