Skip to main content
Glama
joshthecoder-hub

Yahoo Finance MCP Server

Moved to new github account: https://github.com/josh-g-s/Yahoo-Finance-MCP

Yahoo Finance MCP Server

A lightweight MCP server for accessing Yahoo Finance data. No persistent service required - the server runs only when needed.

Features

  • get-stock-price: Get current stock price and basic trading information

  • get-stock-history: Get historical price data for various time periods

  • get-stock-info: Get detailed company information

  • get-financials: Get financial statements (income, balance sheet, cash flow)

Related MCP server: yfin-mcp

Installation

pip install -e .

Usage

The server uses stdio for communication (no HTTP server needed). Configure it in your MCP client:

{
  "mcpServers": {
    "yahoo-finance": {
      "command": "python",
      "args": ["-m", "yahoo_finance_mcp"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "yahoo-finance": {
      "command": "yahoo-finance-mcp"
    }
  }
}

Examples

  • Get Apple stock price: get-stock-price with {"ticker": "AAPL"}

  • Get Tesla's last 6 months: get-stock-history with {"ticker": "TSLA", "period": "6mo"}

  • Get Microsoft info: get-stock-info with {"ticker": "MSFT"}

  • Get Amazon financials: get-financials with {"ticker": "AMZN", "statement_type": "income"}

F
license - not found
-
quality - not tested
C
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.

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/joshthecoder-hub/Yahoo-Finance-MCP'

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