Weather MCP
Weather MCP
Model Context Protocol (MCP)을 이용한 일기 예보 애플리케이션
개요
이 응용 프로그램은 Open-Meteo API를 사용하여 일기 예보 데이터를 가져오고 표시하는 MCP 서버입니다. MCP 프로토콜을 통해 LLM 애플리케이션에서 날씨 정보에 액세스할 수 있습니다.
Related MCP server: Weather MCP Server
기능
현재 날씨 정보 표시
3일간 일기예보 보기
위치 정보를 기반으로 날씨 정보 획득
MCP 프로토콜을 통한 액세스
설정
종속성 설치:
pip install -e .환경 변수 설정:
.env파일을 작성하고 필요한 환경 변수를 설정하십시오.
MCP_API_KEY=your_api_key_here
MCP_BASE_URL=http://localhost:8000MCP 서버 시작:
python -m app.server클라이언트 실행:
python -m app.clientMCP 도구
get_weather
지정된 도시의 현재 날씨 정보와 3일간의 예보를 받습니다.
매개변수:
city: 날씨 정보를 취득하는 도시명(예: 도쿄, New York)
응답 예:
{
"location": {
"name": "東京",
"country": "日本",
"latitude": 35.6895,
"longitude": 139.6917,
"timezone": "Asia/Tokyo"
},
"current": {
"temperature": 22.5,
"feels_like": 23.1,
"humidity": 65,
"wind_speed": 3.2,
"wind_direction": 180,
"precipitation": 0,
"condition": "晴れ",
"weather_code": 1
},
"forecast": [
{
"date": "2023-04-10",
"max_temp": 24.5,
"min_temp": 15.2,
"precipitation": 0,
"condition": "晴れ",
"sunrise": "05:30",
"sunset": "18:15"
},
...
]
}라이센스
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Open-Meteo tabanlı anahtarsız hava durumu tahmin MCP sunucusu.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.8362 PyPI60Apache 2.0
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides weather information and forecasts based on user location or address input.65 npm8MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides real-time weather data and forecasts for any city.19 npmISC
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables natural language weather queries for global cities, integrating with OpenWeather API to provide real-time weather information in an easy-to-read format.1-