Weather & Stock MCP Server

Integrations

  • Utilized for version control and code management of the MCP server.

  • Serves as the runtime environment for the MCP server, allowing it to handle financial and weather data requests.

  • Used for managing the server's dependencies and running the application.

날씨 및 주식 MCP 서버 🌦️📉

이 프로젝트는 다양한 API를 사용하여 날씨 경보, 예보, 주가, 과거 데이터 및 뉴스를 제공하는 MCP(Model Context Protocol) 서버 입니다.

특징 🚀

  • 🐼 Yahoo Finance를 사용하여 실시간 주가를 가져오세요
  • 📊 과거 주식 데이터 검색(일별, 주별, 월별)
  • 📰 NewsAPI에서 주식 관련 뉴스를 받아보세요
  • 🌦️ National Weather Service API를 사용하여 날씨 알림 및 예보를 가져옵니다.

설치 및 설정 ⚙️

필수 조건

  • Node.js (v18 이상)
  • NewsAPI 용 API 키

단계

  1. 저장소를 복제합니다.지엑스피1
  2. 종속성 설치:
    npm install
  3. 환경 변수 설정:
    .env 파일을 만들고 다음을 추가합니다.
    NEWS_API_KEY=your_newsapi_key
  4. 서버를 시작합니다:
    npm start

사용법 🛠️

MCP 서버는 다음과 같은 도구를 제공합니다.

주가 알아보기

{ "tool": "get-stock-price", "params": { "symbol": "AAPL" } }

과거 주식 데이터 가져오기

{ "tool": "get-historical-data", "params": { "symbol": "AAPL", "startDate": "2024-01-01", "endDate": "2024-03-01", "interval": "1d" } }

뉴스 받기

{ "tool": "get-news", "params": { "stockName": "Tesla", "startDate": "2024-03-01", "endDate": "2024-03-10" } }

기여하기 🤝

이 저장소를 포크하고, 변경하고, 풀 리퀘스트를 제출하세요! 🚀

라이센스 🐟

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.

-
security - not tested
F
license - not found
-
quality - not tested

MCP 인터페이스를 통해 실시간 날씨 알림, 예보, 주가, 과거 데이터 및 주식 관련 뉴스를 제공합니다.

  1. Features 🚀
    1. Installation & Setup ⚙️
      1. Prerequisites
      2. Steps
    2. Usage 🛠️
      1. Get Stock Price
      2. Get Historical Stock Data
      3. Get News
    3. Contributing 🤝
      1. License 🐟
        ID: y4gap285bd