# Yahoo Finance MCP Server

Fetch real-time stock quotes, compare securities, and analyze financial metrics from Yahoo Finance. Portfolio monitoring and stock screening.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add nexgendata-apify/yahoo-finance-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list nexgendata-apify/yahoo-finance-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get nexgendata-apify/yahoo-finance-mcp-server get_stock_quote

# Call a tool
npx -y @smithery/cli@latest tool call nexgendata-apify/yahoo-finance-mcp-server get_stock_quote '{}'
```

## Direct MCP Connection

Endpoint: `https://yahoo-finance-mcp-server--nexgendata-apify.run.tools`

**Optional config:**
- `apiKey` (query) — Your Apify API token for authenticated access. Get it from https://console.apify.com/settings/integrations. Required for data retrieval; optional for server discovery and capability listing.

## Tools (3)

- `get_stock_quote` — Fetch the current stock market quote for an individual ticker symbol. Returns real-time price, intraday change (dollars…
- `get_multiple_quotes` — Fetch current stock quotes for multiple ticker symbols in one request. Returns price, change, volume, and key metrics f…
- `compare_stocks` — Compare multiple stock securities side-by-side with key financial metrics and performance data. Returns price, P/E rati…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get nexgendata-apify/yahoo-finance-mcp-server <tool-name>
```

## Resources

- `finance://yahoo-coverage` — Real-time stock quotes, multi-stock comparison, and financial metrics from Yahoo Finance.

## Prompts (1)

- `stock_analysis` (tickers) — Analyze and compare stocks with current quotes, financial metrics, and side-by-side comparison.
