Skip to main content
Glama

Financial Datasets MCP Server

Official
MIT License
433
  • Apple

get_historical_stock_prices

Retrieve historical stock prices for a specific company by providing the ticker symbol, date range, and interval. Access data for analysis, insights, or decision-making on financial performance.

Instructions

Gets historical stock prices for a company.

Args: ticker: Ticker symbol of the company (e.g. AAPL, GOOGL) start_date: Start date of the price data (e.g. 2020-01-01) end_date: End date of the price data (e.g. 2020-12-31) interval: Interval of the price data (e.g. minute, hour, day, week, month) interval_multiplier: Multiplier of the interval (e.g. 1, 2, 3)

Input Schema

NameRequiredDescriptionDefault
end_dateYes
intervalNoday
interval_multiplierNo
start_dateYes
tickerYes

Input Schema (JSON Schema)

{ "properties": { "end_date": { "title": "End Date", "type": "string" }, "interval": { "default": "day", "title": "Interval", "type": "string" }, "interval_multiplier": { "default": 1, "title": "Interval Multiplier", "type": "integer" }, "start_date": { "title": "Start Date", "type": "string" }, "ticker": { "title": "Ticker", "type": "string" } }, "required": [ "ticker", "start_date", "end_date" ], "title": "get_historical_stock_pricesArguments", "type": "object" }

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/financial-datasets/mcp-server'

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