Skip to main content
Glama
peidaqi

Yahoo Finance MCP Server

by peidaqi

MCP Server for Interacting with Yahoo Finance


The Model Context Protocol (MCP) is an open standard developed by Anthropic to enable seamless integration between Large Language Models (LLMs) and external tools, services, and data sources.

This project provides a simple implementation that allows LLM to interact with Yahoo Finance through the yfinance Python library.

The server uses fastmcp and runs within a Docker container to ensure portability.

Installation

  • Using python & pip:

pip install .
  • Alternative - using Docker:

docker build -t yfinance-mcp-server .

Related MCP server: Yahoo Finance MCP Server

Configuration

  • If installed using python & pip, add this item in MCP settings:

"mcpServers": {
    "YahooFinanceServer": {
      "command": "python",
      "args": ["-m", "yfinance_mcp_server"]
    }
  }
  • If installed using Docker, add this item in MCP settings:

"mcpServers": {
    "YahooFinanceServer": {
      "command": "docker",
      "args": ["run", "-i", "yfinance-mcp-server"]
    }
  }

Example

In your LLM interface, e.g. Cline, you can ask something like:

What is MSFT's stock price on Jan 1, 2025?
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.
    Last updated
    1
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables querying Yahoo Finance data including stock prices, historical data, financial statements, dividends, news, analyst recommendations, and company information through the yfinance library.
    Last updated
  • 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.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

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/peidaqi/yfinance-mcp-server'

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