Financial Data MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with real-time financial market data through Yahoo Finance.

Local serverstdioPython

What is the Financial Data MCP Server?

Financial Data becomes available to MCP clients through the financial data mcp server. A Model Context Protocol (MCP) server that provides AI assistants with real-time financial market data through Yahoo Finance.

What Financial Data does

A Model Context Protocol (MCP) server that provides AI assistants with real-time financial market data through Yahoo Finance.

Key capabilities

  • Stock Data — Current prices, historical data, market metrics
  • Options — Options chains with strikes, prices, and volume
  • Technical Analysis — Moving averages, RSI, Sharpe ratio
  • Comparisons — Compare multiple stocks across metrics
  • News — Get recent company news headlines
  • Dividends — Get dividend history for a stock

Practical notes

  • Maintained by Samarth2001, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_stock_pricesymbol: str)
get_historical_datasymbol: str, period: str = "1mo", interval: str = "1d")
get_options_chainsymbol: str, expiration_date: Optional[str] = None, sort_by: Optional[str] = "volume", limit: int = 20, descending: bool = True)
get_company_newssymbol: str, limit: int = 5)
get_dividendssymbol: str, period: str = "5y")
calculate_moving_averagesymbol: str, period: int = 20, ma_type: str = "SMA")
calculate_rsisymbol: str, period: int = 14)
calculate_sharpe_ratiosymbol: str, period: str = "1y", risk_free_rate: float = 0.05)
compare_stockssymbols: List[str], metric: str = "performance")
clear_cache)

How to install the Financial Data MCP Server

{
  "mcpServers": {
    "financial-data": {
      "command": "python",
      "args": [
        "path/to/server.py"
      ],
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
PYTHONUNBUFFEREDDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Financial Data to Comparison.”
  • “Use Financial Data to Utility.”

Frequently asked questions

A Model Context Protocol (MCP) server that provides AI assistants with real-time financial market data through Yahoo Finance. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.