Yahoo Finance MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yahoo Finance MCP ServerShow me the latest news and analyst recommendations for AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yahoo Finance MCP Server
A remote MCP (Model Context Protocol) server for Yahoo Finance data, deployed on Cloudflare Workers.
Features
9 tools for accessing Yahoo Finance data
Cookie + Crumb authentication for reliable API access
SSE and Streamable HTTP transport support
Cloudflare Workers deployment with Durable Objects
Related MCP server: Yahoo Finance MCP Server
Tools
Tool | Description |
| Get OHLCV data for a ticker |
| Get comprehensive stock information |
| Get latest news for a ticker |
| Get dividends and stock splits |
| Get income statement, balance sheet, or cashflow |
| Get institutional, insider, and major holders |
| Get available option expiration dates |
| Get calls/puts option chain |
| Get analyst recommendations |
Setup
npm installDevelopment
npm run devServer runs at http://localhost:5173
Deploy
npm run deployEndpoints
Endpoint | Description |
| JSON documentation |
| MCP SSE transport |
| MCP Streamable HTTP transport |
Usage
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"yahoo-finance": {
"command": "npx",
"args": ["mcp-remote", "https://your-worker.workers.dev/sse"]
}
}
}MCP Inspector
npx @modelcontextprotocol/inspector@latestConnect to http://localhost:5173/sse (local) or https://your-worker.workers.dev/sse (deployed).
Project Structure
src/
├── server.ts # Worker entry point
├── mcp.ts # MCP server with tool definitions
└── yahoo-finance-api.ts # Yahoo Finance API clientLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Stock market data for AI agents: real-time quotes, financials, options, SEC filings and news.
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Scrape stock quotes, historical prices, and financial statements from Yahoo Finance.
Institutional financial data with SEC filing citations, for every AI agent. OAuth 2.1.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides real-time financial data from Yahoo Finance to Large Language Models through the Model Context Protocol, enabling AI models to access stock prices, historical data, and company information.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to access real-time financial data, historical stock prices, company information, financial statements, options data, market news, and analyst recommendations through Yahoo Finance. Built with FastMCP v2 for efficient HTTP streaming and comprehensive market analysis tools.3-
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to retrieve stock market data and financial information from Yahoo Finance using the yfinance Python library. Supports querying stock prices, historical data, and other financial metrics through natural language.MIT
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive financial data from Yahoo Finance, enabling retrieval of stock prices, company information, financial statements, options data, analyst recommendations, and market news through natural language queries.MIT