Skip to main content

No project description provided

Project description

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_quote

    • Search for stock quotes with company name, exchange, sector and industry information by keyword.
    • Inputs:
      • query (string): The search query.
      • max_results (number, optional): Maximum number of results (default 8).
  • search_news

    • Search for financial news articles matching a keyword with title, source and publication details.
    • Inputs:
      • query (string): The search query.
      • news_count (number, optional): Number of news articles (default 8).
  • 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

  1. Install uv.
  2. Add the following configuration to your MCP server configuration file.
{
  "mcpServers": {
    "yfmcp": {
      "command": "uvx",
      "args": ["yfmcp"]
    }
  }
}
{
  "mcpServers": {
    "yfmcp": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "narumi/yfinance-mcp"]
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yfmcp-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file yfmcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: yfmcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for yfmcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01c269985ea561fbcf726cf42548cc12295b1f2b6e895c5e644183894e7300fd
MD5 1fb6e07717c92168611696485d1e2a32
BLAKE2b-256 8a12ade0829c66888708e3105f6e2850efd8cac9258803e1cfef77a0b27fc07e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page