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.
Basic information
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).
More Finance & Commerce MCP servers
Boba MCP
Able-labs-xyzBoba CLI - The bridge between agents and decentralized trading.
中国股票数据
elsejj这是一个为大模型提供 A 股数据的的 MCP(Model Content Protocol) 服务。
MetaTrader 5 MCP Server
QoyyuumA Model Context Protocol (MCP) server for interacting with the MetaTrader 5 trading platform. This server provides AI assistants with tools and resources to access market data, perform trading operations, and analyze trading history.
Futu Stock MCP Server
shuizhengqi1mcp server for futuniuniu stock
MCP Yahoo Finance
maxscheijenA Model Context Protocol (MCP) server for Yahoo Finance.
Comments