Yahoo Finance2 logo

Yahoo Finance2

Unofficial Yahoo Finance API with MCP tools for quotes, market data, company details, and financial research.

Install Yahoo Finance2

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-finance2": {
      "command": "npx",
      "args": [
        "-y",
        "yahoo-finance2"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y yahoo-finance2

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 15d ago.

Overview

The yahoo-finance2 MCP server exposes an unofficial Yahoo Finance API to MCP clients, allowing agents to retrieve market and company data through tools. It is built on the yahoo-finance2 TypeScript package, which also provides CLI and programmatic interfaces. Use it for quote lookup, historical data, options, fundamentals, screeners, recommendations, and related research. The project is not affiliated with or endorsed by Yahoo, and it must run outside the browser because of CORS and cookie limitations.

Use cases

  • Look up current quotes for ticker symbols
  • Retrieve historical and chart data
  • Inspect company fundamentals and ownership
  • Search symbols and trending securities
  • Query options, screeners, and recommendations

Key features

  • MCP access to Yahoo Finance data
  • Quote and quote-summary queries
  • Historical, chart, and options data
  • Fundamentals and ownership modules
  • Symbol search and screeners
  • TypeScript, CLI, and Agent Skill support

Security & health

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

ActiveLast checked 1d ago

Recent health check succeeded.

9/9 checks healthy over the last 17d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · yahoo-finance2 (npm)

Adoption & maintenance

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

GitHub stars814Stargazers on the source repository.
npm downloads758kPackage downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Yahoo Finance2 works

What yahoo-finance2 does

The yahoo-finance2 MCP server makes selected capabilities from the yahoo-finance2 package available to MCP clients. It connects agents to Yahoo Finance data through an unofficial API and is intended for applications that need market information without building each Yahoo Finance request themselves.

Available API areas include current quotes, historical prices, chart data, options, company searches, trending symbols, screeners, recommendations by symbol, insights, and fundamentals time series. Quote summaries can expose company, financial, ownership, earnings, filing, sector, industry, and other supported modules. The underlying package also includes a combined quote helper.

This places the project in the Finance & Fintech category. It can fit research assistants, market-data workflows, and agents that need to look up symbols or inspect financial information. It should not be treated as an official Yahoo product or as a guaranteed data service.

How it works

An MCP-compatible client invokes the server's exposed yahoo-finance2 tools. The server uses the package's Yahoo Finance API functionality to retrieve and return results to the client. The same project can also be used independently through its command-line interface or imported into TypeScript and JavaScript applications, but those are separate usage modes from MCP.

The package supports Bun 1 or later, Deno 2 or later, Node 22 or later, and modern Cloudflare environments tested with Workers Vitest under nodejs_compat. Browser execution is not supported because of CORS and cookie issues; calls should run on a server, serverless function, or edge function.

Setup and configuration

Install and configure the package according to the repository's MCP documentation, then connect it to an MCP client. The README specifically identifies Codex, Claude, Cursor, and VS Code as clients that can use the MCP interface.

The repository also ships an Agent Skills-compatible skill. Compatible agents can install that skill with npx skills add gadicc/yahoo-finance2; this is an additional agent integration rather than a replacement for MCP configuration.

Tools and capabilities

The yahoo-finance2 MCP server is based on modules covering:

  • Quote and quote-summary retrieval
  • Symbol search and trending-symbol lookup
  • Historical and chart data
  • Options data
  • Insights and recommendations by symbol
  • Screeners
  • Fundamentals time series
  • Company, ownership, earnings, filing, sector, and industry details through quote-summary modules

The exact MCP tool names and invocation parameters should be taken from the repository's MCP documentation. The underlying CLI accepts operations such as search and quoteSummary, with JSON options supported for calls such as selecting quote-summary modules.

Limitations and notes

Yahoo Finance does not provide an official developer API for this project, and Yahoo Inc. does not endorse it. Service availability, response formats, and data continuity are not guaranteed. Use the package at your own risk and account for possible failures in production workflows.

Delisted stocks have an important data limitation: Yahoo may remove all related information, including historical and chart records from before delisting. A request that previously worked can therefore begin failing, with no supported way to recover the removed data.

The yahoo-finance2 MCP server is also unsuitable for direct browser-side execution. Run requests on a backend or serverless or edge runtime, then pass the required results to the browser.

Reviews

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

Frequently Asked Questions about Yahoo Finance2

yahoo-finance2 is an MCP server that connects MCP clients to an unofficial Yahoo Finance API through tools for quotes, quote summaries, historical and chart data, options, searches, screeners, recommendations, insights, and financial fundamentals. It is not created or endorsed by Yahoo and is intended to run on a server rather than directly in a browser.

Install and configure it using the repository's MCP documentation, then connect it to an MCP client.

No, the package cannot run directly in a browser because of CORS and cookie issues. Run calls on a server, serverless function, or edge function, and provide the resulting data to the browser.

It can retrieve quotes, quote summaries, historical and chart data, options, fundamentals time series, insights, recommendations, screeners, symbol searches, trending symbols, and multiple company, ownership, earnings, filing, sector, and industry modules.

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