Get the FREE Ultimate OpenClaw Setup Guide →

yfinance

MCP server for Yahoo Finance (Unofficial)

How to use

The yfinance MCP server provides developers with an unofficial interface to access Yahoo Finance data efficiently. By leveraging this server, you can retrieve stock prices, historical market data, and other financial information seamlessly, making it a valuable tool for building financial applications and conducting market analysis.

Once connected to the yfinance MCP server, you can interact with it by sending HTTP requests to fetch various financial data. Use commands to request stock quotes, historical data, or company information. For optimal results, structure your queries to specify the ticker symbols and the type of data you need, allowing for precise and tailored responses.

How to install

To install the yfinance MCP server, you need to have Node.js and npm installed on your machine. Follow one of the options below:

Option A: Quick start with npx
You can quickly start the server without a global installation by using npx:

npx -y yfinance-mcp-server

Option B: Global install alternative
If you prefer to install it globally, use the following command:

npm install -g yfinance-mcp-server

Additional notes

When configuring the yfinance MCP server, make sure to check for any necessary environment variables that might be required for optimal operation. Additionally, be aware of rate limits imposed by Yahoo Finance to avoid being temporarily blocked from accessing data. If you encounter issues, verify your network settings and ensure that the server is running correctly.

Related MCP Servers

Sponsor this space

Reach thousands of developers