historical_price_series
ActiveTool of gapup-mcp
Fetch historical OHLCV price series for any ticker: stocks (AAPL, SAP.DE, 7203.T), ETFs, indices, commodities (GC=F for gold) or cryptocurrencies (BTC-USD). Returns a full date-indexed series of open/high/low/close/volume plus pre-computed statistics: total return, annualised return (CAGR), annualised volatility, max drawdown and Sharpe estimate (rf=4%). Automatically detects crypto tickers (→ CoinGecko) vs traditional assets (→ Yahoo Finance primary, Stooq fallback). Adjusts for dividends and splits when adjusted=true (default). Use cases: backtesting, factor analysis, performance attribution, charting, financial modelling. Sources: Yahoo Finance, CoinGecko, Stooq. All keyless. Optional env: AICI_RESEARCH_PROXY_URL for Bright Data routing (lifts Yahoo 429), TWELVE_DATA_API_KEY for higher Twelve Data quota.
Parameters schema
{
"type": "object",
"required": [
"ticker"
],
"properties": {
"async": {
"type": "boolean",
"description": "If true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client timeouts."
},
"period": {
"enum": [
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"max"
],
"type": "string",
"description": "Look-back period. Default: 1y."
},
"ticker": {
"type": "string",
"description": "Yahoo Finance ticker symbol. Examples: AAPL (US stock), SAP.DE (Frankfurt), 7203.T (Tokyo), BTC-USD (Bitcoin), GC=F (gold futures), ^GSPC (S&P 500)."
},
"metrics": {
"type": "array",
"items": {
"enum": [
"open",
"high",
"low",
"close",
"volume",
"returns",
"volatility"
],
"type": "string"
},
"description": "Subset of fields to include (informational — all fields always returned)."
},
"adjusted": {
"type": "boolean",
"description": "Adjust close prices for dividends and splits. Default: true."
},
"interval": {
"enum": [
"1d",
"1wk",
"1mo"
],
"type": "string",
"description": "Bar interval. Default: 1d (daily)."
}
}
}Parent server
gapup-mcp
https://github.com/getgapup/gapup-mcp-public
2/7 registries