Yahoo Finance MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yahoo Finance MCP Serverget the current price and 52-week high for Apple stock"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server for Interacting with Yahoo Finance
The Model Context Protocol (MCP) is an open standard developed by Anthropic to enable seamless integration between Large Language Models (LLMs) and external tools, services, and data sources.
This project provides a simple implementation that allows LLM to interact with Yahoo Finance through the yfinance Python library.
The server uses fastmcp and runs within a Docker container to ensure portability.
Installation
Using python & pip:
pip install .Alternative - using Docker:
docker build -t yfinance-mcp-server .Related MCP server: SerpApi MCP Server
Configuration
If installed using python & pip, add this item in MCP settings:
"mcpServers": {
"YahooFinanceServer": {
"command": "python",
"args": ["-m", "yfinance_mcp_server"]
}
}
If installed using Docker, add this item in MCP settings:
"mcpServers": {
"YahooFinanceServer": {
"command": "docker",
"args": ["run", "-i", "yfinance-mcp-server"]
}
}Example
In your LLM interface, e.g. Cline, you can ask something like:
What is MSFT's stock price on Jan 1, 2025?This server cannot be deployed
Maintenance
Related MCP Connectors
Yahoo Finance for AI agents: quotes, price history, options with Greeks, financials, news, movers.
Scrape stock quotes, historical prices, and financial statements from Yahoo Finance.
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Stock research for AI assistants: scan US stocks, ETFs and futures, cite SEC filings, save queries.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to run real-time searches across Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and other engines, returning results such as answer boxes, news, images, shopping, weather and stock data. Responses are automatically detected and formatted as structured JSON or token-saving Markdown, with optional interactive UI tools for tabular and dashboard views.-
- FlicenseNot gradedqualityAmaintenanceEnables querying Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and other search engines for real-time search results, weather, stock data, and more. Supports flexible JSON or Markdown responses with optional interactive table and dashboard views.-
- FlicenseNot gradedqualityAmaintenanceEnables querying Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and other search engines to retrieve real-time results such as answer boxes, news, images, shopping, weather, and stock data. Responses can be returned as complete or compact JSON, or as Markdown to cut token usage, with optional interactive UI tools for tables and dashboards.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to run queries across Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and many other search engines, returning structured JSON or Markdown results. Supports location and engine-specific parameters, real-time weather and stock data, and automatic formatting of answer boxes, organic results, news, images, and shopping listings.-