Skip to main content
Glama
Weather MCP Server

Weather MCP Server

by Yaseen-md

Weather MCP Server

CI License: MIT

도시 이름을 기반으로 Open-Meteo API를 사용하여 실시간 날씨 예보를 제공하는 표준 Model Context Protocol (MCP) 서버입니다.

기능

  • 지오코딩: 도시 이름을 지리적 좌표(위도 및 경도)로 자동 변환합니다.

  • 실시간 날씨: 현재 기온, 풍속, 날씨 코드를 검색합니다.

  • MCP 통합: Claude Desktop과 같은 MCP 클라이언트와 완벽하게 호환됩니다.

  • API 키 불필요: 무료 오픈소스 Open-Meteo API를 사용합니다—회원가입이 필요 없습니다!

Related MCP server: weather_mcp_server

사전 요구 사항

  • Node.js >= 18.x

  • npm 또는 yarn

설치

  1. 저장소를 클론합니다:

git clone https://github.com/Yaseen-md/weather-mcp-server.git
cd weather-mcp-server
  1. 의존성을 설치합니다:

npm install
  1. 서버를 빌드합니다:

npm run build

개발

빌드하지 않고 서버를 직접 실행합니다:

npm run dev

Claude Desktop과 통합

이 날씨 서버를 Claude Desktop에서 사용하려면 claude_desktop_config.json 파일을 구성해야 합니다.

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

다음 구성을 추가합니다:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "C:/path/to/your/weather-mcp-server/build/index.js"
      ]
    }
  }
}

(경로를 빌드된 index.js 파일의 실제 절대 경로로 바꿔야 합니다.)

사용 가능한 도구

get_weather

지정된 도시의 현재 날씨를 가져옵니다.

입력 매개변수:

  • city (string): 도시 이름 (예: "Delhi", "Tokyo", "London", "San Francisco")

반환값: 섭씨 온도, 풍속 및 날씨 코드.

라이선스

이 프로젝트는 MIT License에 따라 라이선스가 부여됩니다.

Available Tools

1 tool
get_weatherA

Get current weather for a given city

Inputs: city (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion between tools. The tool's purpose is clear and distinct by default.

    Naming Consistency5/5

    The tool name follows a consistent verb_noun pattern (get_weather). With a single tool, there are no naming inconsistencies to evaluate.

    Tool Count3/5

    One tool feels thin for a weather server, which typically offers multiple data types like forecasts and alerts. However, it is borderline given the narrow 'current weather' scope.

    Completeness2/5

    The server only covers current conditions, missing obvious weather domain features such as forecasts, historical data, or alerts. This significantly limits its usefulness for common weather queries.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers