yahoo-finance-mcp
View on GitHubThis 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.
Python MCP server exposing Yahoo Finance data as tools: historical prices, stock info, financial statements, holders, options chains, analyst recommendations, and news. Drop it into Claude Desktop or any MCP client to query market data conversationally.
Use Cases
Retrieve historical OHLCV stock pricesFetch company info and key financial metricsPull income statements, balance sheets, cash flow statementsGet dividends and stock splits historyList institutional, mutual fund, and insider holdersFetch options expiration dates and option chainsRetrieve analyst recommendations and upgrades/downgradesRead latest market news for a tickerCompare financials across multiple companies via ClaudeGenerate investment research reports in an LLM chat
Built With
- Language
- Python
- Frameworks
- Model Context Protocol · FastMCP · yfinance · pandas · pydantic · pytest · hatchling
Tags
mcp · mcp-server · yahoo-finance · yfinance · financial-data · stocks · options-data · financial-statements · market-news · python · claude-desktop · uvx