Yahoo Finance
Interact with Yahoo Finance to get stock data, market news, and financial information using the yfinance Python library.
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 .
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?
Verwandte Server
Bright Data
SponsorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Browserbase
Automate browser interactions in the cloud (e.g. web navigation, data extraction, form filling, and more)
Web Search
Performs web searches and extracts full page content from search results.
Crawl4AI RAG
Integrate web crawling and Retrieval-Augmented Generation (RAG) into AI agents and coding assistants.
MCP Deep Web Research Server
An advanced web research server with intelligent search queuing, enhanced content extraction, and deep research capabilities.
Google Maps Reviews MCP Server
Summarizes reviews for a specific location from Google Maps.
MCP Web Scraper
A production-ready web scraping platform with ML-powered automation, browser automation via Playwright, and persistent caching.
yt-dlp
Download video and audio from YouTube and other platforms using the yt-dlp tool.
Pip Server
Market Data
Driflyte
The Driflyte MCP Server exposes tools that allow AI assistants to query and retrieve topic-specific knowledge from recursively crawled and indexed web pages.
Selenium MCP Server
Control web browsers using the Selenium WebDriver for automation and testing.