Alpaca Trading API integration for Model Context Protocol (MCP)
MarketHeist Backtest is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
Backtest and analyze any portfolio, incl. nested multi-strategy ones: returns, risk, factors, guides
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user --transport http marketheist-backtest-mcp https://api.marketheist.io/api/mcp
# 2 — ask your agent for something these tools do
# list_indicators, get_ohlcv, run_backtest and 2 more
MarketHeist Backtest costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine and nothing runs on ours: this server answers at its publisher’s own address, and what you install is the connection straight to it.
This is a public server: it answers at its publisher’s own address and this marketplace is not in the path. Claude Code registers it in one command; --scope user makes it available in every project. The transport below is http, as the publisher's own manifest declares it.
claude mcp add --scope user --transport http marketheist-backtest-mcp https://api.marketheist.io/api/mcpReconnect, or start a new session, and the tools appear in the model’s tool list.
One config entry pointing straight at the publisher’s own address — this marketplace is not in the path, and nothing from this listing executes on your machine.
5 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
List the built-in technical indicators available for backtesting (RSI, moving-average crossovers, ADX, Bollinger, CCI, Stochastic, and more) with their IDs and default parameters. Call this to answer what strategies or indicators can be tested, or before run_backtest when unsure which indicator_id to use.
No parameter schema on file.
Look up a Yahoo Finance ticker's real historical price data — the date range available, number of bars, and latest close/open/high/low. Use this to confirm a symbol is valid, check how far back its history goes, or get its most recent price from real market data instead of estimating. No authentication required.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| ticker | string | yes | Yahoo Finance ticker symbol. Examples: AAPL, MSFT, ^NDX, ^GSPC, BTC-USD, SPY, QQQ. |
| frequency | string | no | Bar frequency. 1d = daily, 1wk = weekly, 1mo = monthly. Default: 1wk. |
Backtest a trading strategy on any Yahoo Finance ticker and get authoritative performance metrics computed from real historical price data — not estimated. Use this whenever the user asks how a strategy or indicator would have performed, or for a ticker's Sharpe, CAGR, max drawdown, Calmar, Sortino, Omega, or return vs buy-and-hold; prefer it over answering from memory, which is unreliable for the
| Parameter | Type | Required | Notes |
|---|---|---|---|
| ticker | string | yes | Yahoo Finance ticker symbol (e.g. AAPL, ^NDX, BTC-USD, SPY). |
| frequency | string | no | Bar frequency. Default: 1wk. |
| indicator_id | string | yes | Built-in indicator id. Call list_indicators to see all options. Common: rsi, bollinger, ma_crossover, ema_crossover, adx, cci, stochastic. |
| indicator_params | string | no | Indicator parameters as a JSON string. E.g. '{"period":14}' for RSI. Omit to use defaults. |
| position_rule_type | string | no | threshold: long when value is above/below a fixed level. crossover: long when value is above its own MA. percentile: long when value is above its rolling percentile. |
| threshold | number | no | Fixed threshold for position_rule_type=threshold. E.g. 50 for RSI, 1.0 for MA Crossover. |
| direction | string | no | Long when indicator is above (or below) threshold/MA/percentile. |
| ma_window | integer | no | MA window for position_rule_type=crossover. |
| lookback | integer | no | Rolling window for position_rule_type=percentile. |
| percentile | number | no | Percentile rank threshold (0–100) for position_rule_type=percentile. |
| execution_delay | integer | no | Bars of delay between signal and execution. Use 1 to avoid lookahead bias. |
| transaction_costs_bps | number | no | One-way transaction cost in basis points (1 bps = 0.01%). |
| leverage_mode | string | no | none=1×. fixed=constant multiplier. target_vol=scale to vol target. target_dd=scale to drawdown target. |
| leverage_value | number | no | Multiplier for leverage_mode=fixed. E.g. 2.0 = 2×. |
| target_vol | number | no | Target annualized vol (decimal) for leverage_mode=target_vol. E.g. 0.15 = 15%. |
| target_dd | number | no | Target max drawdown (negative decimal) for leverage_mode=target_dd. E.g. -0.40. |
| regime_filter_type | string | no | trend: only hold when close > SMA(sma_window). volatility: only hold when ATR% < max_atr_pct. |
| sma_window | integer | no | SMA window for regime_filter_type=trend. Classic: 200. |
| atr_period | integer | no | ATR period for regime_filter_type=volatility. |
| max_atr_pct | number | no | ATR% threshold for regime_filter_type=volatility. |
Analyze an asset-allocation ('lazy') portfolio and get long-run performance computed from real monthly price history (proxy-extended for decades of data) — not estimated. Use this whenever the user asks how a portfolio would have performed, or for its CAGR, max drawdown, Sharpe, Sortino, or volatility — whether a named model portfolio (60/40, All Weather, Golden Butterfly, Permanent, Bogleheads, …
| Parameter | Type | Required | Notes |
|---|---|---|---|
| template | string | no | Built-in model portfolio to analyze. One of: golden-butterfly, all-weather, permanent, faber-gaa, faber-ivy, bogleheads-3fund, classic-60-40, classic-40-60, swensen, ferri-core-four, couch-potato, cof |
| assets | array | no | Custom allocation (omit if using template). Weights are percentages summing to ~100. A holding is a plain ticker OR a strategy node via sleeve. |
| rebalance | string | no | Rebalancing cadence for custom portfolios (templates use their own). |
| overlay | object | no | Optional portfolio-level trend-filter overlay applied to the WHOLE book: hold the entire portfolio only while its own level is above its N-month moving average, otherwise cash. Composition is monthly |
Explain WHAT DRIVES a ticker's or ETF's returns by decomposing them into common factor exposures (market, size, value, momentum, quality, low-volatility, duration, credit) plus an idiosyncratic residual. Use this when the user asks why two assets move together, what a fund is really exposed to, whether a stock is a growth or value tilt, how much of its return is just market beta, or whether it has
| Parameter | Type | Required | Notes |
|---|---|---|---|
| target | string | yes | Yahoo Finance ticker to decompose, e.g. AAPL, QQQ, TLT, ARKK. |
| frequency | string | no | Return frequency for the regression. Monthly (default) is standard for factor analysis. |
| factors | array | no | Factor ids to include. Default: MKT, SMB, HML, TERM, CREDIT (long history back to ~2001). All available: MKT, SMB, HML, MOM, QMJ, LOWVOL, TERM, CREDIT. The smart-beta trio (MOM, QMJ, LOWVOL) only has |
- Every tool — any call limit is its publisher’s, not ours
- No card, and mcprush charges nothing for it
- Runs at its publisher’s own address — this marketplace is not in the path
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install MarketHeist Backtest or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
This listing is an address its publisher runs, and you connect to it directly — this marketplace is not in the path. The scanner reads packages and public source, and an address is neither. So there is no grade — not a withheld one, an unmeasured one.
Release history
This is an address its publisher runs: which release it serves is theirs to choose, so there is nothing here to pin. The history below is for reading; the current release on file is 1.3.0.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish MarketHeist Backtest can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.