YFinance Trader MCP ClaudeDesktop logo

YFinance Trader MCP ClaudeDesktop

by SaintDoresh

Access Yahoo Finance quotes, company metrics, historical prices, recommendations, and insider transactions through Claude Desktop.

Install YFinance Trader MCP ClaudeDesktop

Run the project’s own setup commands, in order.

Setup steps from the project

SaintDoresh/YFinance-Trader-MCP-ClaudeDesktop installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    pip install -r requirements.txt
    

Overview

SaintDoresh/YFinance-Trader-MCP-ClaudeDesktop connects Claude Desktop to Yahoo Finance through the Python yfinance library and MCP. It exposes tools for quotes, company metrics, daily historical prices, symbol lookup, analyst recommendations, and insider transactions. Limited cryptocurrency data is available through Yahoo Finance ticker formats such as BTC-USD and ETH-USD. Use it for market research and security analysis inside an MCP-compatible client.

Use cases

  • Check a stock’s current quote and daily movement
  • Compare company metrics and 52-week ranges
  • Review historical daily prices for a security
  • Search for securities by symbol or name
  • Inspect analyst recommendations and insider activity

Key features

  • Real-time stock quotes
  • Company information and financial metrics
  • Historical daily price data
  • Symbol search
  • Analyst recommendations
  • Insider transaction tracking

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/18 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars37Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How YFinance Trader MCP ClaudeDesktop works

What SaintDoresh/YFinance-Trader-MCP-ClaudeDesktop does

SaintDoresh/YFinance-Trader-MCP-ClaudeDesktop brings Yahoo Finance market data into Claude Desktop through the Model Context Protocol. It is built around the Python yfinance library and focuses on retrieving information for stocks and other supported securities rather than placing trades.

The server covers current quote information, company descriptions and financial metrics, daily historical prices, symbol searches, analyst recommendation data, and insider transaction records. Responses include structured fields such as prices, daily changes, volume, market capitalization, valuation ratios, dates, recommendation counts, and transaction details.

Limited cryptocurrency coverage is available through Yahoo Finance symbols including BTC-USD, ETH-USD, and DOGE-USD.

How it works

The implementation uses MCP directly instead of FastAPI. Claude Desktop starts the server as a local process and communicates with the Python entry point using the configured MCP server command. Requests from Claude are mapped to the available market-data tools, which retrieve and return Yahoo Finance information.

Typical prompts can ask for a stock’s current price, an overview of a company, several months of daily prices, securities related to a search term, analyst sentiment, or recent insider activity. Tool failures are returned as error messages, including cases such as an invalid ticker.

Setup and configuration

Python 3.10 or newer is required. Install the project dependencies from the repository with:

Terminal
pip install -r requirements.txt

Add an entry for the server to Claude Desktop’s MCP configuration. The example uses the Python launcher and points to the server’s main.py file:

config.json
{
  "mcpServers": {
    "yfinance-trader": {
      "command": "py",
      "args": ["-3.13", "path/to/your/main.py"]
    }
  }
}

Replace the placeholder with the full path to main.py. Confirm that Python is available on the system path, then restart Claude Desktop if necessary. If the server fails to start, check the configured path, installed dependencies, Python version, process output, and logs.

Tools and capabilities

The server provides six tools:

  • get_stock_quote returns a quote with price, change, percentage change, volume, and timestamp.
  • get_company_overview returns company identity, sector, industry, market capitalization, valuation metrics, dividend yield, and 52-week range data.
  • get_time_series_daily returns dated open, high, low, close, and volume records.
  • search_symbol searches for securities and returns matches with symbols, names, types, and exchanges.
  • get_recommendations returns analyst recommendation counts across reporting periods.
  • get_insider_transactions returns insider names, roles, transaction types, share counts, values, dates, ownership, and related details when available.

Limitations and notes

Cryptocurrency support is limited to selected Yahoo Finance ticker formats. Market data availability depends on the requested symbol and the upstream Yahoo Finance service. The server includes error handling and returns an error object when a request cannot be completed.

The project is licensed under the MIT License. Its configuration and examples are tailored to Claude Desktop, while the server uses the standard MCP process model.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about YFinance Trader MCP ClaudeDesktop

SaintDoresh/YFinance-Trader-MCP-ClaudeDesktop is an MCP server that connects Claude Desktop to Yahoo Finance through the Python yfinance library. Its main tools retrieve stock quotes, company metrics, historical prices, symbol matches, analyst recommendations, and insider transaction data, with limited support for selected cryptocurrency tickers.

Install Python 3.10 or newer, run `pip install -r requirements.txt`, and add the server command with the full path to `main.py` in Claude Desktop’s MCP configuration. Restart Claude Desktop after saving the configuration.

It provides six tools: `get_stock_quote`, `get_company_overview`, `get_time_series_daily`, `search_symbol`, `get_recommendations`, and `get_insider_transactions`. Together they cover quotes, company metrics, daily price history, security lookup, analyst data, and insider activity.

Yes, but cryptocurrency coverage is limited to supported Yahoo Finance ticker formats such as `BTC-USD`, `ETH-USD`, and `DOGE-USD`.

Check the ticker, Python version, dependency installation, configured absolute path, and server logs first. The tools return an error message when a request fails, including requests for invalid symbols.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYFinance Trader MCP ClaudeDesktop AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/saintdoresh-yfinance-trader-mcp-claudedesktop?style=directory)](https://allmcps.com/mcp/saintdoresh-yfinance-trader-mcp-claudedesktop)
HTML Embed
<a href="https://allmcps.com/mcp/saintdoresh-yfinance-trader-mcp-claudedesktop"><img src="https://allmcps.com/api/badge/saintdoresh-yfinance-trader-mcp-claudedesktop?style=directory" alt="YFinance Trader MCP ClaudeDesktop on AllMCPs" /></a>