MCPSERV.CLUB
Adity-star

MCP YFinance Stock Server

MCP Server

Real‑time stock data and analysis via Yahoo Finance

Active(71)
30stars
2views
Updated 18 days ago

About

A Python MCP server that exposes real‑time stock prices, watchlist management, technical indicators, and full analysis tools using the Yahoo Finance API. Ideal for AI agents needing instant market insights.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

image

Overview

The MCP YFinance Stock Server is a purpose‑built backend that exposes real‑time and historical market data from Yahoo Finance through the Model Control Protocol. By turning a popular free API into a set of AI‑ready tools, it solves the problem of data latency and reliability that many generative agents face when attempting to answer finance‑related queries. Developers can now plug this server into a Claude or GPT workflow and receive live price feeds, technical indicators, and watchlist insights without writing custom scrapers or handling authentication complexities.

At its core, the server provides a collection of declarative tools: , , , and a suite of technical analysis helpers such as moving averages, RSI, and MACD. Each tool is defined in plain JSON‑like descriptors that MCP clients understand, allowing the assistant to ask for parameters, validate input types, and return structured results. The server’s design emphasizes low‑overhead latency; it caches recent queries for a few seconds and streams updates to subscribed clients, ensuring that agents can make time‑sensitive decisions such as swing trading or portfolio rebalancing.

Key capabilities include:

  • Real‑time price retrieval: Fetch the latest bid/ask and close prices for any ticker, with optional granularity.
  • Watchlist management: Persist user‑defined lists of tickers, automatically refreshing their data and alerting on threshold crossings.
  • Full technical indicator set: Compute common momentum, trend, and volatility metrics on demand, enabling agents to generate concise market summaries.
  • Dashboard integration: The server ships with a lightweight web UI that visualizes price charts, indicator overlays, and watchlist status—useful for debugging or presenting results to end users.

Typical use cases span from personal finance assistants that remind users of price movements, to automated portfolio managers that rebalance based on indicator signals. In a conversational AI setting, an assistant can say, “Let me pull the latest 50‑day moving average for AAPL,” and immediately receive a structured response that can be rendered in the chat interface or fed into downstream reasoning modules.

What sets this MCP server apart is its blend of simplicity and depth. It requires no API keys, leverages a well‑documented public data source, and exposes all functionality through the MCP contract. Developers can thus focus on higher‑level business logic—such as risk assessment or sentiment analysis—while the server handles data ingestion, caching, and tool orchestration. This tight integration with MCP makes it a natural fit for any AI workflow that needs reliable, up‑to‑date market intelligence.