Get the FREE Ultimate OpenClaw Setup Guide →

yahoo-finance

A Yahoo Finance MCP server for Claude Desktop providing stock market data and analysis tools

How to use

The yahoo-finance MCP server provides developers with access to comprehensive stock market data and analysis tools directly within the Claude Desktop environment. By leveraging this server, you can retrieve real-time stock quotes, historical market data, and perform various financial analyses seamlessly, making it an essential tool for anyone looking to enhance their financial applications.

Once connected to the yahoo-finance MCP server, you can interact with it by sending queries to retrieve stock information and perform analyses. You can use commands to fetch current stock prices, historical data, or specific market trends. For best results, formulate your queries to specify the stock ticker symbols or time ranges you are interested in, allowing for precise and relevant data retrieval.

How to install

Prerequisites

Ensure you have Node.js installed on your machine, as this server relies on it for operation.

Option A: Quick start with npx

If you prefer a quick start, you can use the following command to run the server using npx:

npx -y github:berlinbra/yahoo-finance-mcp-server  

Option B: Global install alternative

To install the server globally, use the following command:

npm install -g github:berlinbra/yahoo-finance-mcp-server  

After installation, you can start the server by running yahoo-finance in your terminal.

Additional notes

For optimal performance, consider configuring environment variables to set your preferred default stock tickers or analysis parameters. Keep in mind that connectivity issues may arise if your internet connection is unstable, so ensure you have a reliable network when using the server for real-time data.

Sponsor this space

Reach thousands of developers