mcp-yh-finance
Verified Safeby Tilak-Shenoy
Overview
Provides a Model Context Protocol (MCP) server for retrieving comprehensive Yahoo Finance data, including market quotes, historical data, financial statements, and options data.
Installation
uv run yahoofinanceEnvironment Variables
- RAPIDAPI_KEY
Security Notes
The server handles API keys by retrieving them from `Context.session_config` or environment variables (`RAPIDAPI_KEY`), which prevents hardcoding. It uses the `requests` library for external API calls, which is a standard and generally secure practice. There are no `eval` or `exec` calls, and no obvious direct shell command execution. Responses are limited in size for some tools, reducing potential for large data transfers or denial-of-service via oversized responses. Error handling for API failures is present.
Similar Servers
mcp-aktools
This MCP server provides real-time and historical financial data for stocks and cryptocurrencies, offering search, detailed information retrieval, market overviews, news, and analysis capabilities.
yfinance-mcp
Fetches real-time and historical stock data, news, and financial charts from Yahoo Finance.
alpha_vantage_mcp
Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).
akshare_mcp
Provides an MCP server exposing selected AKShare financial data interfaces for client applications like LLMs.