9D

9nate-drake/mcp-yfinance

Security testing

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 5 forks 품질 46 트렌드 0

사이트맵 yfinance 금융 데이터를 Claude 데스크톱으로 확장하기위한 서버

개요

Yfinance (Yahoo Finance api)를 사용하여 Claude Desktop에 금융 데이터를 제공하는 모델 Context Protocol 서버. Claude에 의해 생성 된 대부분의 코드. - Python 3.10 이상 - Claude 데스크탑 1. Clone 이 repo: 2. 필요한 포장을 설치하십시오: Claude Desktop config 파일에 추가 claude desktop config.json (Windows에서는 보통 %APPDATA%/Claude/): Server.py 파일에 실제 전체 경로로 경로를 바꾸십시오. 1. Restart Claude 데스크탑 2. 의 yfinance 서버를 찾습니다. 예 쿼리 : - 현재 주식 가격을 얻으십시오 : "MSFT의 현재 주식 가격을 얻으십시오" - 과거 데이터를 얻으십시오 : "Apple Stock Performance의 마지막 3 개월" - 소유권 확인 : "Nvidia의 본질 소유권은 무엇입니까? - 분석 대상을 확인하십시오 : "TTSLA의 미디어 가격 목표는 무엇입니까? 서버를 수정하려면: 1. 직접 server.py 편집 2.

개요(AI 번역)

Yfinance (Yahoo Finance api)를 사용하여 Claude Desktop에 금융 데이터를 제공하는 모델 Context Protocol 서버. Claude에 의해 생성 된 대부분의 코드.

설치

요구 사항

  • Python 3.10 이상
  • Claude 데스크탑

설치

  1. 이 repo를 복제하십시오:

  2. 필수 패키지 설치:

구성

Claude Desktop config 파일에 추가 claude desktop config.json (Windows에서는 보통 %APPDATA%/Claude/):

Server.py 파일에 실제 전체 경로로 경로를 바꾸십시오.

사용법

  1. Restart Claude 데스크탑
  2. 의 yfinance 서버에 대 한 봐
  3. 예제 쿼리 :
  • 현재 주식 가격을 얻으십시오: “MSFT를 위한 현재 주식 가격을 얻으십시오”
  • 역사적인 데이터를 얻으십시오 : “Apple Stock Performance의 마지막 3 개월 분석”
  • 소유권 확인 : “Nvidia의 본질 소유권은 무엇입니까?”
  • 분석 대상 확인 : “TTSLA의 미디어 가격 대상은 무엇입니까?”

개발

서버 수정:

  1. 직접 server.py 편집
  2. 나머지 Claude 데스크탑은 변경 사항을 적용

토도

* yfinance 기능의 완전한 범위를 추가

  • mcp 서버에 대한 anthropic 권장 연습 준수 확인

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

yfinance MCP Server

A Model Context Protocol server that provides financial data to Claude Desktop using yfinance (Yahoo Finance api). Most code created by Claude.

Installation

Requirements

  • Python 3.10 or higher
  • Claude Desktop

Install

  1. Clone this repo:
git clone https://github.com/9nate-drake/mcp-yfinance
  1. Install required packages:
pip install mcp yfinance

Configuration

Add to your Claude Desktop config file claude_desktop_config.json (on Windows this is usually at %APPDATA%/Claude/):

{
  "mcpServers": {
    "yfinance": {
      "command": "python",
      "args": [
        "/path/to/finance_server/server.py"
      ]
    }
  }
}

Replace the path with the actual full path to your server.py file.

Usage

  1. Restart Claude Desktop
  2. Look for the yfinance server in the 🔌 menu
  3. Example queries:
    • Get current stock price: “Get me the current stock price for MSFT”
    • Get historical data: “Analyse the last 3 months of Apple stock performance”
    • Check ownership: “What’s the intsitutional ownership of Nvidia?”
    • Check analyst targets: “What’s the median price target for TSLA?”

Development

To modify the server:

  1. Edit server.py directly
  2. Restart Claude Desktop to apply changes

TODO

* Add complete range of yfinance functions

  • Check compliance with anthropic recommended practice for mcp servers
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "yfinance": { "command": "python", "args": [ "/path/to/finance_server/server.py" ] } } }