Skip to main content
Glama

Weather MCP Server

by panzhenyao

날씨 MCP 서버

OpenWeatherMap의 API를 사용하여 날씨 데이터를 가져오는 MCP 서버입니다. MCP.so에 호스팅할 수 있습니다.

특징

  • 모든 위치의 현재 날씨 데이터
  • 날씨 예보 (최대 5일)
  • 미터법 및 영국식 단위 지원
  • stdio 및 REST 전송 모드와 모두 호환 가능
  • 간편한 배포를 위한 Docker 컨테이너화
  • MCP.so 호스팅 요구 사항과 호환

필수 조건

  • Node.js v18+
  • OpenWeatherMap API 키( OpenWeatherMap 에서 무료로 받으세요)

시작하기

지역 개발

  1. 이 저장소를 복제하세요지엑스피1
  2. 종속성 설치
    npm install
  3. TypeScript 코드 작성
    npm run build
  4. 로컬 테스트용 stdio 모드에서 서버 실행
    WEATHER_API_KEY=your_api_key_here npm start

REST 모드에서 실행

WEATHER_API_KEY=your_api_key_here mode=rest port=9593 endpoint=/rest npm start

도커

  1. Docker 이미지 빌드
    docker build -t mcp/weather-mcp-server .
  2. 컨테이너를 실행하세요
    docker run -i --rm -e WEATHER_API_KEY=your_api_key_here mcp/weather-mcp-server

용법

사용 가능한 도구

current_weather

특정 위치의 현재 날씨 데이터를 가져옵니다.

매개변수:

  • location (필수): 도시 이름 또는 도시 이름 + 국가 코드(예: "런던", "파리, 프랑스")
  • units (선택 사항): 측정 단위. 옵션: "미터법"(섭씨) 또는 "영국식"(화씨). 기본값: "미터법"

요청 예시:

{ "params": { "name": "current_weather", "arguments": { "location": "Tokyo,JP", "units": "metric" } } }
weather_forecast

특정 위치의 날씨를 예보합니다.

매개변수:

  • location (필수): 도시 이름 또는 도시 이름 + 국가 코드(예: "런던", "파리, 프랑스")
  • units (선택 사항): 측정 단위. 옵션: "미터법"(섭씨) 또는 "영국식"(화씨). 기본값: "미터법"
  • days (선택 사항): 예측 일수입니다. 최대값은 5입니다. 기본값: 5

요청 예시:

{ "params": { "name": "weather_forecast", "arguments": { "location": "New York,US", "units": "imperial", "days": 3 } } }

MCP.so에서 호스팅

MCP.so에서 이 서버를 호스팅하려면:

  1. 귀하의 저장소가 MIT, Apache 또는 유사한 라이선스를 사용하여 GitHub에 공개되어 있는지 확인하세요.
  2. 검토를 위해 MCP.so에 MCP 서버를 제출하세요.
  3. 승인되면 MCP Playground에서 서버를 사용할 수 있습니다.

특허

MIT

연락하다

질문이나 지원이 필요하면 GitHub에서 이슈를 열어주세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

OpenWeatherMap의 API에 연결하여 전 세계 각 지역의 현재 날씨 데이터와 며칠간의 예보를 다양한 측정 단위로 제공하는 MCP 서버입니다.

  1. 특징
    1. 필수 조건
      1. 시작하기
        1. 지역 개발
        2. REST 모드에서 실행
        3. 도커
      2. 용법
        1. 사용 가능한 도구
      3. MCP.so에서 호스팅
        1. 특허
          1. 연락하다

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              This SSE-based MCP server allows users to connect and interact with National Weather Service APIs to retrieve weather alerts and forecasts.
              Last updated -
              90
              Python
            • -
              security
              F
              license
              -
              quality
              This is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API. Features Get weather alerts for a US state Get weather forecast for a specific location (using latitude and longitude)
              Last updated -
              Python
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              An MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
              Last updated -
              1
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server implementation that allows users to fetch and display weather information for specified cities, including temperature, humidity, wind speed, and weather descriptions.
              Last updated -
              Python
              • Linux
              • Apple

            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/panzhenyao/mcp-server'

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