Home / MCP / Yahoo Finance MCP Server

Yahoo Finance MCP Server

Provides an MCP server to fetch pricing, company data, and other Yahoo Finance information.

javascript
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "yahoo_finance": {
            "command": "uvx",
            "args": [
                "mcp-yahoo-finance"
            ]
        }
    }
}

You can run the MCP Yahoo Finance server locally to fetch pricing data, company details, and related financial information from Yahoo Finance. It exposes MCP endpoints you can query from your MCP client to perform tasks like getting stock prices, comparing values, or exploring options data. This setup is designed to be simple to start with, while remaining flexible for future expansion as features evolve.

How to use

Connect your MCP client to a local MCP Yahoo Finance server to start querying data. Use plain, human-friendly prompts to ask for prices, company information, or options-related data. Practical uses include asking for the latest price of a stock, comparing the price between two companies, or retrieving available options data for a given ticker.

How to install

Prerequisites: you need Python or Node tooling available depending on how you install the package. The preferred path for simple usage is to run the MCP server via uvx.

Option A: Install via Python package manager (pip) and use a direct run path with uv to start the MCP server through the package.

pip install mcp-yahoo-finance

Option B: Install from source and synchronize with uv to run locally. This method is convenient if you clone the repository yourself.

git clone [email protected]:maxscheijen/mcp-yahoo-finance.git
cd mcp-yahoo-finance
uv sync

If you prefer a graphical/configuration approach for development environments, you can configure your tools to run the MCP server via uvx as shown in the configuration steps below.

Additional configuration and usage notes

You can run the MCP Yahoo Finance server using uvx directly for a quick start. The common approach is to run the server with the following command in your development environment.

uvx mcp-yahoo-finance

If you are using one of your IDEs or desktop tools that support MCP server configuration, you can point the MCP server entry to the runtime so you don’t have to launch it manually each time.