날씨 MCP 서버
이 프로젝트는 날씨 정보를 제공하는 MCP(Model Context Protocol) 서버입니다.
특징
- 특정 위도와 경도에 대한 현재 날씨를 예보해 보세요.
- 미국 주의 활성 날씨 알림을 받으세요.
설정
- 종속성 설치:지엑스피1
- 서버를 빌드하세요:
서버 실행
이 서버는 Claude for Desktop과 같은 MCP 클라이언트에서 실행되도록 설계되었습니다.
Claude for Desktop(또는 유사한 MCP 클라이언트)이 이 서버를 사용하도록 구성하려면 해당 서버를 빌드된 서버로 연결해야 합니다. 일반적인 구성에는 다음 사항이 포함됩니다.
- 명령어 :
node
- 인수 :
["/ABSOLUTE/PATH/TO/YOUR/PROJECT/mcptest/build/index.js"]
/ABSOLUTE/PATH/TO/YOUR/PROJECT/
시스템의 mcptest
디렉토리에 대한 실제 절대 경로로 바꾸세요.
예를 들어, 프로젝트가 /Users/bohe/Desktop/mcptest
에 있는 경우 인수는 ["/Users/bohe/Desktop/mcptest/build/index.js"]
가 됩니다.
MCP 서버를 추가하고 구성하는 방법에 대한 구체적인 지침은 MCP 클라이언트 설명서를 참조하세요.
개발
- 소스 코드는
src
디렉토리에 있습니다. - 주요 서버 로직은
src/index.ts
에 있습니다. - 빌드 출력은
build
디렉토리에 있습니다.
MCP 구성
.vscode/mcp.json
파일은 VS Code에서 이 MCP 서버를 인식하고 잠재적으로 디버깅할 수 있도록 제공됩니다.
특정 지역의 현재 날씨 예보와 미국 주에 대한 활성 날씨 경보를 제공하는 모델 컨텍스트 프로토콜 서버입니다.
Related MCP Servers
- -securityFlicense-qualityThis is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API. Features Get weather alerts for a US state Get weather forecast for a specific location (using latitude and longitude)Last updated -Python
Juhe Weather MCP Serverofficial
-security-license-qualityProvides a Model Context Protocol server that enables large language models to query and retrieve real-time weather forecasts for cities and regions across China.Last updated -Python- AsecurityFlicenseAqualityA Model Context Protocol server that provides AI agents with tools to retrieve weather alerts and detailed forecasts for US locations using the National Weather Service API.Last updated -280TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that provides comprehensive weather data querying capabilities based on the Caiyun Weather API, supporting real-time weather, forecasts, and alerts with multi-language support.Last updated -72TypeScript