1. Conduid
  2. Developer Tools
  3. Yahoo Finance MCP
MCP server · Developer Tools

Yahoo Finance MCP

MCP server for Yahoo Finance data - stock quotes, historical prices, financials, company info, and news

64Good

Scored 2 days ago · breakdown

About Yahoo Finance MCP

Yahoo Finance MCP is an MCP server published by nrempel in the Developer Tools category: mCP server for Yahoo Finance data - stock quotes, historical prices, financials, company info, and news.

The repository has 1 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/nrempel/yahoo-finance-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Yahoo Finance MCP

Powered by Claude · Grounded in docs

I know everything about Yahoo Finance MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

v1.0.5v1.0.5 · 31 Dec 2025Add npm badge to README
v1.0.4v1.0.4 · 31 Dec 2025Fix: Suppress yahoo-finance2 stdout logging that was breaking MCP JSON-RPC communication
v1.0.3v1.0.3 · 31 Dec 2025Fix npm trusted publishing
v1.0.2v1.0.2 · 31 Dec 2025Fix npm publish workflow
v1.0.1v1.0.1 · 31 Dec 2025Update README with npm installation instructions for Claude Code and Claude Desktop

README

Yahoo Finance MCP Server

npm version

A Model Context Protocol (MCP) server that provides access to Yahoo Finance data including stock quotes, historical prices, financial statements, company information, symbol search, and news.

Installation

Claude Code

claude mcp add yfinance-mcp -- npx yfinance-mcp

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "yfinance-mcp": {
      "command": "npx",
      "args": ["yfinance-mcp"]
    }
  }
}

Available Tools

get_quote

Get real-time stock quote data including price, change, volume, and key metrics.

Parameters:

  • symbol (string, required): Stock ticker symbol (e.g., "AAPL", "GOOGL")

Example response:

{
  "symbol": "AAPL",
  "name": "Apple Inc.",
  "price": 273.08,
  "change": -0.68,
  "changePercent": -0.25,
  "volume": 20667651,
  "marketCap": 4052613332992,
  "peRatio": 36.56
}

get_historical

Get historical OHLCV (Open, High, Low, Close, Volume) price data.

Parameters:

  • symbol (string, required): Stock ticker symbol
  • period (string, optional): Time period - "1d", "5d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "max" (default: "1mo")
  • interval (string, optional): Data interval - "1d", "1wk", "1mo" (default: "1d")

get_financials

Get company financial statements (income statement, balance sheet, or cash flow).

Parameters:

  • symbol (string, required): Stock ticker symbol
  • statement (string, required): Type of statement - "income", "balance", "cashflow"
  • quarterly (boolean, optional): Get quarterly data instead of annual (default: false)

get_company_info

Get company profile including sector, industry, description, and key statistics.

Parameters:

  • symbol (string, required): Stock ticker symbol

search_symbols

Search for stock symbols by company name or keywords.

Parameters:

  • query (string, required): Search query (company name or keywords)

get_news

Get latest news for a stock symbol.

Parameters:

  • symbol (string, required): Stock ticker symbol

Development

Run in development mode

pnpm dev

Run tests

pnpm test           # Run tests in watch mode
pnpm test -- --run  # Run tests once

Run tests with coverage

pnpm test:coverage

Lint and format

pnpm lint       # Check for linting errors
pnpm lint:fix   # Fix linting errors
pnpm format     # Format code with Prettier

Build

pnpm build

Tech Stack

  • TypeScript
  • MCP SDK (@modelcontextprotocol/sdk)
  • yahoo-finance2
  • Zod for input validation
  • Vitest for testing
  • ESLint + Prettier for code quality

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Yahoo Finance MCP

How do I install Yahoo Finance MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Yahoo Finance MCP safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Yahoo Finance MCP still maintained?

The last commit was 9 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.