Weather MCP Server
날씨 MCP 서버
Open-Meteo API를 사용하여 날씨 정보를 제공하는 MCP(Model Context Protocol) 서버입니다.
특징
특정 도시의 현재 날씨 정보를 받아보세요.
Related MCP server: MCP Weather Server
설치
Pip 설치 및 사용, 이 패키지는 pip를 사용하여 설치할 수 있습니다.
지엑스피1
이 서버는 cline_mcp_settings.json 파일에 구성을 추가하여 수동으로 설치하도록 설계되었습니다.
cline_mcp_settings.json파일의mcpServers개체에 다음 항목을 추가합니다.
{
"mcpServers": {
"weather": {
"command": "python",
"args": [
"-m",
"mcp_weather_server"
],
"disabled": false,
"autoApprove": []
}
}
}cline_mcp_settings.json파일을 저장합니다.
구성
이 서버는 API 키가 필요하지 않습니다. 무료 오픈 소스인 Open-Meteo API를 사용합니다.
용법
이 서버는 get_weather , get_weather_by_datetime_range , get_current_datetime 등 여러 도구를 제공합니다.
get_weather
주어진 도시의 현재 날씨 정보를 검색합니다.
매개변수:
city(문자열, 필수): 도시의 이름입니다.
예:
타이베이의 날씨를 알아보려면 다음과 같이 도구를 사용하면 됩니다.
<use_mcp_tool>
<server_name>weather</server_name>
<tool_name>get_weather</tool_name>
<arguments>
{
"city": "Taipei"
}
</arguments>
</use_mcp_tool>get_weather_by_datetime_range
시작일과 종료일 사이의 지정된 도시의 날씨 정보를 검색합니다.
매개변수:
city(문자열, 필수): 도시의 이름입니다.start_date(문자열, 필수): YYYY-MM-DD 형식(ISO 8601)의 시작 날짜입니다.end_date(문자열, 필수): YYYY-MM-DD 형식(ISO 8601)의 종료 날짜입니다.
예:
2024년 1월 1일부터 2024년 1월 7일까지 런던의 날씨를 알아보려면 다음과 같이 도구를 사용하면 됩니다.
<use_mcp_tool>
<server_name>weather</server_name>
<tool_name>get_weather_by_datetime_range</tool_name>
<arguments>
{
"city": "London",
"start_date": "2024-01-01",
"end_date": "2024-01-07"
}
</arguments>
</use_mcp_tool>get_current_datetime
지정된 시간대의 현재 시간을 검색합니다.
매개변수:
timezone_name(문자열, 필수): IANA 시간대 이름(예: 'America/New_York', 'Europe/London'). 사용자가 시간대를 제공하지 않으면 UTC 시간대를 사용합니다.
예:
뉴욕의 현재 시간을 알아보려면 다음과 같이 도구를 사용하면 됩니다.
<use_mcp_tool>
<server_name>weather</server_name>
<tool_name>get_current_datetime</tool_name>
<arguments>
{
"timezone_name": "America/New_York"
}
</arguments>
</use_mcp_tool>개발자를 위한
Python을 실행하기 전에 작업 디렉토리를 변경하세요
python -m mcp_weather_server또는 어디에서 실행하든 Python이 패키지를 찾도록 하려면 PYTHONPATH를 설정할 수 있습니다.
set PYTHONPATH=C:\xxx\mcp_weather_server\src
python -m mcp_weather_serverAvailable Tools
8 toolsconvert_timeB
Convert time from one timezone to another.
Inputs: datetime_str (required), from_timezone (required), to_timezone (required).
get_air_qualityA
Get air quality information for a specified city including PM2.5, PM10, ozone, nitrogen dioxide, carbon monoxide, and other pollutants. Provides health advisories based on current air quality levels.
Inputs: city (required), variables.
get_air_quality_detailsB
Get detailed air quality information for a specified city as structured JSON data. This tool provides raw air quality data for programmatic analysis and processing.
Inputs: city (required), variables.
get_current_datetimeA
Get current time in specified timezone.
Inputs: timezone_name (required).
get_current_weatherA
Get current weather information for a specified city. It extracts the current hour's temperature and weather code, maps the weather code to a human-readable description, and returns a formatted summary.
Inputs: city (required).
get_timezone_infoA
Get information about a specific timezone including current time and UTC offset.
Inputs: timezone_name (required).
get_weather_byDateTimeRangeB
Get weather information for a specified city between start and end dates.
Inputs: city (required), start_date (required), end_date (required).
get_weather_detailsB
Get detailed weather information for a specified city as structured JSON data. This tool provides raw weather data for programmatic analysis and processing.
Inputs: city (required), include_forecast.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Some tools have overlapping purposes, such as get_current_weather vs get_weather_details and get_air_quality vs get_air_quality_details, which differ only in output format. Time-related tools (convert_time, get_current_datetime, get_timezone_info) also overlap in functionality, potentially confusing an agent.
Most tools follow a `get_<resource>` pattern in snake_case, but `get_weather_byDateTimeRange` mixes casing (DateTime) and deviates from the pure snake_case convention. This inconsistency partially undermines naming predictability.
With 8 tools covering weather, air quality, and time operations, the count is appropriate for the server's scope. It is neither too sparse nor overly large, though some tools could be consolidated.
The tool set covers current weather, weather over a date range, air quality (both summary and details), and time-related features. Missing forecast-specific tools are partially addressed by the date range tool, making it fairly complete for a weather/time server.
Maintenance
Related MCP Connectors
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
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Open-Meteo tabanlı anahtarsız hava durumu tahmin MCP sunucusu.
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides current weather information and 3-day forecasts for specified cities using the Open-Meteo API.1-
- 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-
- AlicenseBqualityFmaintenanceA simple Model Context Protocol server that provides real-time weather data to AI agents like GitHub Copilot, allowing users to get current weather information for any city through natural language queries.217 npm97MIT