S
saintdoresh/YFinance-Trader-MCP-ClaudeDesktop
Stock data and trades through yfinance
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# YFinance Trader MCP Tool for Claude Desktop
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
An MCP (Model Context Protocol) tool that provides stock market data and trading capabilities using the yfinance library, specifically adapted for Claude Desktop.
> Credit: This project was inspired by mcp-stocks by Luigi Ajah, which is a similar implementation for Cursor. This adaptation modifies the original concept to work with Claude Desktop.
## Tutorial
For a detailed guide on setting up and using this tool, check out our Medium tutorial:
Tutorial: Using Claude Desktop with YFinance Trader MCP Tool to Access Real-Time Stock Market Data
## Features
Real-time stock quotes
Company information and financial metrics
Historical price data
Symbol search functionality
Analyst recommendations
Insider transaction tracking
## Setup
1. Ensure you have Python 3.10 or higher installed
2. Install dependencies:
bash
pip install -r requirements.txt
## Integration with Claude Desktop
1. Configure your MCP settings in Claude Desktop by adding the following to your MCP configuration:
json
"mcpServers": {
"yfinance-trader": {
"command": "py",
"args": ["-3.13", "path/to/your/main.py"]
2. Replace the path with the full path to your main.py file
3. Restart Claude Desktop if needed
## Available Tools
### 1. getstockquote
Get real-time stock quote information:
json
"symbol": "AAPL",
"price": 150.25,
"change": 2.5,
"changePercent": 1.67,
"volume": 1234567,
"timestamp": "2024-03-20T10:30:00"
### 2. getcompanyoverview
Get company information and key metrics:
json
"name": "Apple Inc.",
"sector": "Technology",
"industry": "Consumer Electronics",
"marketCap": 2500000000000,
"peRatio": 25.4,
"forwardPE": 24.2,
"dividendYield": 0.65,
"52WeekHigh": 182.94,
"52WeekLow": 124.17
### 3. gettimeseriesdaily
Get historical daily price data:
json
"symbol": "AAPL",
"timeSeriesDaily": [
"date": "2024-03-20T00:00:00",
"open": 150.25,
"high": 152.30,
"low": 149.80,
"close": 151.75,
"volume": 12345678
// ... more data points
### 4. searchsymbol
Search for stocks and other securities:
json
"results": [
"symbol": "AAPL",
"name": "Apple Inc.",
"type": "EQUITY",
"exchange": "NASDAQ"
// ... more results
### 5. getrecommendations
Get analyst recommendations for a stock:
json
"symbol": "AAPL",
"recommendations": [
"period": "2024-03-15T00:00:00",
"strongBuy": 15,
"buy": 20,
"hold": 8,
"sell": 2,
"strongSell": 0
// ... more periods
### 6. getinsidertransactions
Get insider trading information:
json
"symbol": "AAPL",
"transactions": [
"date": "2024-03-15T00:00:00",
"insider": "John Doe",
"position": "Director",
"transactionType": "Buy",
"shares": 1000,
"value": 150250.00,
"url": "https://finance.yahoo.com/...",
"text": "Purchase of 1000 shares",
"startDate": "2024-03-15",
"ownership": "Direct"
// ... more transactions
## Sample Queries
You can ask Claude Desktop questions like:
"What is the current stock price and daily change for AAPL?"
"Can you give me a company overview for Microsoft (MSFT)?"
"Show me the historical price data for Tesla (TSLA) over the last 3 months."
> Credit: This project was inspired by mcp-stocks by Luigi Ajah, which is a similar implementation for Cursor. This adaptation modifies the original concept to work with Claude Desktop.
## Tutorial
For a detailed guide on setting up and using this tool, check out our Medium tutorial:
Tutorial: Using Claude Desktop with YFinance Trader MCP Tool to Access Real-Time Stock Market Data
## Features
Real-time stock quotes
Company information and financial metrics
Historical price data
Symbol search functionality
Analyst recommendations
Insider transaction tracking
## Setup
1. Ensure you have Python 3.10 or higher installed
2. Install dependencies:
bash
pip install -r requirements.txt
## Integration with Claude Desktop
1. Configure your MCP settings in Claude Desktop by adding the following to your MCP configuration:
json
"mcpServers": {
"yfinance-trader": {
"command": "py",
"args": ["-3.13", "path/to/your/main.py"]
2. Replace the path with the full path to your main.py file
3. Restart Claude Desktop if needed
## Available Tools
### 1. getstockquote
Get real-time stock quote information:
json
"symbol": "AAPL",
"price": 150.25,
"change": 2.5,
"changePercent": 1.67,
"volume": 1234567,
"timestamp": "2024-03-20T10:30:00"
### 2. getcompanyoverview
Get company information and key metrics:
json
"name": "Apple Inc.",
"sector": "Technology",
"industry": "Consumer Electronics",
"marketCap": 2500000000000,
"peRatio": 25.4,
"forwardPE": 24.2,
"dividendYield": 0.65,
"52WeekHigh": 182.94,
"52WeekLow": 124.17
### 3. gettimeseriesdaily
Get historical daily price data:
json
"symbol": "AAPL",
"timeSeriesDaily": [
"date": "2024-03-20T00:00:00",
"open": 150.25,
"high": 152.30,
"low": 149.80,
"close": 151.75,
"volume": 12345678
// ... more data points
### 4. searchsymbol
Search for stocks and other securities:
json
"results": [
"symbol": "AAPL",
"name": "Apple Inc.",
"type": "EQUITY",
"exchange": "NASDAQ"
// ... more results
### 5. getrecommendations
Get analyst recommendations for a stock:
json
"symbol": "AAPL",
"recommendations": [
"period": "2024-03-15T00:00:00",
"strongBuy": 15,
"buy": 20,
"hold": 8,
"sell": 2,
"strongSell": 0
// ... more periods
### 6. getinsidertransactions
Get insider trading information:
json
"symbol": "AAPL",
"transactions": [
"date": "2024-03-15T00:00:00",
"insider": "John Doe",
"position": "Director",
"transactionType": "Buy",
"shares": 1000,
"value": 150250.00,
"url": "https://finance.yahoo.com/...",
"text": "Purchase of 1000 shares",
"startDate": "2024-03-15",
"ownership": "Direct"
// ... more transactions
## Sample Queries
You can ask Claude Desktop questions like:
"What is the current stock price and daily change for AAPL?"
"Can you give me a company overview for Microsoft (MSFT)?"
"Show me the historical price data for Tesla (TSLA) over the last 3 months."
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/saintdoresh-yfinance-trader-mcp-claudedesktop/)
- 来源
- awesome · https://github.com/saintdoresh/YFinance-Trader-MCP-ClaudeDesktop
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。