yfinancemcp
@coledie
MCP Server for Yahoo Finance w/ high level functions
Overview
What is yfinancemcp?
yfinancemcp is an MCP (Model Context Protocol) server that provides high-level functions for retrieving and analyzing stock market data from Yahoo Finance. It is designed for users of Claude desktop who want to query financial information using natural language.
How to use yfinancemcp?
Install the required Python dependencies (numpy, pandas, fastmcp, yfinance). Then manually add the server to Claude desktop by following the setup instructions at the provided link. Once configured, ask natural language questions about stocks and receive responses powered by Yahoo Finance data.
Key features of yfinancemcp
- Retrieve current stock prices (e.g., MSFT)
- Filter tech stocks by news impact
- Perform deep dives on selected stocks
- Compare stock performance (e.g., INTC vs NVDA)
- Compare individual stocks against broader benchmarks
Use cases of yfinancemcp
- Quickly check the latest price of a specific stock
- Identify tech stocks that moved on recent tariff news
- Get a detailed fundamental analysis of several stocks
- Evaluate which of two stocks is likely to outperform
- Compare a stock’s performance against other stocks in the sector
FAQ from yfinancemcp
What data source does yfinancemcp use?
yfinancemcp retrieves all data from Yahoo Finance via the yfinance Python library.
What software dependencies are required?
The server requires numpy, pandas, fastmcp, and yfinance installed in a Python environment.
How do I set up yfinancemcp with Claude desktop?
You must manually add this MCP server to Claude desktop by following the instructions at https://ai-claude.net/mcp/. No automatic discovery is supported.
What kind of queries can I ask yfinancemcp?
Examples include “What is the current MSFT stock price?”, “What tech stocks have gone up in response to recent US tariff news?”, “Do a deep dive on these stocks.”, and “What are the changes that INTC outperforms NVDA in the near future?”.
Does yfinancemcp require authentication or API keys?
No authentication or API keys are mentioned; the server uses the publicly available yfinance library to access Yahoo Finance data.