get_historical
Historical OHLCV data
How to use it
Project documentation lists get_historical for the Sahmk MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Sahmk MCP
pip install sahmk-mcpOther tools in Sahmk MCP (39)
Company directory/symbol discovery with pagination
integer greater than 0.
TASI or NOMU (NOMUC alias is accepted and normalized).
Multi-symbol normalized ratio/metrics comparison (Starter/Pro limits vary)
defaults to core.
list of symbols (preferred) or comma-separated string; MCP attempts SDK-backed identifier resolution for names/aliases when possible.
Company profile and fundamentals
Order-book depth (bid/ask ladder, spread, imbalance) (entitlement-gated)
optional integer from 1 to 20 (backend default is typically 5; entitlement may cap below the request).
prefers exact exchange symbol; MCP attempts SDK-backed identifier resolution for names/aliases when possible.
Dividend history and yield data (Starter+ plan)
prefers exact exchange symbol; MCP attempts SDK-backed identifier resolution for names/aliases when possible.
AI-generated stock event summaries (Pro+ plan)
optional integer from 1 to 100.
optional exact exchange symbol filter; omit for market-wide recent events.
Financial statements (Starter+ plan)
and getfinancials.statementperiod: if both are provided, period takes precedence.
prefers exact exchange symbol; MCP attempts SDK-backed identifier resolution for names/aliases when possible.
prefers exact exchange symbol; MCP attempts SDK-backed identifier resolution for names/aliases when possible.
Top movers by gainers, losers, volume, or value
integer from 1 to 50.
gainers, losers, volume, or value.
Summary for TASI or NOMU
TASI or NOMU (NOMUC alias is accepted and normalized).
Snapshot for one stock identifier (symbol, name, or alias)
(preferred): accepts numeric symbol, Arabic/English company name, or known alias.
(legacy alias): accepted for backward compatibility.
Compare multiple stock identifiers in one call
(preferred): maximum 50 identifiers per request.
(legacy alias): accepted for backward compatibility.
Calculated financial ratios (Starter/Pro features vary)
defaults to latest.
defaults to core.
defaults to annual.
prefers exact exchange symbol; MCP attempts SDK-backed identifier resolution for names/aliases when possible.
Sector performance snapshot
Recent live trade prints / tape (Pro+ plan)
optional integer from 1 to 200 (backend default is typically 50; newest first).
prefers exact exchange symbol; MCP attempts SDK-backed identifier resolution for names/aliases when possible.