Yahoo Finance logo

Yahoo Finance

Access Yahoo Finance quotes, history, financials, options, news, analyst data, and comparisons through MCP tools.

Install Yahoo Finance

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "yahoo-finance": {
      "command": "npx",
      "args": [
        "-y",
        "yahoo-finance-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 13 tools correctly (7d ago).

Overview

The Yahoo Finance MCP server exposes Yahoo Finance market data to MCP-compatible clients through 13 tools. It provides quotes, historical OHLCV data, company information, financial statements, analyst data, news, options, ownership, dividends, symbol search, and market status. Run it locally over stdio with npx or expose the same tools through Streamable HTTP for clients that connect to a URL. Reach for it when an agent needs current or historical market information without building a separate Yahoo Finance data client.

Use cases

  • Retrieve current quotes for selected tickers
  • Compare financial and valuation metrics across stocks
  • Inspect historical price performance and returns
  • Review analyst targets, estimates, and recommendations
  • Query options, ownership, dividends, or company news

Key features

  • Current quotes and market metrics
  • Historical OHLCV data with statistics
  • Financial statements and company profiles
  • Analyst ratings and forward estimates
  • Options, ownership, dividends, and splits
  • Stdio and Streamable HTTP deployment

Tools13

What Yahoo Finance lets your agent do. Expand a tool for its parameters.

Verified live~4.1k tokens of context

Security & health

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

ActiveLast checked 2d ago

Recent health check succeeded.

6/6 checks healthy over the last 46d

What it can do

From the 13 tools this server returned when we ran it; 13 declare their own safety hints.

Makes network requests · 13Read-only tools · 13
Network at startup3 connections
Files written at startup23
Install scriptsNone
npm provenanceNot published
Package age354 days
Maintainers1

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · yahoo-finance-mcp-server (npm)

Adoption & maintenance

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

GitHub stars23Stargazers on the source repository.
npm downloads882Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed13Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Yahoo Finance works

What Yahoo Finance MCP server does

The Yahoo Finance MCP server connects MCP-compatible AI clients to market data from Yahoo Finance. Its tools cover individual securities, groups of tickers, market conditions, and related company information.

Available operations include:

  • Retrieve current prices, daily changes, volume, valuation metrics, dividend yield, and trading ranges.
  • Query historical open, high, low, close, and volume data with summary statistics and total return.
  • Read company descriptions, executives, valuation figures, and financial highlights.
  • Fetch annual income statements, balance sheets, and cash-flow statements.
  • Compare two to ten tickers using side-by-side metrics.
  • Inspect analyst recommendations, price targets, estimates, ownership, dividends, splits, options, and recent news.
  • Search for ticker symbols by company name or keyword.
  • Check whether a market is open and view a major-index summary.

Each tool can return readable Markdown or structured JSON by setting response_format.

How it works

The Yahoo Finance MCP server can run as a local process communicating over MCP stdio, or as a Streamable HTTP endpoint. The standard HTTP command serves the MCP endpoint at /mcp; host, port, accepted host names, and stateful-session behavior can be changed with command-line flags.

Requests use a shared browser-impersonating HTTP session. This is intended to reduce Yahoo Finance rate limiting, but the server still depends on Yahoo Finance availability and the data returned for a given symbol.

Historical queries accept periods from one day through maximum available history and intervals ranging from minutes to months. Options queries can first list expiration dates and then retrieve calls, puts, or both for a selected date. Holder queries distinguish institutional, mutual-fund, major, and insider-transaction data.

Setup and configuration

The simplest setup uses Node.js 16 or newer and Python 3.10 or newer. Add an MCP entry that runs npx -y yahoo-finance-mcp-server, then restart the client. The first launch creates an isolated Python environment and installs dependencies. A global npm installation is also available, after which the configured command is yahoo-finance-mcp-server.

For HTTP mode, run npx -y yahoo-finance-mcp-server --http. The default address is 127.0.0.1:8000/mcp. Containerized clients may require binding to 0.0.0.0 and connecting through a host alias. HTTP mode does not add authentication, so bind it only to an interface and network you trust. Host-header checks remain enabled; additional host names can be allowed with --allowed-host.

Limitations and notes

The Yahoo Finance MCP server does not communicate with an AI model. The MCP client starts it and exchanges JSON-RPC messages, so changing a model provider does not change the server itself. The client model must support tool or function calling, and a proxy must preserve tool definitions.

Ticker symbols must be supplied for ticker-based requests, such as AAPL rather than Apple. Smaller companies may have incomplete data, and Yahoo Finance may be temporarily unavailable. If tools do not appear, check the client configuration, restart the client, and verify that the server is connected. Manual installation requires the listed Python dependencies, including yfinance, curl_cffi, pandas, mcp, pydantic, httpx, and tabulate.

Reviews

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

Frequently Asked Questions about Yahoo Finance

Yahoo Finance is an MCP server that connects AI clients to Yahoo Finance market data. Its main tools retrieve quotes, historical prices, company information, financial statements, analyst recommendations, news, options chains, ownership, dividends, estimates, symbol searches, stock comparisons, and market status in Markdown or JSON.

Install it by configuring your MCP client to run `npx -y yahoo-finance-mcp-server`. The launcher needs Node.js 16+ and Python 3.10+ and creates an isolated Python environment on first use. A global npm installation and direct Python setup are also documented alternatives.

Yes, the Yahoo Finance MCP server is intended for any MCP-compatible client, and Cursor is an MCP-compatible client. Configure Cursor to launch the server over stdio, or connect it to the Streamable HTTP endpoint when using HTTP mode.

Run `npx -y yahoo-finance-mcp-server --http`; the default endpoint is `http://127.0.0.1:8000/mcp`. Use `--host`, `--port`, `--allowed-host`, or `--stateful` to adjust binding, host validation, and session behavior. HTTP mode does not provide authentication.

It can retrieve quotes, historical OHLCV prices, company details, annual financial statements, analyst ratings and estimates, news, options chains, holder data, dividends, splits, symbol matches, market status, and side-by-side metrics for multiple tickers.

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 PreviewYahoo Finance AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/yahoo-finance?style=directory)](https://allmcps.com/mcp/yahoo-finance)
HTML Embed
<a href="https://allmcps.com/mcp/yahoo-finance"><img src="https://allmcps.com/api/badge/yahoo-finance?style=directory" alt="Yahoo Finance on AllMCPs" /></a>