Skip to main content
Glama

Yahoo Finance MCP Server

MIT License
43

get_price_history

Retrieve historical stock price data for a specified symbol, period, and interval using the Yahoo Finance MCP Server.

Instructions

Fetch historical price data for a given stock symbol over a specified period and interval.

Input Schema

NameRequiredDescriptionDefault
intervalNoData interval frequency (e.g. '1d', '1h', '1m')1d
periodNoTime period to retrieve data for (e.g. '1d', '1mo', '1y')1mo
symbolYesThe stock symbol

Input Schema (JSON Schema)

{ "properties": { "interval": { "default": "1d", "description": "Data interval frequency (e.g. '1d', '1h', '1m')", "enum": [ "1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo" ], "title": "Interval", "type": "string" }, "period": { "default": "1mo", "description": "Time period to retrieve data for (e.g. '1d', '1mo', '1y')", "enum": [ "1d", "5d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max" ], "title": "Period", "type": "string" }, "symbol": { "description": "The stock symbol", "title": "Symbol", "type": "string" } }, "required": [ "symbol" ], "title": "get_price_historyArguments", "type": "object" }
Install Server

Other Tools from Yahoo Finance MCP Server

Related Tools

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

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