Skip to main content
Glama

Weather MCP Server

Apache 2.0
16
  • Linux
  • Apple

날씨 MCP 서버

Open-Meteo API를 사용하여 날씨 정보를 제공하는 MCP(Model Context Protocol) 서버입니다.

특징

  • 특정 도시의 현재 날씨 정보를 받아보세요.

설치

Pip 설치 및 사용, 이 패키지는 pip를 사용하여 설치할 수 있습니다.

지엑스피1

이 서버는 cline_mcp_settings.json 파일에 구성을 추가하여 수동으로 설치하도록 설계되었습니다.

  1. cline_mcp_settings.json 파일의 mcpServers 개체에 다음 항목을 추가합니다.
{ "mcpServers": { "weather": { "command": "python", "args": [ "-m", "mcp_weather_server" ], "disabled": false, "autoApprove": [] } } }
  1. 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_server
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

API 키가 필요 없이 Open-Meteo API를 사용하여 지정된 도시의 현재 날씨 정보를 검색하는 모델 컨텍스트 프로토콜 서버입니다.

  1. 특징
    1. 설치
      1. 구성
        1. 용법
          1. get_weather
          2. get_weather_by_datetime_range
          3. get_current_datetime
        2. 개발자를 위한

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that provides current weather information and 3-day forecasts for specified cities using the Open-Meteo API.
            Last updated -
            Python
          • -
            security
            F
            license
            -
            quality
            A production-ready Model Context Protocol server that provides weather data from OpenWeatherMap API, allowing users to query current weather by city name or coordinates with support for different temperature units.
            Last updated -
            Python
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides comprehensive weather data and forecasts through the OpenWeatherMap API, enabling AI assistants to access real-time weather information, forecasts, air quality data, and location services.
            Last updated -
            11
            10
            JavaScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that interfaces with OpenWeatherMap API to provide real-time weather information and forecasts for cities worldwide.
            Last updated -
            Python

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/isdaniel/mcp_weather_server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server