Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Yfinance MCP

MCP server by nrempel Verified · npm:yfinance-mcp

Yfinance MCP gives AI assistants access to Yahoo Finance data, including stock quotes, historical prices, financial statements, company info, symbol search and news. It is aimed at users who want market data inside tools like Claude Desktop or Claude Code.

  • Score 51
  • 1 stars
  • 41 a week
  • MIT
  • Updated

Install Yfinance MCP

Built from the published package, never by AI.

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

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Yfinance MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the yfinance-mcp block.

About

Yfinance MCP is a Model Context Protocol server that gives AI assistants access to Yahoo Finance data. It provides stock quotes, historical OHLCV price data, income, balance sheet and cash flow statements, company profiles, symbol search, and news for a ticker. The server is built with TypeScript, the MCP SDK, the yahoo-finance2 library and Zod for input validation.

The project is installed with npx and added to Claude Code or Claude Desktop, as the README shows. It is aimed at users who want financial data available inside an AI assistant. The repository also includes scripts for development, tests, linting, formatting and builds using pnpm. It is released under the MIT license.

Written from the project's README and checked against it.

Tools it gives your assistant

  • get_quoteReturns real-time stock quote data such as price, change, volume and market cap.
  • get_historicalReturns historical OHLCV price data for a symbol over a chosen period and interval.
  • get_financialsReturns income statement, balance sheet or cash flow data, annual or quarterly.
  • get_company_infoReturns a company profile including sector, industry, description and key statistics.
  • search_symbolsSearches for stock symbols by company name or keywords.
  • get_newsReturns the latest news for a stock symbol.

What you need

  • npx to run the yfinance-mcp npm package
  • Claude Code or Claude Desktop as the MCP client

Try asking

  • Get the current quote and volume for AAPL
  • Show quarterly income statements for GOOGL
  • Find the latest news about Apple stock

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Yfinance MCP

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

Yfinance MCP: common questions

What data does Yfinance MCP provide?

It provides stock quotes, historical prices, income, balance sheet and cash flow statements, company info, symbol search and news, all sourced from Yahoo Finance.

Which AI assistants can use it?

The README shows setup for Claude Code and Claude Desktop.

What license is Yfinance MCP released under?

The project is released under the MIT license.

How do I install Yfinance MCP?

In Claude Code run claude mcp add yfinance-mcp -- npx -y yfinance-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Yfinance MCP the official server?

Yfinance MCP is published by npm:yfinance-mcp from its verified domain in the official MCP Registry.

Is Yfinance MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Yfinance MCP safe to use?

It scores 51 of 100. Grades: maintenance D, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Yfinance MCP?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does Yfinance MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Yfinance MCP Install

Add to stack

Loading.