SW

sjanax01/weather-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

24 stars 19 forks 품질 48 트렌드 0MIT

간단한 최소 날씨 mcp 서버 :)

개요

FastAPI 및 MCP 프레임 워크와 내장 된 기상 데이터 용 모델 Context Protocol (MCP) 서버. 이 서버는 현재 기상 조건, 예측, 대기 질 데이터 등을 검색하는 AI 조수에 의해 사용될 수있는 다양한 날씨 관련 도구를 제공합니다. - 기상 조건 - 날씨 예보 (1-14 일) - 날씨 정보 - 날씨 알림 - 공기의 품질 정보 - 천문학 자료 (일요일, 일몰, 달의 위상) - 위치 검색 - 시간대 정보 - 스포츠 이벤트 - Python 3.13+ - uv 패키지 관리자 - WeatherAPI API 키 Smithery를 통해 Claude Desktop용 Weather Data Server를 자동으로 설치하십시오. 3. 당신의 WeatherAPI 열쇠를 가진 프로젝트 뿌리에 있는 .env 파일을 창조하십시오: 서버는 기본적으로 http://localhost:8000에서 시작합니다. 이 프로젝트는 MIT 라이센스에 따라 라이센스가 부여됩니다 - 세부 사항에 대한 라이센스 파일을 참조하십시오.

개요(AI 번역)

FastAPI 및 MCP 프레임 워크와 내장 된 기상 데이터 용 모델 Context Protocol (MCP) 서버. 이 서버는 현재 기상 조건, 예측, 대기 질 데이터 등을 검색하는 AI 조수에 의해 사용될 수있는 다양한 날씨 관련 도구를 제공합니다.

특징

  • 현재 기상 조건
  • 일기 예보 (1-14 일)
  • 역사 기상 자료
  • 경고
  • 공기질 정보
  • 천문학 자료 (일출, 일몰, 달의 위상)
  • 위치 검색
  • Timezone 정보
  • 스포츠 행사

요구 사항

  • 파이썬 3.13+
  • uv 패키지 관리자
  • WeatherAPI API 키

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 Weather Data Server를 자동으로 설치하십시오.

수동 설치

  1. Clone 이 저장소:

  2. uv를 사용하여 의존성을 설치하십시오:

  3. 당신의 WeatherAPI 열쇠를 가진 프로젝트 뿌리에 있는 .env 파일을 창조하십시오:

사용법

서버 실행:

서버는 기본적으로 http://localhost:8000에서 시작합니다.

라이센스

이 프로젝트는 MIT 라이센스에 따라 라이센스가 부여됩니다 - 세부 사항에 대한 라이센스 파일을 참조하십시오.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

Weather MCP Server

A Model Context Protocol (MCP) server for weather data, built with FastAPI and the MCP framework. This server provides various weather-related tools that can be used by AI assistants to retrieve current weather conditions, forecasts, air quality data, and more.

Features

  • Current weather conditions
  • Weather forecasts (1-14 days)
  • Historical weather data
  • Weather alerts
  • Air quality information
  • Astronomy data (sunrise, sunset, moon phases)
  • Location search
  • Timezone information
  • Sports events

Requirements

Installation

Installing via Smithery

To install Weather Data Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude

Manual Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/Weather_mcp_server.git
    cd Weather_mcp_server
    
  2. Install dependencies using uv:

    uv venv
    uv pip install -e .
    
  3. Create a .env file in the project root with your WeatherAPI key:

    WEATHER_API_KEY=your_api_key_here
    

Usage

Run the server:

python main.py

The server will start on http://localhost:8000 by default.

License

This project is licensed under the MIT License - see the LICENSE file for details.

GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →