Yfinance
Exposes Yahoo Finance fundamental and historical data for Japanese and US equities through a Model Context Protocol server.
This tool serves as an MCP server, providing access to comprehensive financial data for both Japanese and US equities directly from Yahoo Finance. It allows AI assistants to autonomously retrieve detailed financial statements, key ratios, historical prices, and analyst recommendations, eliminating the need for users to manually input data. The server is designed for personal research and educational purposes, adhering to rate limits and usage policies while ensuring data consistency and reliability for a seamless analytical experience.
Características Principales
01Self-calculates missing financial metrics like Return on Equity and Operating Margins when data is not directly provided by Yahoo Finance.
020 GitHub stars
03Retrieve historical OHLCV data (up to 400 data points) and analyst recommendations and rating changes.
04Access stock quotes, detailed financial statements (income, balance, cash flow), and key financial ratios.
05Ensures JSON-safe responses by converting non-standard values (NaN, NaT, Inf) to null and Timestamps to ISO strings.
06Implements intelligent caching (LRU, 5-10 min TTL) and rate limiting (0.5 sec interval, 1000 daily requests) to manage upstream API calls efficiently.
Casos de Uso
01Conducting personal research and educational analysis of stock fundamentals and historical performance.
02Empowering AI assistants to autonomously fetch and analyze financial data for Japanese and US equities.
03Monitoring analyst ratings and stock price changes for investment insights.