Yahoo Finance MCP Server
by narumiruna
A simple MCP server for Yahoo Finance using yfinance. This server provides a set of tools to fetch stock data, news, and other financial information.
Last updated: N/A
What is Yahoo Finance MCP Server?
The Yahoo Finance MCP Server is a tool that allows users to retrieve financial data from Yahoo Finance using the yfinance library. It provides an interface to fetch stock data, news, and other financial information through a set of predefined tools.
How to use Yahoo Finance MCP Server?
The server can be used either via uv (Python package installer) or Docker. Configuration examples are provided in the README for both methods. You need to add the provided JSON configuration snippet to your MCP server configuration file, specifying the command and arguments for either uvx or docker.
Key features of Yahoo Finance MCP Server
Retrieve stock data (company info, financials, trading metrics, governance data)
Fetch recent news articles related to specific stocks
Search Yahoo Finance for stock quotes and news
Get top entities (ETFs, mutual funds, companies) in a sector
Easy integration via uv or Docker
Use cases of Yahoo Finance MCP Server
Automated stock data analysis
Real-time financial news monitoring
Building financial dashboards
Algorithmic trading strategies
FAQ from Yahoo Finance MCP Server
What is yfinance?
What is yfinance?
yfinance is a Python library that allows you to access the Yahoo Finance API.
What is an MCP server?
What is an MCP server?
MCP (Modular Content Platform) server is a server that provides modular content or services. In this context, it serves financial data.
How do I install uv?
How do I install uv?
Refer to the official uv documentation for installation instructions: https://docs.astral.sh/uv/getting-started/installation/
Can I customize the search parameters?
Can I customize the search parameters?
Yes, the search
tool allows you to specify the query
and search_type
to customize the search results.
What sectors are available for the get_top
tool?
What sectors are available for the get_top
tool?
The available sectors are determined by Yahoo Finance. You can explore the available sectors through the Yahoo Finance website or API.