mcp-server-yahoo-finance

mcp-server-yahoo-finance

0

The MCP Yahoo Finance Server is a tool for fetching and managing stock-related data using Yahoo Finance API. It supports real-time stock data retrieval and historical price analysis. A web-based UI enhances user interaction, combining Azure OpenAI for natural queries.

Overview

The MCP Yahoo Finance Server is a tool designed to fetch real-time stock data, company information, and historical price data using the Yahoo Finance API. It integrates with the Multi-Client Protocol (MCP) framework to provide seamless communication between clients and the server. The project also includes a web-based UI built using FastAPI and DaisyUI components, enabling users to interact with the server through an intuitive interface.

Features

  • Fetch current stock prices for any stock symbol.
  • Retrieve detailed company information, including sector and market cap.
  • Get historical stock price data for specific date ranges.
  • Integrates with the MCP framework for easy client-server interactions.
  • Utilizes Azure OpenAI for natural language queries.

Installation

  • Install prerequisites such as pipx and uv.
  • Build a project and environment, install dependencies, and configure.

Usage

  • Run the server to access Yahoo Finance data.
  • Start the FastAPI app to interact with the UI.

TODO

  • Improve error handling and performance.
  • Expand API coverage.
  • Enhance documentation.