# Yahoo Finance Scraper

> Yahoo Finance Scraper is a freemium MCP server for web search and scraping. Yahoo Finance quotes, fundamentals and price history via MCP for stocks, ETFs and crypto. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://apify.com/sumitr_mardy/yahoo-finance-scraper
- **MCP Registry name:** io.github.sumitrmardy/yahoo-finance-scraper
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping), [finance and payments](https://ai-powered.com/categories/finance-and-payments), [stock market data](https://ai-powered.com/categories/stock-market-data)
- **Listing updated:** 2026-11-21

## About

Pulls quotes, valuation ratios, margins, analyst targets and company profiles for any list of Yahoo Finance tickers in one run. Each ticker comes back as a row with the same keys, so results can be compared side by side or loaded straight into a spreadsheet. Optional daily, weekly or monthly OHLC history with adjusted close and volume can be requested for any date range.

The actor is hosted on Apify and can be reached from AI clients through an MCP endpoint, with OAuth sign-in or an API token. Fields that Yahoo does not publish for a given instrument, such as P/E for an index, are returned as null rather than estimated. Prices are what Yahoo shows on its public pages, so some markets are delayed by 15 to 20 minutes, and the marketTime field shows when each price was set.

It suits developers and analysts who need repeatable market data without a Yahoo API key, and agents that answer questions about share prices or company metrics. Intraday bars, options chains, full financial statements and news are not included in this version.

## Features

- **Batch ticker quotes:** Returns price, change, volume, market cap and related trading fields for many symbols in a single run.
- **Valuation and fundamentals:** Includes P/E, EPS, dividends, margins, cash flow and debt ratios where Yahoo publishes them.
- **Analyst targets:** Provides mean, high and low price targets, recommendation and analyst count.
- **Optional price history:** Adds daily, weekly or monthly OHLC bars with adjusted close and volume for a chosen date range.
- **Broad instrument coverage:** Handles stocks across many exchanges, ETFs, indices, crypto, currencies and futures.
- **MCP access:** Exposes the scraper as a hosted MCP endpoint that AI clients can call directly.

## Good for

- Pulling current prices and valuation ratios for a watchlist of stocks
- Building historical price datasets for backtesting a trading idea
- Feeding company metrics and analyst targets into an AI assistant
- Comparing margins and dividend yields across a sector
- Scheduling daily quote exports into a spreadsheet or webhook

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http yahoo-finance-scraper 'https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper'
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add yahoo-finance-scraper --url 'https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper'
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.yahoo-finance-scraper]
url = "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "httpUrl": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http yahoo-finance-scraper 'https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper'

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "serverUrl": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "type": "streamableHttp",
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "yahoo-finance-scraper": {
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper
```

Enter a Name (for example "Yahoo Finance Scraper"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for a bearer token. Add it under HTTP headers as Authorization: Bearer <your token>.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "yahoo-finance-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper"
    }
  }
}
```

## FAQ

### How far back does price history go?

As far as Yahoo has it, which is decades for large stocks; monthly bars from 2010 were tested for AAPL.

### Why is a field returned as null?

Yahoo does not publish that value for the instrument, for example P/E for an index or employees for crypto.

### Does Yahoo Finance Scraper need an API key?

No. It runs without a Yahoo API key or login; Apify sign-in or a token is only needed to run it through the Apify platform or MCP endpoint.

### Are unknown tickers charged?

No. Unknown tickers, failures and invalid inputs are not charged.

### How do I add Yahoo Finance Scraper to Claude Code?

Run this command in your terminal: claude mcp add --transport http yahoo-finance-scraper 'https://mcp.apify.com/?tools=sumitr_mardy/yahoo-finance-scraper'

### What are the best alternatives to Yahoo Finance Scraper?

The closest alternatives to Yahoo Finance Scraper are Yahoo Finance (stocks, options, financials), Finance: Stock, ETF & Crypto Data, Yahoo Finance, Real-Time Market Quotes, News & Social Sentiment MCP and Benethos Yahoo Finance MCP.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Yahoo Finance (stocks, options, financials)](https://ai-powered.com/mcp/yahoo-finance-stocks-options-financials): Yahoo Finance (stocks, options, financials) is a paid MCP server for finance and payments.
- [Finance: Stock, ETF & Crypto Data](https://ai-powered.com/mcp/finance-stock-etf-and-crypto-data): Finance: Stock, ETF & Crypto Data is a paid MCP server for finance and payments.
- [Yahoo Finance](https://ai-powered.com/mcp/yahoo-finance-2): Yahoo Finance is an open-source MCP server for finance and payments.
- [Real-Time Market Quotes, News & Social Sentiment MCP](https://ai-powered.com/mcp/real-time-market-quotes-news-and-social-sentiment-mcp): Real-Time Market Quotes, News & Social Sentiment MCP is a freemium MCP server for finance and payments.
- [Benethos Yahoo Finance MCP](https://ai-powered.com/mcp/benethos-yahoo-finance-mcp): Benethos Yahoo Finance MCP is an open-source MCP server for finance and payments.
- [Finance & Filings Data](https://ai-powered.com/mcp/finance-and-filings-data): Finance & Filings Data is a freemium MCP server for finance and payments.
- [FinanceQuery](https://ai-powered.com/mcp/financequery): FinanceQuery is an open-source MCP server for finance and payments.
- [Financekit MCP](https://ai-powered.com/mcp/financekit-mcp): Financekit MCP is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/yahoo-finance-scraper
