weather-mcp
날씨 API + UI + MCP 서버
이 프로젝트에는 다음이 포함되어 있습니다:
UI: 도시 이름을 입력하고 현재 날씨 확인
HTTP API:
GET /api/weather?city=...요약 API:
GET /api/summary?city=...(Claude 선택 사항; 로컬 요약으로 대체됨)MCP 서버: stdio를 통한
get_weather도구
날씨 데이터는 Open‑Meteo(무료, API 키 불필요)를 사용합니다.
UI + API 실행
npm install
npm run devhttp://localhost:5175를 엽니다.
선택 사항: “Claude API” 요약
Claude는 완전히 무료가 아니므로 API 키가 필요합니다. 이 프로젝트는 다음 중 하나를 지원합니다:
ANTHROPIC_API_KEY(직접 Anthropic API), 또는OPENROUTER_API_KEY(OpenRouter,OPENROUTER_MODEL을 통해 Anthropic Claude 모델 사용)
키가 설정되지 않은 경우, /api/summary 및 UI의 “요약(Summarize)” 버튼은 로컬 요약으로 대체됩니다.
MCP 서버 실행 (stdio)
npm install
npm run mcp그런 다음 MCP 클라이언트를 다음과 같이 구성하여 실행합니다:
command:
npmargs:
["run","mcp"]cwd: 이 폴더
도구 이름:
get_weather(입력값:{ "city": "Pune" })
"# MCP_example"
This server cannot be deployed
Maintenance
Related MCP Connectors
Current temperature for a city via Open-Meteo. Query discarded after the call.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Weather forecast for any city, UV index, sunrise and sunset, pollen and air quality. Free, no key.
Weather MCP — wraps Open-Meteo API (free, no auth)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city worldwide using the free Open-Meteo API, enabling users to query temperature, wind speed, humidity, and weather conditions through natural language.8 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides weather information using Open-Meteo API without requiring an API key. Supports weather queries by city name or coordinates with customizable temperature units.-
- AlicenseNot gradedqualityDmaintenanceProvides current weather information for any city using the Open-Meteo API. Returns temperature, humidity, wind speed, and other weather data in JSON format.12 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides current weather information for any city using the OpenWeatherMap API.-