npx -y yahoo-finance-mcp-server
Yahoo Finance MCP
A Model Context Protocol server that gives your AI assistant real-time stock quotes, charts, financials, analyst ratings and multi-stock comparisons, from plain language. Powered by the free Yahoo Finance API.
Quick Start
Yahoo Finance MCP is a beginner-friendly Model Context Protocol server that gives your AI assistant real-time stock market data straight from natural language. Ask for a quote, a year of price history, an income statement, analyst price targets or a side-by-side comparison of several tickers, and it answers in clean, readable markdown (or structured JSON on request).
It works with any MCP-compatible client. Add one line to your config, restart, and the npx wrapper sets up an isolated Python environment for you. No API keys, no sign-up, no proxying: requests go straight to the free Yahoo Finance API.
Key features
Built with
- Python 3.10+
- Model Context Protocol
- yfinance
- curl_cffi
- Pydantic
- npx