Weather MCP Server
날씨 MCP 서버
get_weather 도구를 노출하여 MCP 호환 AI 클라이언트가 도시 이름으로 현재 기온을 가져올 수 있게 해주는 Model Context Protocol (MCP) 서버 예제입니다.
작동 방식
Open-Meteo 지오코딩 API를 통해 도시 이름을 좌표로 변환합니다.
Open-Meteo 예보 API에서 현재 기온을 가져옵니다.
API 키가 필요하지 않습니다. 두 API 모두 무료이며 공개되어 있습니다.
Related MCP server: MCP Weather Server
도구
도구 | 설명 | 입력 |
| 도시의 현재 기온 가져오기 |
|
응답 예시: San Francisco: 14.2°C
설정
npm install서버 실행
node weather-server.js서버는 MCP 프로토콜을 사용하여 stdio를 통해 통신합니다.
Claude Code에 연결
이 저장소에는 Claude Code가 자동으로 인식하는 .mcp.json 파일이 포함되어 있습니다. 이 디렉토리를 Claude Code에서 열면 weather-server MCP 서버가 등록되고 get_weather 도구를 사용할 수 있게 됩니다.
수동으로 연결하려면 MCP 클라이언트 설정에 다음을 추가하세요:
{
"mcpServers": {
"weather-server": {
"command": "node",
"args": ["./weather-server.js"]
}
}
}요구 사항
Node.js 18 이상 (기본
fetch필요)외부 API 키 불필요
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.
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Weather MCP — wraps Open-Meteo API (free, no auth)
Related MCP Servers
- 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.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents like GitHub Copilot to retrieve real-time weather data for any city using the Open-Meteo API, no API key required.9-
- FlicenseNot gradedqualityDmaintenanceEnables querying current weather, 7-day forecast, UV index, and air quality for any city using the free Open-Meteo API, without requiring an API key.16 npm-
- AlicenseAqualityCmaintenanceEnables real-time weather forecasts for any city using the Open-Meteo API, with automatic geocoding and no API keys required.19 npmMIT