yfinance-mcp-server
由 rizkydwicmt 提供
Coding Agents & IDEs简介
Access Yahoo Finance data — stock prices, history, financials, options, dividends, news, and market screeners.
描述
该技能的功能
An MCP server that provides access to Yahoo Finance data through 12 tools. Covers stock prices, historical OHLCV data, financial statements, analyst recommendations, options chains, dividends, market movers, and news. Works with US stocks, international exchanges (IDX, TSE, LSE, HKEX), ETFs, crypto, indices, and forex.
Yahoo Finance covers global equities, ETFs, crypto, indices, and forex in a single source with no API key required.
何时使用
- Check current price and analyst targets before buying a stock
- Compare multiple portfolio holdings on P/E, margins, and growth side by side
- Screen for dividend stocks above a minimum yield in a specific sector
- Pull historical daily prices for a ticker to review trend over 1 or 5 years
- Get latest news and analyst upgrades for a position before an earnings call
示例工作流
User asks: Research Tesla before deciding to buy
- 1
Call tool_search_stocks with query 'Tesla' to confirm the ticker symbol
- 2
Call tool_get_stock_info with symbol 'TSLA' to retrieve fundamentals and business description
- 3
Call tool_get_financials with symbol 'TSLA' and statement_type 'all' to review income, balance sheet, and cash flow
- 4
Call tool_get_recommendations with symbol 'TSLA' to check analyst ratings and price targets
- 5
Call tool_get_news with symbol 'TSLA' to surface recent headlines
A structured summary of Tesla's current price, fundamentals, analyst consensus, and recent news
安装
clawhub install rizkydwicmt/yfinance-mcp-server运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。