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?
관련 서버
Bright Data
스폰서Discover, extract, and interact with the web - one interface powering automated access across the public internet.
MCP NPX Fetch
Fetch and transform web content into various formats like HTML, JSON, Markdown, or Plain Text.
Github to MCP
Convert GitHub repositories to MCP servers automatically. Extract tools from OpenAPI, GraphQL & REST APIs for Claude Desktop, Cursor, Windsurf, Cline & VS Code. AI-powered code generation creates type-safe TypeScript/Python MCP servers. Zero config setup - just paste a repo URL. Built for AI assistants & LLM tool integration.
Web-curl
Fetch, extract, and process web and API content. Supports resource blocking, authentication, and Google Custom Search.
WebSearch
A web search and content extraction tool using the Firecrawl API for advanced web scraping, searching, and content analysis.
YouTube Transcript MCP Server
A high-performance MCP server for fetching YouTube video transcripts, with support for caching, rate limiting, and proxy rotation.
Fetch
Fetch web content as HTML, JSON, plain text, or Markdown.
MCP Go Colly Crawler
A web crawling framework that integrates the Model Context Protocol (MCP) with the Colly web scraping library.
Markdown Downloader
Download webpages as markdown files using the r.jina.ai service, with configurable directories and persistent settings.
Any Browser MCP
Attaches to existing browser sessions using the Chrome DevTools Protocol for automation and interaction.
Scrapeless
Integrate real-time Scrapeless Google SERP(Google Search, Google Flight, Google Map, Google Jobs....) results into your LLM applications. This server enables dynamic context retrieval for AI workflows, chatbots, and research tools.