Yahoo Finance MCP Server - Real-time stock data, company info, financial statements, and market analysis via Model Context Protocol
Yahoo Finance MCP Server - Real-time stock data, company info, financial statements, and market analysis via Model Context Protocol. Exposed over MCP by the yahoo mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
Real-time stock market data for Claude Desktop and any MCP-compatible client, powered by Yahoo Finance. Get quotes, historical prices, company profiles, financial statements, analyst ratings, and multi-stock comparisons, all from natural language.
Everything the assistant can do here goes through one of these:
period — 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, maxinterval — 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3moget_stock_quote — Current price, change, day and 52-week range, volume, market cap, P/E, EPS, dividend yieldget_historical_prices — OHLCV history with summary stats and total returnget_company_info — Business summary, key executives, valuation and financial highlightsget_financial_statements — Annual income statement, balance sheet, and cash flowcompare_stocks — Key metrics for multiple tickers side by side, plus quick insightsget_analyst_recommendations — Price targets, consensus, recommendation trend, and recent upgrades/downgradesget_market_news — Latest news headlines with source, date, summary, and linkget_options_chain — Expiration dates, or the calls/puts chain (strike, bid/ask, volume, OI, IV)get_holders — Institutional, mutual-fund, or major holders, or insider transactionsget_dividends_splits — Dividend payment history (with summary) and stock-split historyInstallation goes through your MCP client rather than a global install: point it at wrapper on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
You will need one environment variable: ANTHROPIC_BASE_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the payments and commerce options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Yahoo's toolset — period, interval, get_stock_quote and 11 more — is a fair guide to whether it matches your workflow. It is maintained by danielshashko; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Yahoo's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| period | 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max |
| interval | 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo |
| get_stock_quote | Current price, change, day and 52-week range, volume, market cap, P/E, EPS, dividend yield |
| get_historical_prices | OHLCV history with summary stats and total return |
| get_company_info | Business summary, key executives, valuation and financial highlights |
| get_financial_statements | Annual income statement, balance sheet, and cash flow |
| compare_stocks | Key metrics for multiple tickers side by side, plus quick insights |
| get_analyst_recommendations | Price targets, consensus, recommendation trend, and recent upgrades/downgrades |
| get_market_news | Latest news headlines with source, date, summary, and link |
| get_options_chain | Expiration dates, or the calls/puts chain (strike, bid/ask, volume, OI, IV) |
| get_holders | Institutional, mutual-fund, or major holders, or insider transactions |
| get_dividends_splits | Dividend payment history (with summary) and stock-split history |
| get_analyst_estimates | Forward price targets, EPS/revenue estimates by period, and growth estimates |
| search_symbols | Find ticker symbols by company name or keyword |
{
"mcpServers": {
"yahoo-finance": {
"command": "npx",
"args": ["-y", "yahoo-finance-mcp-server"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| ANTHROPIC_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Payments infrastructure meets AI — customers, invoices, subscriptions and current API docs from Stripe's server.
Build for Shopify with current APIs — the official Dev MCP server for schema-accurate storefront and admin code.
Give your AI assistant a supervised window into your Interactive Brokers account — balances, positions, live quotes and orders.
Invoices, payments and disputes through PayPal's official server — commerce operations by conversation.
Enables querying and listing Azure resources and costs directly from an MCP client.
Empowers LLMs with Bitcoin Lightning Network payment capabilities via the ZBD API.