MCP Server for Yahoo Finance Data. Provides Claude Code access to comprehensive financial data via yfinance. Includes intelligent caching based on data volatility.
Server provides 7 well-structured financial tools with complete JSON schemas and clear descriptions. All tools follow verb_noun naming (get_*) and include parameter type definitions. Descriptions average ~120 chars, meeting baseline (p10=34, p90=392). However, parameter descriptions lack actionable constraints (e.g., no format specs for symbol, no range limits for numeric outputs). Output schemas are not documented, LLMs cannot predict response structure. Error handling is absent from visible code. No tool annotations (readOnlyHint, idempotentHint) despite all being read-only operations. Caching logic is present but not exposed to LLM for planning.
Get dividend and stock split history for corporate action analysis
Get balance sheet showing assets, liabilities, and equity. Supports both annual and quarterly data
Get cash flow statement showing operating, investing, and financing cash flows. Supports both annual and quarterly data
Get comprehensive company information including sector, industry, description, key metrics (P/E, market cap, dividend yield, etc.), financial metrics (profit margins, ROE, debt ratio), and contact information
Get quick-access company metrics including current price, market cap, PE ratio, and other key stats. Faster alternative to get_company_info for basic data
Get income statement (P&L) showing revenue, expenses, and net income. Supports both annual and quarterly data
No output schema documentation. LLMs cannot predict response structure (fields, types, nesting). Responses are formatted as text via dataframe_to_text() and dict_to_text(), but no schema is exposed to guide agent planning or field extraction.
Parameter descriptions lack actionable constraints. 'symbol' has no format spec (uppercase? length?). 'period' and 'interval' enums are present but descriptions don't explain when to use each. No guidance on valid symbol formats for international exchanges.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
Get historical OHLCV (Open, High, Low, Close, Volume) price data. Supports multiple periods and intervals for technical analysis
No error handling guidance in code. No try-catch blocks visible, no error classification (retryable vs fatal), no recovery hints. If yfinance fails (invalid symbol, rate limit, network error), LLM receives raw exception with no actionable next step.
No tool annotations despite all tools being read-only. Adding readOnlyHint=true to all tools would signal to agents that these are safe to call without confirmation, improving planning efficiency.
Caching TTL strategy is hardcoded and invisible to LLM. No way for agent to know if data is fresh or stale. Consider exposing cache_age or freshness_guarantee in response, or adding a 'force_refresh' parameter.