Skip to main content
Glama
Weather MCP Server

Weather MCP Server

by jkf87

Weather MCP Server

한국 주요 도시의 날씨를 조회하는 MCP(Model Context Protocol) 서버입니다.

Open-Meteo API를 사용하여 무료로 날씨 정보를 제공합니다. API 키가 필요 없습니다.

지원 도시

서울, 부산, 인천, 대구, 대전, 광주, 울산, 제주

Related MCP server: KMA Weather MCP Server

설치 방법

pip install git+https://github.com/jkf87/weather-mcp.git

MCP 클라이언트 설정

설정 파일 빠르게 열기

클라이언트

macOS

Windows

Gemini CLI

~/.gemini/settings.json

%USERPROFILE%\.gemini\settings.json

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json

%APPDATA%\Claude\claude_desktop_config.json

Antigravity

~/.antigravity/mcp.json

%USERPROFILE%\.antigravity\mcp.json

macOS에서 빠르게 열기

# Gemini CLI
open ~/.gemini/settings.json

# Claude Desktop
open ~/Library/Application\ Support/Claude/claude_desktop_config.json

# Antigravity
open ~/.antigravity/mcp.json

# 또는 VS Code로 열기
code ~/.gemini/settings.json

Finder에서 열기: Cmd + Shift + G → 경로 붙여넣기

Windows에서 빠르게 열기

방법 1: Win + R 누르고 아래 경로를 그대로 복사해서 붙여넣기

# Gemini CLI
%USERPROFILE%\.gemini

# Claude Desktop
%APPDATA%\Claude

# Antigravity
%USERPROFILE%\.antigravity

%USERPROFILE%, %APPDATA%는 그대로 복사해서 붙여넣으세요. Windows가 자동으로 C:\Users\사용자이름\... 경로로 변환합니다.

방법 2: PowerShell/CMD에서 메모장으로 열기

notepad %USERPROFILE%\.gemini\settings.json

Claude Code

claude mcp add weather-server -- weather-mcp

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json (Windows)에 추가:

{
  "mcpServers": {
    "weather-server": {
      "command": "weather-mcp"
    }
  }
}

Gemini CLI

~/.gemini/settings.json에 추가:

{
  "mcpServers": {
    "weather-server": {
      "command": "weather-mcp"
    }
  }
}

Antigravity

~/.antigravity/mcp.json에 추가:

{
  "mcpServers": {
    "weather-server": {
      "command": "weather-mcp"
    }
  }
}

기타 MCP 클라이언트

대부분의 MCP 클라이언트에서 다음과 같이 설정할 수 있습니다:

{
  "mcpServers": {
    "weather-server": {
      "command": "weather-mcp"
    }
  }
}

제공 도구 (Tools)

get_weather

특정 도시의 현재 날씨 정보를 조회합니다.

매개변수:

  • city (string): 도시 이름 (기본값: "서울")

예시 응답:

서울 날씨 정보
━━━━━━━━━━━━━━━━━━━━
온도: 15.2°C
습도: 65%
풍속: 12.5 km/h
날씨: 맑음
━━━━━━━━━━━━━━━━━━━━
조회 시간: 2024-11-30 14:30:00

list_cities

사용 가능한 도시 목록을 반환합니다.

사용 예시

AI 어시스턴트에게 다음과 같이 요청할 수 있습니다:

  • "서울 날씨 알려줘"

  • "부산이랑 제주 날씨 비교해줘"

  • "오늘 대전 날씨 어때?"

삭제 방법

패키지 삭제

pip uninstall weather-mcp

MCP 설정 제거

각 클라이언트의 설정 파일에서 weather-server 항목을 삭제하세요:

  • Claude Code: claude mcp remove weather-server

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Gemini CLI: ~/.gemini/settings.json

  • Antigravity: ~/.antigravity/mcp.json

직접 실행 (개발/테스트용)

# 서버 실행
weather-mcp

# 또는 Python 모듈로 실행
python -m weather_mcp.server

라이선스

MIT License

Available Tools

2 tools
get_weatherB

특정 도시의 현재 날씨 정보를 가져옵니다.

Args: city: 도시 이름 (서울, 부산, 인천, 대구, 대전, 광주, 울산, 제주 중 선택)

Returns: 날씨 정보 문자열

Inputs: city. Returns: result

list_citiesB

사용 가능한 도시 목록을 반환합니다.

Returns: 사용 가능한 도시 목록

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: get_weather retrieves weather data for a specific city, while list_cities provides the list of available cities. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern (get_weather, list_cities) with clear, descriptive names that align with their functions. There are no deviations in naming style.

    Tool Count2/5

    With only 2 tools, the server feels thin for a weather domain. It lacks essential operations like forecast retrieval, historical data, or location-based searches, which limits its utility for comprehensive weather-related tasks.

    Completeness2/5

    The tool set is severely incomplete for a weather server. It only supports current weather for a limited set of cities, missing forecasts, historical data, multi-city queries, and other common weather API features, leading to significant gaps in functionality.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides current weather information for any city worldwide using the free Open-Meteo API, enabling users to query temperature, wind speed, humidity, and weather conditions through natural language.
      13 npm
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Connects to the Korea Meteorological Administration (KMA) Open API to provide short-term and ultra-short-term weather forecasts for South Korea. It enables users to query current weather conditions and future forecasts based on latitude and longitude.
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time weather information for South Korea, including temperature, sky condition, precipitation type, humidity, and precipitation amount, based on latitude and longitude coordinates using public data from the Korea Meteorological Administration.
      1
      MIT