MCP Weather Server

by adhikasp

Integrations

  • Provides weather data including current conditions and hourly forecasts for locations

MCP 날씨 서버

AccuWeather API를 사용하여 시간별 날씨 예보를 제공하는 간단한 MCP 서버입니다.

설정

  1. uv 사용하여 종속성을 설치합니다:

지엑스피1

  1. AccuWeather API 키로 .env 파일을 만듭니다.
ACCUWEATHER_API_KEY=your_api_key_here

AccuWeather API 에 등록하면 API 키를 받을 수 있습니다.

서버 실행

{ "mcpServers": { "weather": { "command": "uvx", "args": ["--from", "git+https://github.com/adhikasp/mcp-weather.git", "mcp-weather"], "env": { "ACCUWEATHER_API_KEY": "your_api_key_here" } } } }

API 사용

시간별 날씨 예보 받기

응답:

{ "location": "Jakarta", "location_key": "208971", "country": "Indonesia", "current_conditions": { "temperature": { "value": 32.2, "unit": "C" }, "weather_text": "Partly sunny", "relative_humidity": 75, "precipitation": false, "observation_time": "2024-01-01T12:00:00+07:00" }, "hourly_forecast": [ { "relative_time": "+1 hour", "temperature": { "value": 32.2, "unit": "C" }, "weather_text": "Partly sunny", "precipitation_probability": 40, "precipitation_type": "Rain", "precipitation_intensity": "Light" } ] }

API는 다음을 제공합니다.

  • 온도, 날씨 설명, 습도, 강수량 상태를 포함한 현재 날씨 상황
  • 다음을 포함한 시간별 데이터가 포함된 12시간 예보:
    • 현재 시간으로부터의 상대 시간
    • 섭씨 온도
    • 날씨 설명
    • 강수 확률, 유형 및 강도

You must be authenticated.

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.

AccuWeather API를 사용하여 매시간 날씨 예보를 제공하므로 사용자는 현재 날씨 상황과 특정 위치에 맞춰진 자세한 12시간 예보에 액세스할 수 있습니다.

  1. Setup
    1. Running the Server
      1. API Usage
        1. Get Hourly Weather Forecast

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        Fetches precipitation forecasts for any location using Buienradar and integrates with Claude for Desktop to provide accurate two-hour weather predictions.
        Last updated -
        1
        Python
        • Apple
        • Linux
      • A
        security
        F
        license
        A
        quality
        Provides weather forecast data for locations in China using the HeFeng Weather API, with real-time, hourly, or daily forecasts and location-based queries.
        Last updated -
        1
        7
        2
        TypeScript
      • -
        security
        A
        license
        -
        quality
        Provides real-time weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
        Last updated -
        Python
        MIT License
      • 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

      View all related MCP servers

      ID: 38044qgkou