Yahoo Finance MCP Server

MCP server that gives an agent Yahoo Finance data by ticker: price history, financial statements and option chains

  • 364 ★ on the repository
  • Last commit
  • MIT
MCP server

Extended access

Why this level

  • Requests data from the external Yahoo Finance service for the tickers the agent names
  • Runs as code straight from GitHub through uvx, so read the repository before the first run
All reasons and checks

alex2yang97/yahoo-finance-mcp

Install

Manual install

uvx --from git+https://github.com/Alex2Yang97/yahoo-finance-mcp yahoo-finance-mcp

Starts the server with no separate install. Needs uv and Python 3.14.6 or newer.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Requests data from the external Yahoo Finance service for the tickers the agent names
  • Runs as code straight from GitHub through uvx, so read the repository before the first run

This is third-party code. Review the repository files before installing.

What it does

Yahoo Finance MCP Server gives an agent Yahoo Finance market data through nine tools. Price history is requested with a chosen period and interval, and the general stock profile covers price, metrics and company details. Separate calls return dividends and splits, fresh news for a ticker, and analyst recommendations or upgrade and downgrade history. The server returns financial statements in three kinds: income statement, balance sheet and cash flow, annual or quarterly. The holders tool shows major and institutional holders, as well as insider transactions. For options there is a list of expiration dates and a call or put chain for a chosen date. The server starts with one command through uvx straight from the repository, with no separate install. It needs no API key or environment variables.

Who it is for. For analysts, amateur investors and developers who ask Claude, Cursor or another agent to review the statements and quotes of specific companies.

Good fit when

  • You need the quarterly income statements of two companies side by side in a table
  • You need six months of daily price history for a ticker to analyze a trend
  • You need an extract from a balance sheet or cash flow statement, annual or quarterly
  • You want to see insider transactions and changes in institutional ownership
  • You need the call option chain for a chosen expiration date

Not a fit when

  • You need real-time quotes from Russian exchanges: the server returns Yahoo Finance data
  • You need brokerage operations, buying and selling: the server only reads data and does not trade
  • You need a trading feed with guaranteed accuracy and latency: the server reads public data and gives no such guarantees
  • You want ready investment advice: the server returns data and the conclusions are drawn by the agent and you

Example request

Show Intuit's quarterly balance sheet and compare the quarterly income statements of ServiceNow and Intuit over the last four quarters

MCP

Transport
stdio
Authentication
not required

Limitations

  • Needs Python 3.14.6 or newer, plus the uv manager to run from the repository. uv installs the dependencies itself, yfinance and pandas among them.
  • The server only reads data; it has no trading or account operations.
  • Data comes from Yahoo Finance through the yfinance library. It is unofficial and not affiliated with Yahoo, so the stability of results depends on its updates.
  • For Docker the repository has a Dockerfile and smithery.yaml, but no instructions for building the container.

How to disable. Remove the yfinance entry from the MCP client configuration and restart the client. The server has no permanent install: `uvx` downloads it to a cache that `uv cache clean` can clear.

FAQ

How do I run Yahoo Finance MCP Server?

Run `uvx --from git+https://github.com/Alex2Yang97/yahoo-finance-mcp yahoo-finance-mcp`. For a local copy with changes use `uvx --from . yahoo-finance-mcp`, and to run the source tree `uv run server.py`.

How do I connect it to Claude Desktop?

Add a yfinance server to claude_desktop_config.json with command uvx and arguments --from, the repository address and yahoo-finance-mcp. The file lives in ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows. Restart the app after editing.

What data does the server provide?

Nine tools in four groups: stock information, financial statements, options and analyst opinions.

Do I need an API key?

No. The server has no environment variables and takes Yahoo Finance data without registration.

Can I run the server in Docker?

The repository has a Dockerfile and smithery.yaml, and the build commands have to be taken from those files. The main way to run it is uvx.

Discussion

No questions or reviews yet.

An unofficial Yahoo Finance client with an MCP server, a CLI and an agent skill: quotes, price history, financial statements and options for an agent

MCP serverBroad access810Repository stars

Financial Datasets MCP

Financial Datasets MCP Server

Official

An MCP server for the Financial Datasets API: company financials, stock and crypto prices and news for the agent

MCP serverExtended access2.3KRepository stars

Financial data MCP server: stocks, funds, bonds, macro indicators, news and crypto via Tushare and Binance

MCP serverBroad access867Repository stars

An MCP server for market data and technical analysis: quotes, indicators, screeners and backtesting for stocks, crypto, forex and futures

MCP serverExtended access5.2KRepository stars

An MCP server for personal stock analysis: market data, technical indicators, screening and portfolio tracking, no keys for the core

MCP serverExtended access714Repository stars
Official

A financial analysis MCP server: 500+ methods from company statements, ratios, indicators, risk metrics and macro data

MCP serverExtended access5.5KRepository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
Yahoo Finance MCP Server (this entry)nonot required364
FinanceMCPnokey is optional867stocks, funds, bonds, macro indicators and crypto data through a different source
Alpha Vantage MCP ServeryesOAuth223the official Alpha Vantage server, which needs an API key
Massive.com MCP ServeryesAPI key399the Massive.com market data MCP server

README in short

The docs exist in English and Chinese, and almost all examples are ready prompts for Claude about ServiceNow and Intuit. Besides the uvx launch there is a development mode from a local checkout through uv.

README badge

Report a problem

Foxx AIYahoo Finance MCP Server
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.