Skip to main content
Glama

Financial Analysis MCP Server

by NARAVINDR321

retrieve_stock_data

Retrieve historical stock data for specified tickers, date range, and interval using yfinance. Outputs a dictionary mapping tickers to their historical data for analysis and research.

Instructions

Retrieves stock data for a list of tickers using yfinance. Args: ticker_list: List of ticker symbols (e.g., ['AAPL', 'MSFT', 'GOOGL']) start_date: Start date of the data (e.g., '2024-01-01') end_date: End date of the data (e.g., '2024-12-31') interval: Data interval (e.g., '1d', '1h', '5m', etc.) Returns: Dict mapping ticker to its historical data (as a list of dicts).

Input Schema

NameRequiredDescriptionDefault
end_dateYes
intervalNo1d
start_dateYes
ticker_listYes

Input Schema (JSON Schema)

{ "properties": { "end_date": { "title": "End Date", "type": "string" }, "interval": { "default": "1d", "title": "Interval", "type": "string" }, "start_date": { "title": "Start Date", "type": "string" }, "ticker_list": { "items": {}, "title": "Ticker List", "type": "array" } }, "required": [ "ticker_list", "start_date", "end_date" ], "title": "retrieve_stock_dataArguments", "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/NARAVINDR321/MCP_Server_for_Financial_Analysis'

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