날씨 정보 도달을 위한 MCP 증강 LLM
개요
이 시스템은 MCP(Model Context Protocol) 프레임워크를 사용하여 날씨 데이터 기능을 갖춘 대규모 언어 모델(LLM)을 향상시킵니다.
Related MCP server: OpenWeatherMap MCP Server
데모

구성 요소
MCP 클라이언트 : LLms 저장
MCP 서버 : 외부 도구/리소스를 연결하는 중간 에이전트
구성
DeepSeek 플랫폼
지엑스피1
오픈웨더 플랫폼
OPENWEATHER_API_BASE=https://api.openweathermap.org/data/2.5/weather
USER_AGENT=weather-app/1.0
API_KEY=<your_openweather_api_key>
설치 및 실행
프로젝트 초기화:
uv init weather_mcp
cd weather_mcp
여기서 weather_mcp는 프로젝트 파일 이름입니다.
종속성 설치:
uv add mcp httpx
발사 시스템:
cd ./utils
python client.py server.py
참고: 모든
<your_api_key_here>플레이스홀더를 실제 API 키로 바꾸세요.