Yahoo Finance unofficial MCP Server
@barvhaim
About Yahoo Finance unofficial MCP Server
This server enables AI agents to access real-time stock market data, historical prices, financial statements, and market analysis.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"yfinance": {
"command": "uv",
"args": [
"--directory",
"/path/to/yfinance-mcp-server",
"run",
"main.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Yahoo Finance unofficial MCP Server?
A Model Context Protocol (MCP) server that provides financial data through Yahoo Finance API integration. It enables AI agents to access real-time stock market data, historical prices, financial statements, and market analysis.
How to use Yahoo Finance unofficial MCP Server?
Invoke the server via an MCP client. It exposes 10 tools that accept stock ticker symbols and optional parameters, returning structured JSON data.
Key features of Yahoo Finance unofficial MCP Server
- 10 comprehensive financial tools for market data access
- Real-time stock information with prices and key metrics
- Historical data analysis with flexible periods and intervals
- Financial statements (income, balance sheet, cash flow)
- Earnings data (annual and quarterly)
- Dividend and split history
- News and analyst recommendations
- Stock search and multi-quote support
- Robust error handling with structured JSON responses
- FastMCP framework with async support
Use cases of Yahoo Finance unofficial MCP Server
- Retrieve current stock prices and fundamentals for portfolio tracking
- Analyze historical price trends and volatility with OHLCV data
- Fetch earnings and financial statements for company valuation
- Search stocks by name or ticker to discover investment opportunities
- Get analyst recommendations and recent news for market sentiment
FAQ from Yahoo Finance unofficial MCP Server
What tools does Yahoo Finance unofficial MCP Server provide?
It provides 10 tools: get_stock_info, get_historical_data, get_dividends, get_splits, get_financials, get_earnings, get_news, get_recommendations, search_stocks, and get_multiple_quotes.
How do I get historical stock data?
Use the get_historical_data tool with a symbol, period (e.g., 1d, 1y, max), and interval (e.g., 1m, 1d, 1wk). It returns OHLCV data with dates and volume.
Can I search for stocks by company name?
Yes, use the search_stocks tool with a query (company name or ticker) and optional limit. It returns matching symbols, names, and exchange information.
Does it support multiple stocks at once?
Yes, the get_multiple_quotes tool accepts a list of ticker symbols and returns current prices, changes, and basic metrics for all of them.
What financial statements are available?
Use get_financials with a symbol and quarterly flag. It returns income statement, balance sheet, and cash flow statement data (annual or quarterly).
Frequently asked questions
What tools does Yahoo Finance unofficial MCP Server provide?
It provides 10 tools: get_stock_info, get_historical_data, get_dividends, get_splits, get_financials, get_earnings, get_news, get_recommendations, search_stocks, and get_multiple_quotes.
How do I get historical stock data?
Use the get_historical_data tool with a symbol, period (e.g., 1d, 1y, max), and interval (e.g., 1m, 1d, 1wk). It returns OHLCV data with dates and volume.
Can I search for stocks by company name?
Yes, use the search_stocks tool with a query (company name or ticker) and optional limit. It returns matching symbols, names, and exchange information.
Does it support multiple stocks at once?
Yes, the get_multiple_quotes tool accepts a list of ticker symbols and returns current prices, changes, and basic metrics for all of them.
What financial statements are available?
Use get_financials with a symbol and quarterly flag. It returns income statement, balance sheet, and cash flow statement data (annual or quarterly).
Basic information
More Finance & Commerce MCP servers
Edwin
edwin-financeEmpowering AI agents to dominate DeFAI
💹 MCP YFinance Stock Server
Adity-starReal-time stock API with Python, MCP server example, yfinance stock analysis dashboard
Synci
SynciSynci connects your real bank, brokerage, and crypto-exchange accounts to AI assistants, read-only. Ask about balances, transactions, holdings, and spending across all your accounts in one place.
Bitget Agent Hub
Bitget-AIOfficial open-source AI toolkit for Bitget crypto trading and market analysis
Polygon.io MCP Server
polygon-ioAn MCP server for Massive.com Financial Market Data
Comments