MCP server for Yahoo Finance (Unofficial)
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"yfinance-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A comprehensive Model Context Protocol (MCP) server that provides financial data through Yahoo Finance API integration. This server enables AI agents to access real-time stock market data, historical prices, financial statements, and market analysis.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Let AI agents create, discover, and track tokens across chains via Printr.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
Model Context Protocol Extension of Coinbase Agentkit
MaverickMCP - Personal Stock Analysis MCP Server
MCP Security Weekly
Get CVE alerts and security updates for Yfinance Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A comprehensive Model Context Protocol (MCP) server that provides financial data through Yahoo Finance API integration. This server enables AI agents to access real-time stock market data, historical prices, financial statements, and market analysis.
# Clone the repository
git clone https://github.com/barvhaim/yfinance-mcp-server.git
cd yfinance-mcp-server
# Install dependencies
uv sync
# Start the MCP server
uv run main.py
# The server will start and be ready to accept MCP client connections
Get comprehensive stock information including current price, market cap, and financial metrics.
Parameters:
symbol (str): Stock ticker symbol (e.g., 'AAPL', 'GOOGL')Returns: Stock information including price, market cap, P/E ratio, dividend yield, 52-week range, volume, beta, and company details.
Retrieve historical stock price data with flexible time periods and intervals.
Parameters:
symbol (str): Stock ticker symbolperiod (str): Time period (1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max)interval (str): Data interval (1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo)Returns: Historical OHLCV data with dates and volume information.
Get dividend payment history for a stock.
Parameters:
symbol (str): Stock ticker symbolReturns: List of dividend payments with dates and amounts.
Retrieve stock split history.
Parameters:
symbol (str): Stock ticker symbolReturns: List of stock splits with dates and split ratios.
Get comprehensive financial statements.
Parameters:
symbol (str): Stock ticker symbolquarterly (bool): Get quarterly data if True, annual if FalseReturns: Income statement, balance sheet, and cash flow statement data.
Retrieve earnings data for analysis.
Parameters:
symbol (str): Stock ticker symbolReturns: Annual and quarterly earnings data.
Get recent news articles related to a stock.
Parameters:
symbol (str): Stock ticker symbolcount (int): Number of articles to return (default: 10)Returns: List of news articles with titles, links, publishers, and timestamps.
Get analyst recommendations and ratings.
Parameters:
symbol (str): Stock ticker symbolReturns: List of analyst recommendations with firms, ratings, and actions.
Search for stocks by company name or ticker symbol.
Parameters:
query (str): Search query (company name or ticker)limit (int): Maximum results to return (default: 10)Returns: List of matching stocks with symbols, names, and exchange information.
Get current quotes for multiple stocks simultaneously.
Parameters:
symbols (List[str]): List of stock ticker symbolsReturns: Dictionary of stock quotes with current prices, changes, and basic metrics.
# Get Apple stock information
result = await get_sto
... [View full README on GitHub](https://github.com/barvhaim/yfinance-mcp-server#readme)