Skip to main content
Glama
refself

Yahoo Finance MCP Server

by refself

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_historical_stock_prices

Get OHLCV data for a ticker

get_stock_info

Get comprehensive stock information

get_yahoo_finance_news

Get latest news for a ticker

get_stock_actions

Get dividends and stock splits

get_financial_statement

Get income statement, balance sheet, or cashflow

get_holder_info

Get institutional, insider, and major holders

get_option_expiration_dates

Get available option expiration dates

get_option_chain

Get calls/puts option chain

get_recommendations

Get analyst recommendations

Setup

npm install

Development

npm run dev

Server runs at http://localhost:5173

Deploy

npm run deploy

Endpoints

Endpoint

Description

/

JSON documentation

/sse

MCP SSE transport

/mcp

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@latest

Connect 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 client

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Provides 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.
    1
    MIT
  • F
    license
    -
    quality
    F
    maintenance
    Enables 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
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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
  • A
    license
    -
    quality
    D
    maintenance
    Provides 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

View all related MCP servers

Related MCP Connectors

  • The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.

  • Global stock research, ML forecasts, valuation signals, screeners & portfolio tracking in Claude

  • SEC EDGAR for AI agents: company filings, financials and insider trades. No API keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/refself/yahoo-finance-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server