Skip to main content
Glama

Financial Modeling Prep MCP Server

getHistoricalSectorPE

Analyze historical price-to-earnings (P/E) ratios for specific sectors and exchanges to track valuation trends and market shifts over time.

Instructions

Access historical price-to-earnings (P/E) ratios for various sectors using the Historical Sector P/E API. Analyze how sector valuations have evolved over time to understand long-term trends and market shifts.

Input Schema

NameRequiredDescriptionDefault
exchangeNoExchange (e.g., NASDAQ)
fromNoStart date (YYYY-MM-DD)
sectorYesSector (e.g., Energy)
toNoEnd date (YYYY-MM-DD)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exchange": { "description": "Exchange (e.g., NASDAQ)", "type": "string" }, "from": { "description": "Start date (YYYY-MM-DD)", "type": "string" }, "sector": { "description": "Sector (e.g., Energy)", "type": "string" }, "to": { "description": "End date (YYYY-MM-DD)", "type": "string" } }, "required": [ "sector" ], "type": "object" }
Install Server

Other Tools from Financial Modeling Prep 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/imbenrabi/Financial-Modeling-Prep-MCP-Server'

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