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
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.
Related Servers
MarkItDown MCP Server
Convert documents to Markdown for LLMs quickly and accurately
Context7 MCP
Real‑time, version‑specific code docs for LLMs
Playwright MCP
Browser automation via structured accessibility trees
BlenderMCP
Claude AI meets Blender for instant 3D creation
Pydantic AI
Build GenAI agents with Pydantic validation and observability
Chrome DevTools MCP
AI-powered Chrome automation and debugging
Weekly Views
Server Health
Information
Explore More Servers
Headless Code Editor MCP Server
AI‑powered headless editor with LSP and MCP integration
OP.GG MCP Server
Seamless AI access to OP.GG League, TFT, and Valorant data
MCP Composer
Central gateway for dynamic MCP server orchestration
Enrichr MCP Server
Gene set enrichment via Enrichr, ready for LLMs
Mcp Sqlite Manager
Fast, structured SQLite access via MCP
Java MCP Server Demo
Demo server for Model Context Protocol in Java