by Alex2Yang97
This is a Model Context Protocol (MCP) server that provides comprehensive financial data from Yahoo Finance. It allows you to retrieve detailed information about stocks, including historical prices, company information, financial statements, options data, and market news.
# Add to your Claude Code skills
git clone https://github.com/Alex2Yang97/yahoo-finance-mcpThis is a Model Context Protocol (MCP) server that provides comprehensive financial data from Yahoo Finance. It allows you to retrieve detailed information about stocks, including historical prices, company information, financial statements, options data, and market news.

The server exposes the following tools through the Model Context Protocol:
| Tool | Description |
|------|-------------|
| get_historical_stock_prices | Get historical OHLCV data for a stock with customizable period and interval |
| get_stock_info | Get comprehensive stock data including price, metrics, and company details |
| get_yahoo_finance_news | Get latest news articles for a stock |
| get_stock_actions | Get stock dividends and splits history |
| Tool | Description |
|------|-------------|
| get_financial_statement | Get income statement, balance sheet, or cash flow statement (annual/quarterly) |
| get_holder_info | Get major holders, institutional holders, mutual funds, or insider transactions |
| Tool | Description |
|------|-------------|
| get_option_expiration_dates | Get available options expiration dates |
| get_option_chain | Get options chain for a specific expiration date and type (calls/puts) |
| Tool | Description |
|------|-------------|
| get_recommendations | Get analyst recommendations or upgrades/downgrades history |
With this MCP server, you can use Claude to: