MCP Yahoo Finance
MCP Yahoo Finanzen
Ein Model Context Protocol (MCP)-Server für die Interaktion mit Yahoo Finance. Dieser Server bietet Tools zum Abrufen von Preisen, Unternehmensinformationen und mehr.
Bitte beachten Sie, dass sich
mcp-yahoo-financederzeit in der frühen Entwicklungsphase befindet. Die Funktionalität und die verfügbaren Tools können sich im Zuge der Weiterentwicklung und Verbesserung des Servers ändern und erweitern.
Installation
Sie müssen mcp-yahoo-finance nicht manuell installieren, wenn Sie uv verwenden. Wir verwenden uvx , um mcp-yahoo-finance direkt auszuführen.
Ich würde diese Methode empfehlen, wenn Sie einfach den MCP-Server verwenden möchten.
Verwenden von pip
Verwenden von pip .
pip install mcp-yahoo-financeVerwenden von Git
Sie können das Paket auch installieren, nachdem Sie das Repository auf Ihrem Computer geklont haben.
git clone git@github.com:maxscheijen/mcp-yahoo-finance.git
cd mcp-yahoo-finance
uv syncRelated MCP server: MCP Yahoo Finance
Konfiguration
Claude Desktop
Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu:
{
"mcpServers": {
"yahoo-finance": {
"command": "uvx",
"args": ["mcp-yahoo-finance"]
}
}
}Sie können auch Docker verwenden:
{
"mcpServers": {
"yahoo-finance": {
"command": "docker",
"args": ["run", "-i", "--rm", "IMAGE"]
}
}
}VSCode
Fügen Sie dies zu Ihrer .vscode/mcp.json hinzu:
{
"servers": {
"yahoo-finance": {
"command": "uvx",
"args": ["mcp-yahoo-finance"]
}
}
}Beispiele für Fragen
„Wie hoch ist der Aktienkurs von Apple?“
„Was ist der Unterschied im Aktienkurs zwischen Apple und Google?“
„Um wie viel hat sich der Aktienkurs von Apple zwischen dem 01.01.2024 und dem 01.01.2025 verändert?“
Bauen
Docker:
docker build -t [IMAGE] .Testen mit MCP Inspector
npx @modelcontextprotocol/inspector uv run mcp-yahoo-financeAvailable Tools
21 toolsget_capital_gainsB
Get normalized capital-gains distributions for a symbol.
Inputs: symbol (required).
get_cashflowB
Get the cashflow statement for a given stock symbol.
Inputs: symbol (required), freq.
get_company_overviewC
Get a normalized company overview for one stock symbol.
Inputs: symbol (required).
get_current_stock_priceC
Get the current stock price based on stock symbol.
Inputs: symbol (required).
get_dividendsB
Get normalized dividend history for a given stock symbol.
Inputs: symbol (required).
get_earning_datesB
Get recent and upcoming earnings dates.
Inputs: symbol (required), limit.
get_earnings_analyticsC
Get earnings surprise history and analyst estimate history.
Inputs: symbol (required), limit.
get_historical_stock_pricesC
Get historical stock prices for a given stock symbol.
Inputs: symbol (required), period, adjusted, interval.
get_income_statementC
Get the income statement for a given stock symbol.
Inputs: symbol (required), freq.
get_newsB
Get normalized, bounded news for a stock symbol.
Inputs: symbol (required), limit, end_date, start_date.
get_option_chainC
Get a filtered, bounded option chain for one expiration date.
Inputs: symbol (required), expiration_date (required), limit, moneyness, +6 more.
get_option_expiration_datesB
Get available option expiration dates for a stock symbol.
Inputs: symbol (required).
get_option_summaryB
Summarize option interest, volume, volatility, ratios, and max pain.
Inputs: symbol (required), expiration_date (required), limit.
get_performance_analysisC
Analyze adjusted performance for multiple symbols over a date range.
Inputs: symbols (required), end_date (required), start_date (required), limit, +1 more.
get_recommendationsC
Get analyst recommendations for a given symbol.
Inputs: symbol (required).
get_rich_quoteC
Get a normalized quote snapshot for one stock symbol.
Inputs: symbol (required).
get_stock_price_by_dateB
Get the stock price for a given stock symbol on a specific date.
Inputs: date (required), symbol (required).
get_stock_price_date_rangeC
Get stock prices for a symbol over an inclusive date range.
Inputs: symbol (required), end_date (required), start_date (required).
get_stock_splitsB
Get normalized stock split history for a symbol.
Inputs: symbol (required).
get_symbol_comparisonB
Compare current quote data for multiple stock symbols.
Inputs: symbols (required).
get_upcoming_dividendsC
Get upcoming dividend dates and rates when Yahoo provides them.
Inputs: symbol (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Several price-related tools overlap significantly: get_current_stock_price, get_rich_quote, get_stock_price_by_date, get_stock_price_date_range, and get_historical_stock_prices all return price data with only subtle scope differences. Other tool groups (options, earnings, dividends) are more clearly distinct, but the price cluster will likely cause misselection.
All tools follow a consistent get_<noun> snake_case pattern. The vocabulary varies slightly (e.g., stock_price vs. symbol), but the verb and casing convention is uniform throughout.
With 21 tools, the set is on the heavy side for a single finance data server. Many tools are justified, but the price-related group feels inflated with overlapping endpoints.
The surface covers quotes, historical prices, financial statements, options, earnings, dividends, splits, news, and recommendations. A balance sheet tool is missing, and some advanced Yahoo Finance capabilities (e.g., insider transactions, fund data) are absent, but core workflows are well supported.
Maintenance
Related MCP Connectors
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.
A Model Context Protocol server exposing real-time and historical Colombo Stock Exchange (CSE) data to AI agents and LLM applications. Provides quotes and OHLCV price history, full financial statements (income, balance sheet, cash flow), pre-computed technicals (moving averages, RS ratings, volume signals), macroeconomic indicators, corporate actions, and rule-based screening across CSE stocks and sector indices, everything needed to build CSE-aware trading assistants, research tools, and market-analysis agents. This is the official MCP server of www.ceyloncharts.com
Yahoo Finance for AI agents: quotes, price history, options with Greeks, financials, news, movers.
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.327MIT
- AlicenseCqualityNot gradedmaintenanceA Model Context Protocol server that provides tools for interacting with Yahoo Finance, allowing users to retrieve stock prices, company information, and perform financial data comparisons.11MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server providing comprehensive financial data from Yahoo Finance, allowing users to retrieve detailed stock information, financial statements, options data, and market news.34MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server providing comprehensive access to Yahoo Finance data through the yahooquery library, enabling AI assistants to retrieve stock prices, financial statements, market data, and company analytics.12MIT