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
Frequently Asked Questions
Do I need an API key?
Which AI clients does it work with?
Is the market data real-time?
Want help getting cited by AI search?
These tools are free to use. If you would rather have it done for you, let us put your brand in front of ChatGPT, Perplexity and Google AI.