Skip to main content
Glama
Krishna-Dhawangale

Weather MCP Server

🌦️ MCP Weather Assistant

Groq에서 호스팅하는 LLM을 커스텀 Weather MCP Server에 연결하는 Model Context Protocol(MCP) 프로젝트로, 날씨에 대해 자연어로 질문하면 National Weather Service(NWS) API에서 가져온 실시간 도구 기반 답변을 받을 수 있습니다.

작동 방식

User
  ↓
"Are there any weather alerts for CA?"
  ↓
Groq LLM
  ↓
Decides to call get_alerts_tool
  ↓
MCP Client
  ↓
MCP Weather Server
  ↓
National Weather Service API
  ↓
Real-time weather alerts
  ↓
Groq LLM
  ↓
Natural-language answer
  1. 사용자가 평범한 영어로 질문합니다.

  2. Groq LLM이 질문을 해석하고 호출할 도구를 결정합니다(예: get_alerts_tool, get_forecast_tool).

  3. MCP Client가 해당 도구 호출을 Model Context Protocol을 통해 MCP Weather Server로 전송합니다.

  4. 서버가 National Weather Service API에 실시간 데이터를 요청합니다.

  5. 결과가 클라이언트를 거쳐 LLM으로 다시 전달됩니다.

  6. LLM이 원시 데이터를 사용자에게 명확한 자연어 응답으로 변환합니다.

Related MCP server: mcp-weather

기능

  • 🌦️ 미국 주별 실시간 기상 특보

  • 📍 위치(위도/경도) 기반 날씨 예보

  • 🔌 Model Context Protocol(MCP) 기반 — 도구가 표준화된 방식으로 노출되어 MCP 호환 클라이언트라면 누구나 사용할 수 있습니다

  • ⚡ 빠른 LLM 추론을 위한 Groq 기반

  • 🧩 LLM 클라이언트와 날씨 도구 서버 간의 깔끔한 분리

프로젝트 구조

.
├── client/            # MCP client — connects to Groq LLM and the MCP server
├── server/             # MCP weather server — exposes get_alerts_tool, get_forecast_tool, etc.
├── requirements.txt     # or package.json, depending on stack
└── README.md

(실제 폴더 구조에 맞게 이 트리를 조정하세요.)

사전 요구 사항

  • Python 3.10+ (또는 구현에 따라 Node.js)

  • Groq API 키

  • 인터넷 연결(서버는 공개 NWS API를 호출합니다 — NWS에는 API 키가 필요 없습니다)

설치

git clone https://github.com/Krishna-Dhawangale/MCP.git
cd MCP
pip install -r requirements.txt

구성

프로젝트 루트에 .env 파일을 생성합니다:

GROQ_API_KEY=your_groq_api_key_here

사용 방법

  1. MCP 날씨 서버를 시작합니다:

    python server/weather_server.py
  2. 클라이언트를 실행합니다:

    python client/main.py
  3. 질문을 입력합니다:

    > Are there any weather alerts for CA?

    클라이언트가 쿼리를 LLM으로 라우팅하고, LLM이 MCP 서버에서 적절한 도구를 호출하여 자연어 답변을 반환합니다.

사용 가능한 도구

도구

설명

get_alerts_tool

지정된 미국 주의 활성 기상 특보를 가져옵니다

get_forecast_tool

지정된 위도/경도의 날씨 예보를 가져옵니다

로드맵

  • 더 많은 지역(해외) 지원 추가

  • 반복 쿼리용 캐싱 추가

  • 도구 핸들러용 단위 테스트 추가

  • Groq 외 추가 MCP 클라이언트 지원

기여

기여는 언제나 환영합니다! 이슈를 열거나 풀 리퀘스트를 제출해 주세요.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides weather forecast data from the US National Weather Service API through MCP tools. Enables users to get detailed weather forecasts by ZIP code or coordinates using natural language queries.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time weather alerts and forecasts from the National Weather Service for US locations, integrating with AI assistants via the Model Control Protocol.
  • F
    license
    B
    quality
    D
    maintenance
    Provides weather forecasts and alerts for US locations using the National Weather Service API. Enables users to retrieve active alerts by state and detailed forecasts by coordinates via MCP tools.
    2

View all related MCP servers

Related MCP Connectors

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

  • Get US weather forecasts, active alerts, and current observations.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

View all MCP Connectors

Latest Blog Posts

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/Krishna-Dhawangale/MCP'

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