Yahoo Finance MCP Server

MIT License
7

Integrations

  • Provides a containerized deployment option for the Yahoo Finance MCP server, allowing users to run the server in an isolated environment without installing dependencies.

Yahoo Finance MCP Server

A simple MCP server for Yahoo Finance using yfinance. This server provides a set of tools to fetch stock data, news, and other financial information.

Tools

  • get_ticker_info
    • Retrieve stock data including company info, financials, trading metrics and governance data.
    • Inputs:
      • symbol (string): The stock symbol.
  • get_ticker_news
    • Fetches recent news articles related to a specific stock symbol with title, content, and source details.
    • Inputs:
      • symbol (string): The stock symbol.
  • search
    • Fetches and organizes search results from Yahoo Finance, including stock quotes and news articles.
    • Inputs:
      • query (string): The search query (ticker symbol or company name).
      • search_type (string): Type of search results to retrieve (options: "all", "quotes", "news").
  • get_top
    • Get top entities (ETFs, mutual funds, companies, growth companies, or performing companies) in a sector.
    • Inputs:
      • sector (string): The sector to get.
      • top_type (string): Type of top companies to retrieve (options: "top_etfs", "top_mutual_funds", "top_companies", "top_growth_companies", "top_performing_companies").
      • top_n (number, optional): Number of top entities to retrieve (default 10).

Usage

You can use this MCP server either via uv (Python package installer) or Docker.

Via uv

  1. Install uv
  2. Add the following configuration to your MCP server configuration file:
{ "mcpServers": { "yfmcp": { "command": "uvx", "args": ["-U", "yfmcp"] } } }

Via Docker

Add the following configuration to your MCP server configuration file:

{ "mcpServers": { "yfmcp": { "command": "docker", "args": ["run", "-i", "--rm", "narumi/yfinance-mcp"] } } }

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A simple MCP server for Yahoo Finance using yfinance. This server provides a set of tools to fetch stock data, news, and other financial information.

  1. Tools
    1. Usage
      1. Via uv
      2. Via Docker

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      An MCP server implementation that integrates with Angle One APIs to provide standardized access to financial market data, trading operations, and portfolio management.
      Last updated -
      Python
    • -
      security
      A
      license
      -
      quality
      An MCP server that integrates with the AlphaVantage financial data API, providing access to stock market data, technical indicators, and fundamental financial information.
      Last updated -
      Python
      MIT License
      • Linux
      • Apple
    • -
      security
      F
      license
      -
      quality
      A TypeScript-based MCP server that fetches real-time stock market data and company financial information through the Alpha Vantage API.
      Last updated -
      JavaScript
      • Apple
    • A
      security
      F
      license
      A
      quality
      An MCP server that provides real-time financial data integration with Alpha Vantage's API, enabling access to stock market data, cryptocurrency prices, forex rates, and technical indicators.
      Last updated -
      7
      2
      JavaScript

    View all related MCP servers

    ID: kt62jxr4x8