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"
}
}
}
}사용 가능한 도구
도구 | 매개변수 | 설명 |
| — | 현재 온도, 습도, 바람, 기압, 자외선, 강수율, 이슬점, 태양 복사 |
|
| 일일 최고/최저/평균 온도, 최대 돌풍, 총 강수량 |
|
| 시간별 온도, 습도, 바람 및 강수량 |
| — | 관측소 이름, 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
Available Tools
4 toolsget_current_conditionsA
Get current weather conditions from the KCALAKEF92 personal weather station (KCALAKEF92) in Lake Forest, CA. Returns temperature, humidity, wind, pressure, precipitation rate, UV index, dew point, and solar radiation.
Inputs: no named parameters.
get_daily_summaryA
Get daily high/low/avg temperature, total precipitation, and max wind gust for up to the last 7 days from KCALAKEF92 (KCALAKEF92).
Inputs: days.
get_hourly_historyA
Get hour-by-hour weather history for up to the last 24 hours from KCALAKEF92 (KCALAKEF92). Includes temperature, humidity, wind, and precipitation.
Inputs: hours.
get_station_infoA
Get metadata for the KCALAKEF92 weather station: name, ID, neighborhood, country, GPS coordinates, and elevation.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct aspect of weather data: current conditions, daily summary, hourly history, and station metadata. No overlap in purpose.
All tool names follow a consistent 'get_' prefix followed by a clear noun phrase, maintaining snake_case throughout.
4 tools is appropriate for a personal weather station MCP server, covering the core data retrieval needs without unnecessary bloat.
The set covers current conditions, daily summaries, hourly history, and station info. Missing features like alerts or forecast are reasonable gaps for a station-focused server.
Related MCP Connectors
Current weather and forecast lookup as an agent tool.
Read-only airport delay, weather, and 24h forecast tools for AI assistants. Airport-level only.
Ask AI about your weather stations and every community station: Davis, Ecowitt, Tempest and more.
Current weather and forecasts for any coordinates, backed b… — paid per call (x402/credits), 1 tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that wraps the Ambient Weather REST API. Query your personal weather stations conversationally from Claude Code, Claude.ai, or any MCP-compatible client.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to query real-time weather information, forecasts, and history via the OpenWeatherMap API.99MIT
- 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.3-
- FlicenseAqualityDmaintenanceIntegrates the US National Weather Service API with Claude Desktop, enabling users to query current conditions and forecasts using natural language.2-