
maxscheijen/mcp-yahoo-finance
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Yahoo Finance의 모델 Context Protocol (MCP) 서버.
개요
Yahoo Finance의 모델 Context Protocol (MCP) 서버. 그것은 가격, 회사 정보, 역사적인 자료, 금융 진술, 뉴스, 권고, 수입, 배당, 옵션에 대한 도구를 제공합니다. mcp-yahoo-finance는 초기 개발 중입니다. 도구 이름 및 응답 필드는 릴리스 사이에 변경할 수 있습니다. uvx를 사용하여 별도의 설치 없이 mcp-yahoo-finance를 실행할 수 있습니다. 당신은 또한 당신의 기계에 저장소를 복제한 후에 포장을 설치할 수 있습니다. claude desktop config.json에 이것을 추가하십시오: 1. "Apple의 재고 가격은 무엇입니까?" 2. "이전 닫기, 일일 범위 및 시장 상태와 AAPL에 대한 풍부한 견적." 3. "Nvidia에 대한 회사 개요를 참조하십시오." 4. "애플과 구글 사이의 재고 가격 차이는 무엇입니까?" 5. "2024-01-01 및 2025-01-01-01 사이에 Apple의 재고 가격이 얼마였습니까?" 6. "AAPL의 사용 가능한 옵션 만료 날짜는 무엇입니까? 7. "2024-01-19에 AAPL expiring에 대한 옵션 체인보기" 8.
개요(AI 번역)
MCP Yahoo Finance는 모델 Context Protocol (MCP) 서버입니다. 그것은 Yahoo Finance에서 데이터를 가져옵니다. 주식 가격, 회사 데이터, 과거 가격, 금융 보고서, 뉴스, 분석 평가, 수입 날짜, 배당 및 옵션 데이터를 얻을 수 있습니다.
이 프로젝트는 초기 개발 중입니다. 도구 이름 및 응답 필드는 릴리스 사이에 변경할 수 있습니다.
설치
별도의 설치 없이 mcp-yahoo-finance를 실행할 수 있습니다. 사용 uvx.
사용 pip
사용 Git
저장소를 복제합니다. 그런 다음 개발 환경을 설치하십시오.
구성
Claude 데스크탑
이 항목에 추가 claude_desktop_config.json 파일:
도커도 사용할 수 있습니다. Docker 이미지 이름과 [T3]를 대체하십시오:
VS 코드
이 항목에 추가 .vscode/mcp.json 파일:
예문
다음과 같은 질문을 할 수 있습니다 :
- “Apple의 재고 가격은 무엇입니까?”
- “이전에 가까운 AAPL에 대한 풍부한 따옴표, 일일 범위 및 시장 상태.”
- “Nvidia에 대한 회사 개요를 참조하십시오.”
- “애플과 구글 사이의 재고 가격 차이는 무엇입니까?”
- “2024-01-01 및 2025-01-01-01 사이에 Apple 변경의 재고 가격이 얼마였습니까?”
- "AAPL의 사용 가능한 옵션 만료일은 무엇입니까
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Yahoo Finance
MCP Yahoo Finance is a Model Context Protocol (MCP) server. It gets data from Yahoo Finance. You can use it to get stock prices, company data, past prices, financial reports, news, analyst ratings, earnings dates, dividends, and options data.
This project is in early development. Tool names and response fields can change between releases.
Install
You can run mcp-yahoo-finance without a separate install. Use uvx.
Use pip
pip install mcp-yahoo-finance
Use Git
Clone the repository. Then install the development environment:
git clone [email protected]:maxscheijen/mcp-yahoo-finance.git
cd mcp-yahoo-finance
uv sync
Configure
Claude Desktop
Add this entry to your claude_desktop_config.json file:
{
"mcpServers": {
"yahoo-finance": {
"command": "uvx",
"args": ["mcp-yahoo-finance"]
}
}
}
You can also use Docker. Replace IMAGE with the Docker image name:
{
"mcpServers": {
"yahoo-finance": {
"command": "docker",
"args": ["run", "-i", "--rm", "IMAGE"]
}
}
}
VS Code
Add this entry to your .vscode/mcp.json file:
{
"servers": {
"yahoo-finance": {
"command": "uvx",
"args": ["mcp-yahoo-finance"]
}
}
}
Example questions
You can ask questions like these:
- “What is the stock price of Apple?”
- “Give me a rich quote for AAPL with the previous close, intraday range, and market status.”
- “Show me the company overview for Nvidia.”
- “What is the difference in stock price between Apple and Google?”
- “How much did the stock price of Apple change between 2024-01-01 and 2025-01-01?”
- “What are the available options expiration dates for AAPL?”
- “Show me the options chain for AAPL expiring on 2024-01-19.”
- “What are the call and put options for Tesla?”
Response data
Tools return data in JSON format. This is an example of a rich quote:
{
"symbol": "AAPL",
"currentPrice": 243.5822,
"previousClose": 241.33,
"absoluteChange": 2.2522,
"percentChange": 0.9331,
"open": 242.1,
"dayHigh": 244.2,
"dayLow": 241.9,
"volume": 45678901,
"marketStatus": "REGULAR",
"currency": "USD",
"exchange": "NMS",
"timestamp": "2025-01-02T15:30:00+00:00",
"source": {
"provider": "Yahoo Finance",
"endpoint": "info",
"fetchedAt": "2025-01-02T15:30:01+00:00"
}
}
Errors use the same format for all tools. An error includes an error code and a message:
{
"error": {
"code": "NO_DATA",
"message": "No historical data found for AAPL"
}
}
설치
uvx mcp-yahoo-finance설정
{
"mcpServers": {
"yahoo-finance": {
"command": "uvx",
"args": ["mcp-yahoo-finance"]
}
}
}