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 information about a specific stock symbol using Yahoo Finance API.
    • Inputs:
      • symbol (string): The stock symbol.
  • get_ticker_news

    • Fetch news articles for a given stock ticker symbol.
    • Inputs:
      • symbol (string): The stock symbol.
  • search_quote

    • Search for quotes using a query string.
    • Inputs:
      • query (string): The search query.
      • max_results (number, optional): Maximum number of results (default 8).
  • search_news

    • Search for news articles using a query string.
    • Inputs:
      • query (string): The search query.
      • news_count (number, optional): Number of news articles (default 8).
  • get_top_etfs

    • Retrieve the top ETFs in a specific sector.
    • Inputs:
      • sector (string): The sector to get ETFs for.
  • get_top_mutual_funds

    • Retrieve the top mutual funds in a specific sector.
    • Inputs:
      • sector (string): The sector to get mutual funds for.
  • get_top_companies

    • Retrieve the top companies in a specific sector.
    • Inputs:
      • sector (string): The sector to get companies for.
      • top_n (number): Number of top companies to retrieve.
  • get_top_growth_companies

    • Retrieve the top growth companies in a specific sector.
    • Inputs:
      • sector (string): The sector to get companies for.
      • top_n (number): Number of top growth companies to retrieve.
  • get_top_performing_companies

    • Retrieve the top performing companies in a specific sector.
    • Inputs:
      • sector (string): The sector to get companies for.
      • top_n (number): Number of top performing companies to retrieve.

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.1.11-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yfmcp-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7b232f4c15bee77a7949eeb7770cf80af9f84cb7325d60464e5431132694c5
MD5 f2ee0579501ae160e23a46d1b8e7f986
BLAKE2b-256 2e76cb1b3f2d564440b204b7ba50cfb110a51636df9f1231906d40a78d4f0e13

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