Grok Crypto Quant API is an MCP server published by dev.fly.grok-backtest-api, hosted at grok-backtest-api.fly.dev. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 13 tools, including backtest, market_signals, token_check, optimize_strategy, universe_snapshot.
Bias-free crypto backtests (399 coins), signals, token scam checks. Free samples; pay via x402 USDC.
2 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Backtest crypto strategies on 399 Coinbase coins without survivorship bias. DIY backtests usually use today's coin list, so dead coins vanish and returns are overstated; this rebuilds the universe from each past day's top coins. Breakout, momentum, dip-buy or MA-trend rules on daily data with fees, slippage, H1/H2 split and a luck flag. No data fetching or backtest code on your side. Price: $0.05 USDC per call (x402, Base mainnet). Free pre-check: validate_backtest. Free sample: backtest_sample.
| Parameter | Type | Description |
|---|---|---|
| end | any | YYYY-MM-DD |
| fee | number | Fee per side (0.009 = 0.9%) |
| start | any | YYYY-MM-DD |
| slippage | number | Slippage per side |
| strategy * | any | |
| universe | any | |
| include_trades | boolean | |
| initial_capital | number | Starting capital in USD |
{
"name": "backtest",
"title": "Crypto strategy backtest",
"description": "Backtest crypto strategies on 399 Coinbase coins without survivorship bias. DIY backtests usually use today's coin list, so dead coins vanish and returns are overstated; this rebuilds the universe from each past day's top coins. Breakout, momentum, dip-buy or MA-trend rules on daily data with fees, slippage, H1/H2 split and a luck flag. No data fetching or backtest code on your side. Price: $0.05 USDC per call (x402, Base mainnet). Free pre-check: validate_backtest. Free sample: backtest_sample.",
"inputSchema": {
"type": "object",
"$defs": {
"Dip": {
"type": "object",
"title": "Dip",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "dip",
"title": "Type"
},
"params": {
"$ref": "#/$defs/DipParams",
"default": {
"days": 1,
"drop_pct": 0.15,
"trend_filter": "ma50",
"hard_stop_pct": 0.15,
"max_hold_days": 5,
"max_positions": 3
}
}
},
"additionalProperties": false
},
"MATrend": {
"type": "object",
"title": "MATrend",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "ma_trend",
"title": "Type"
},
"params": {
"$ref": "#/$defs/MATrendParams",
"default": {
"coins": [
"ETH-USD"
],
"ma_days": 50
}
}
},
"additionalProperties": false
},
"Breakout": {
"type": "object",
"title": "Breakout",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "breakout",
"title": "Type"
},
"params": {
"$ref": "#/$defs/BreakoutParams",
"default": {
"gate": "btc_ma50",
"atr_mult": 2,
"lookback": 20,
"max_stop_pct": 0.4,
"min_stop_pct": 0.06,
"max_positions": 3,
"risk_per_trade": 0.05,
"max_position_pct": 0.5
}
}
},
"additionalProperties": false
},
"Momentum": {
"type": "object",
"title": "Momentum",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "momentum",
"title": "Type"
},
"params": {
"$ref": "#/$defs/MomentumParams",
"default": {
"gate": "btc_ma50",
"top_n": 2,
"lookback": 14,
"trail_pct": null,
"rebalance_days": 7
}
}
},
"additionalProperties": false
},
"Universe": {
"type": "object",
"title": "Universe",
"properties": {
"mode": {
"enum": [
"point_in_time",
"current_top",
"fixed"
],
"type": "string",
"title": "Mode",
"default": "point_in_time",
"description": "point_in_time = top-N by trailing 20d $ volume AS OF each day (no survivorship bias); current_top = top-N as of the end date (biased, for comparison); fixed = your coin list"
},
"coins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
{
"type": "null"
}
],
"title": "Coins",
"default": null
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 30,
"maximum": 200,
"minimum": 5
},
"min_age_days": {
"type": "integer",
"title": "Min Age Days",
"default": 35,
"maximum": 120,
"minimum": 0,
"description": "Days a coin must have traded before it is eligible"
},
"min_avg_dollar_volume": {
"type": "number",
"title": "Min Avg Dollar Volume",
"default": 1000000,
"minimum": 0,
"description": "Min 20-day avg Coinbase $ volume"
}
},
"additionalProperties": false
},
"DipParams": {
"type": "object",
"title": "DipParams",
"properties": {
"days": {
"type": "integer",
"title": "Days",
"default": 1,
"maximum": 10,
"minimum": 1
},
"drop_pct": {
"type": "number",
"title": "Drop Pct",
"default": 0.15,
"description": "Buy after a fall of at least this fraction over `days`",
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0.01
},
"trend_filter": {
"enum": [
"ma50",
"none"
],
"type": "string",
"title": "Trend Filter",
"default": "ma50"
},
"hard_stop_pct": {
"type": "number",
"title": "Hard Stop Pct",
"default": 0.15,
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0.01
},
"max_hold_days": {
"type": "integer",
"title": "Max Hold Days",
"default": 5,
"maximum": 60,
"minimum": 1
},
"max_positions": {
"type": "integer",
"title": "Max Positions",
"default": 3,
"maximum": 10,
"minimum": 1
}
},
"additionalProperties": false
},
"MATrendParams": {
"type": "object",
"title": "MATrendParams",
"properties": {
"coins": {
"type": "array",
"items": {
"type": "string"
},
"title": "Coins",
"default": [
"ETH-USD"
],
"maxItems": 10,
"minItems": 1,
"description": "Coinbase product ids, e.g. ETH-USD"
},
"ma_days": {
"type": "integer",
"title": "Ma Days",
"default": 50,
"maximum": 60,
"minimum": 5
}
},
"additionalProperties": false
},
"BreakoutParams": {
"type": "object",
"title": "BreakoutParams",
"properties": {
"gate": {
"enum": [
"none",
"btc_ma50",
"breadth50"
],
"type": "string",
"title": "Gate",
"default": "btc_ma50",
"description": "Only open trades when BTC > 50-day SMA (btc_ma50) or >=50% of universe above 20d SMA (breadth50)"
},
"atr_mult": {
"type": "number",
"title": "Atr Mult",
"default": 2,
"maximum": 6,
"minimum": 0.5,
"description": "Trailing stop = highest close - k*ATR14"
},
"lookback": {
"type": "integer",
"title": "Lookback",
"default": 20,
"maximum": 60,
"minimum": 5,
"description": "Buy when close > highest high of prior N days"
},
"max_stop_pct": {
"type": "number",
"title": "Max Stop Pct",
"default": 0.4,
"maximum": 0.9,
"exclusiveMinimum": 0
},
"min_stop_pct": {
"type": "number",
"title": "Min Stop Pct",
"default": 0.06,
"maximum": 0.5,
"exclusiveMinimum": 0
},
"max_positions": {
"type": "integer",
"title": "Max Positions",
"default": 3,
"maximum": 10,
"minimum": 1
},
"risk_per_trade": {
"type": "number",
"title": "Risk Per Trade",
"default": 0.05,
"maximum": 0.25,
"description": "Fraction of equity risked to the initial stop",
"exclusiveMinimum": 0
},
"max_position_pct": {
"type": "number",
"title": "Max Position Pct",
"default": 0.5,
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"MomentumParams": {
"type": "object",
"title": "MomentumParams",
"properties": {
"gate": {
"enum": [
"none",
"btc_ma50",
"breadth50"
],
"type": "string",
"title": "Gate",
"default": "btc_ma50"
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 2,
"maximum": 10,
"minimum": 1
},
"lookback": {
"type": "integer",
"title": "Lookback",
"default": 14,
"maximum": 60,
"minimum": 3,
"description": "Rank by N-day return"
},
"trail_pct": {
"anyOf": [
{
"type": "number",
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Trail Pct",
"default": null,
"description": "Optional % trailing stop from highest close"
},
"rebalance_days": {
"type": "integer",
"title": "Rebalance Days",
"default": 7,
"maximum": 30,
"minimum": 1
}
},
"additionalProperties": false
}
},
"title": "backtestArguments",
"required": [
"strategy"
],
"properties": {
"end": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "End",
"default": null,
"description": "YYYY-MM-DD"
},
"fee": {
"type": "number",
"title": "Fee",
"default": 0.009,
"maximum": 0.05,
"minimum": 0,
"description": "Fee per side (0.009 = 0.9%)"
},
"start": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "Start",
"default": null,
"description": "YYYY-MM-DD"
},
"slippage": {
"type": "number",
"title": "Slippage",
"default": 0.002,
"maximum": 0.05,
"minimum": 0,
"description": "Slippage per side"
},
"strategy": {
"oneOf": [
{
"$ref": "#/$defs/Breakout"
},
{
"$ref": "#/$defs/Momentum"
},
{
"$ref": "#/$defs/Dip"
},
{
"$ref": "#/$defs/MATrend"
}
],
"title": "Strategy",
"discriminator": {
"mapping": {
"dip": "#/$defs/Dip",
"breakout": "#/$defs/Breakout",
"ma_trend": "#/$defs/MATrend",
"momentum": "#/$defs/Momentum"
},
"propertyName": "type"
}
},
"universe": {
"anyOf": [
{
"$ref": "#/$defs/Universe"
},
{
"type": "null"
}
],
"default": null
},
"include_trades": {
"type": "boolean",
"title": "Include Trades",
"default": true
},
"initial_capital": {
"type": "number",
"title": "Initial Capital",
"default": 150,
"maximum": 1000000000,
"description": "Starting capital in USD",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Daily crypto market regime in one call: BTC/ETH vs 20/50-day MAs, breadth of the point-in-time top-N (no survivorship bias), coins nearest a 20-day breakout, and the R1 breakout strategy's gate and entry signals. No candle fetching or indicator code. Completed UTC daily closes only. Price: $0.01 USDC per call (x402, Base mainnet). Free sample: signals_sample.
| Parameter | Type | Description |
|---|---|---|
| top_n | integer | Universe size for breadth / breakout scan |
{
"name": "market_signals",
"title": "Daily crypto market signals",
"description": "Daily crypto market regime in one call: BTC/ETH vs 20/50-day MAs, breadth of the point-in-time top-N (no survivorship bias), coins nearest a 20-day breakout, and the R1 breakout strategy's gate and entry signals. No candle fetching or indicator code. Completed UTC daily closes only. Price: $0.01 USDC per call (x402, Base mainnet). Free sample: signals_sample.",
"inputSchema": {
"type": "object",
"title": "market_signalsArguments",
"properties": {
"top_n": {
"type": "integer",
"title": "Top N",
"default": 30,
"maximum": 200,
"minimum": 5,
"description": "Universe size for breadth / breakout scan"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Token scam check in one call instead of wiring up five data sources: honeypot sell simulation, unverified code, mint/pause/blacklist powers, taxes, upgradeable proxy, age, liquidity, fake major-token (e.g. fake USDC) lookalikes and spam-airdrop patterns. Base, Ethereum or Solana. Never visits metadata URLs. Price: $0.02 USDC per call (x402, Base mainnet). Free pre-check: validate_token_check.
| Parameter | Type | Description |
|---|---|---|
| chain * | string | base, ethereum or solana |
| address * | string | Token contract / mint address |
{
"name": "token_check",
"title": "Token scam / honeypot risk check",
"description": "Token scam check in one call instead of wiring up five data sources: honeypot sell simulation, unverified code, mint/pause/blacklist powers, taxes, upgradeable proxy, age, liquidity, fake major-token (e.g. fake USDC) lookalikes and spam-airdrop patterns. Base, Ethereum or Solana. Never visits metadata URLs. Price: $0.02 USDC per call (x402, Base mainnet). Free pre-check: validate_token_check.",
"inputSchema": {
"type": "object",
"title": "token_checkArguments",
"required": [
"chain",
"address"
],
"properties": {
"chain": {
"enum": [
"base",
"ethereum",
"solana"
],
"type": "string",
"title": "Chain",
"description": "base, ethereum or solana"
},
"address": {
"type": "string",
"title": "Address",
"maxLength": 44,
"minLength": 32,
"description": "Token contract / mint address"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Find robust strategy params, not lucky ones: tests up to 50 combos on the same survivorship-bias-free backtester, ranks by worst-half (H1/H2) return with neighbourhood smoothing, flags overfitting, and recommends the most stable parameters rather than the best-fit ones. Price: $0.50 USDC per call (x402, Base mainnet). Free pre-check: validate_optimize.
| Parameter | Type | Description |
|---|---|---|
| end | any | YYYY-MM-DD |
| fee | number | Fee per side (0.009 = 0.9%) |
| grid * | object | param -> values to try; <= 50 combos total, <= 10 values per param |
| start | any | YYYY-MM-DD |
| rank_by | string | one of ["robust","return"] |
| slippage | number | Slippage per side |
| strategy * | ref | |
| universe | any | |
| initial_capital | number | Starting capital in USD |
Survivorship-free top-N coin list for any past date: Coinbase USD pairs ranked by trailing 20-day dollar volume using only data available that day. Fixes your own backtests: picking today's top coins hides the ones that died and overstates returns. Price: $0.05 USDC per call (x402, Base mainnet). Free pre-check: validate_universe.
| Parameter | Type | Description |
|---|---|---|
| date | any | YYYY-MM-DD |
| top_n | integer | |
| min_age_days | integer | |
| min_avg_dollar_volume | number |
{
"name": "universe_snapshot",
"title": "Point-in-time top-N coin universe",
"description": "Survivorship-free top-N coin list for any past date: Coinbase USD pairs ranked by trailing 20-day dollar volume using only data available that day. Fixes your own backtests: picking today's top coins hides the ones that died and overstates returns. Price: $0.05 USDC per call (x402, Base mainnet). Free pre-check: validate_universe.",
"inputSchema": {
"type": "object",
"title": "universe_snapshotArguments",
"properties": {
"date": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "Date",
"default": null,
"description": "YYYY-MM-DD"
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 30,
"maximum": 200,
"minimum": 1
},
"min_age_days": {
"type": "integer",
"title": "Min Age Days",
"default": 35,
"maximum": 120,
"minimum": 0
},
"min_avg_dollar_volume": {
"type": "number",
"title": "Min Avg Dollar Volume",
"default": 1000000,
"minimum": 0
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free, one day delayed: yesterday's full /signals result (BTC/ETH trend, breadth, breakout watchlist, R1 gate) so you can judge quality before paying. Today's result: paid market_signals ($0.01). Limit 60/hour per client.
No parameters.
{
"name": "signals_sample",
"title": "Market signals, delayed free sample",
"description": "Free, one day delayed: yesterday's full /signals result (BTC/ETH trend, breadth, breakout watchlist, R1 gate) so you can judge quality before paying. Today's result: paid market_signals ($0.01). Limit 60/hour per client.",
"inputSchema": {
"type": "object",
"title": "signals_sampleArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "signals_sampleDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free sample of the paid `backtest` tool on the same survivorship-bias-free engine: any strategy, point-in-time top-10 universe, window = last `days` (14..90) completed days, summary only. Full version: backtest ($0.05). Limit 30/hour per client.
| Parameter | Type | Description |
|---|---|---|
| days | integer | Window length in days, ending on the last completed UTC day |
| strategy * | any |
{
"name": "backtest_sample",
"title": "Crypto backtest, free sample",
"description": "Free sample of the paid `backtest` tool on the same survivorship-bias-free engine: any strategy, point-in-time top-10 universe, window = last `days` (14..90) completed days, summary only. Full version: backtest ($0.05). Limit 30/hour per client.",
"inputSchema": {
"type": "object",
"$defs": {
"Dip": {
"type": "object",
"title": "Dip",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "dip",
"title": "Type"
},
"params": {
"$ref": "#/$defs/DipParams",
"default": {
"days": 1,
"drop_pct": 0.15,
"trend_filter": "ma50",
"hard_stop_pct": 0.15,
"max_hold_days": 5,
"max_positions": 3
}
}
},
"additionalProperties": false
},
"MATrend": {
"type": "object",
"title": "MATrend",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "ma_trend",
"title": "Type"
},
"params": {
"$ref": "#/$defs/MATrendParams",
"default": {
"coins": [
"ETH-USD"
],
"ma_days": 50
}
}
},
"additionalProperties": false
},
"Breakout": {
"type": "object",
"title": "Breakout",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "breakout",
"title": "Type"
},
"params": {
"$ref": "#/$defs/BreakoutParams",
"default": {
"gate": "btc_ma50",
"atr_mult": 2,
"lookback": 20,
"max_stop_pct": 0.4,
"min_stop_pct": 0.06,
"max_positions": 3,
"risk_per_trade": 0.05,
"max_position_pct": 0.5
}
}
},
"additionalProperties": false
},
"Momentum": {
"type": "object",
"title": "Momentum",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "momentum",
"title": "Type"
},
"params": {
"$ref": "#/$defs/MomentumParams",
"default": {
"gate": "btc_ma50",
"top_n": 2,
"lookback": 14,
"trail_pct": null,
"rebalance_days": 7
}
}
},
"additionalProperties": false
},
"DipParams": {
"type": "object",
"title": "DipParams",
"properties": {
"days": {
"type": "integer",
"title": "Days",
"default": 1,
"maximum": 10,
"minimum": 1
},
"drop_pct": {
"type": "number",
"title": "Drop Pct",
"default": 0.15,
"description": "Buy after a fall of at least this fraction over `days`",
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0.01
},
"trend_filter": {
"enum": [
"ma50",
"none"
],
"type": "string",
"title": "Trend Filter",
"default": "ma50"
},
"hard_stop_pct": {
"type": "number",
"title": "Hard Stop Pct",
"default": 0.15,
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0.01
},
"max_hold_days": {
"type": "integer",
"title": "Max Hold Days",
"default": 5,
"maximum": 60,
"minimum": 1
},
"max_positions": {
"type": "integer",
"title": "Max Positions",
"default": 3,
"maximum": 10,
"minimum": 1
}
},
"additionalProperties": false
},
"MATrendParams": {
"type": "object",
"title": "MATrendParams",
"properties": {
"coins": {
"type": "array",
"items": {
"type": "string"
},
"title": "Coins",
"default": [
"ETH-USD"
],
"maxItems": 10,
"minItems": 1,
"description": "Coinbase product ids, e.g. ETH-USD"
},
"ma_days": {
"type": "integer",
"title": "Ma Days",
"default": 50,
"maximum": 60,
"minimum": 5
}
},
"additionalProperties": false
},
"BreakoutParams": {
"type": "object",
"title": "BreakoutParams",
"properties": {
"gate": {
"enum": [
"none",
"btc_ma50",
"breadth50"
],
"type": "string",
"title": "Gate",
"default": "btc_ma50",
"description": "Only open trades when BTC > 50-day SMA (btc_ma50) or >=50% of universe above 20d SMA (breadth50)"
},
"atr_mult": {
"type": "number",
"title": "Atr Mult",
"default": 2,
"maximum": 6,
"minimum": 0.5,
"description": "Trailing stop = highest close - k*ATR14"
},
"lookback": {
"type": "integer",
"title": "Lookback",
"default": 20,
"maximum": 60,
"minimum": 5,
"description": "Buy when close > highest high of prior N days"
},
"max_stop_pct": {
"type": "number",
"title": "Max Stop Pct",
"default": 0.4,
"maximum": 0.9,
"exclusiveMinimum": 0
},
"min_stop_pct": {
"type": "number",
"title": "Min Stop Pct",
"default": 0.06,
"maximum": 0.5,
"exclusiveMinimum": 0
},
"max_positions": {
"type": "integer",
"title": "Max Positions",
"default": 3,
"maximum": 10,
"minimum": 1
},
"risk_per_trade": {
"type": "number",
"title": "Risk Per Trade",
"default": 0.05,
"maximum": 0.25,
"description": "Fraction of equity risked to the initial stop",
"exclusiveMinimum": 0
},
"max_position_pct": {
"type": "number",
"title": "Max Position Pct",
"default": 0.5,
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"MomentumParams": {
"type": "object",
"title": "MomentumParams",
"properties": {
"gate": {
"enum": [
"none",
"btc_ma50",
"breadth50"
],
"type": "string",
"title": "Gate",
"default": "btc_ma50"
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 2,
"maximum": 10,
"minimum": 1
},
"lookback": {
"type": "integer",
"title": "Lookback",
"default": 14,
"maximum": 60,
"minimum": 3,
"description": "Rank by N-day return"
},
"trail_pct": {
"anyOf": [
{
"type": "number",
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Trail Pct",
"default": null,
"description": "Optional % trailing stop from highest close"
},
"rebalance_days": {
"type": "integer",
"title": "Rebalance Days",
"default": 7,
"maximum": 30,
"minimum": 1
}
},
"additionalProperties": false
}
},
"title": "backtest_sampleArguments",
"required": [
"strategy"
],
"properties": {
"days": {
"type": "integer",
"title": "Days",
"default": 90,
"maximum": 90,
"minimum": 14,
"description": "Window length in days, ending on the last completed UTC day"
},
"strategy": {
"oneOf": [
{
"$ref": "#/$defs/Breakout"
},
{
"$ref": "#/$defs/Momentum"
},
{
"$ref": "#/$defs/Dip"
},
{
"$ref": "#/$defs/MATrend"
}
],
"title": "Strategy",
"discriminator": {
"mapping": {
"dip": "#/$defs/Dip",
"breakout": "#/$defs/Breakout",
"ma_trend": "#/$defs/MATrend",
"momentum": "#/$defs/Momentum"
},
"propertyName": "type"
}
}
}
},
"outputSchema": {
"type": "object",
"title": "backtest_sampleDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free: service status, prices, network and data range.
No parameters.
{
"name": "health",
"title": "Service status (free)",
"description": "Free: service status, prices, network and data range.",
"inputSchema": {
"type": "object",
"title": "healthArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "healthDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free: request schemas, examples, prices and limits for every paid tool/endpoint.
No parameters.
{
"name": "get_schema",
"title": "Schemas and examples (free)",
"description": "Free: request schemas, examples, prices and limits for every paid tool/endpoint.",
"inputSchema": {
"type": "object",
"title": "get_schemaArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "get_schemaDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free: check backtest arguments (same as the paid `backtest` tool) before paying.
| Parameter | Type | Description |
|---|---|---|
| end | any | YYYY-MM-DD |
| fee | number | Fee per side (0.009 = 0.9%) |
| start | any | YYYY-MM-DD |
| slippage | number | Slippage per side |
| strategy * | any | |
| universe | any | |
| include_trades | boolean | |
| initial_capital | number | Starting capital in USD |
{
"name": "validate_backtest",
"title": "Validate a backtest (free)",
"description": "Free: check backtest arguments (same as the paid `backtest` tool) before paying.",
"inputSchema": {
"type": "object",
"$defs": {
"Dip": {
"type": "object",
"title": "Dip",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "dip",
"title": "Type"
},
"params": {
"$ref": "#/$defs/DipParams",
"default": {
"days": 1,
"drop_pct": 0.15,
"trend_filter": "ma50",
"hard_stop_pct": 0.15,
"max_hold_days": 5,
"max_positions": 3
}
}
},
"additionalProperties": false
},
"MATrend": {
"type": "object",
"title": "MATrend",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "ma_trend",
"title": "Type"
},
"params": {
"$ref": "#/$defs/MATrendParams",
"default": {
"coins": [
"ETH-USD"
],
"ma_days": 50
}
}
},
"additionalProperties": false
},
"Breakout": {
"type": "object",
"title": "Breakout",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "breakout",
"title": "Type"
},
"params": {
"$ref": "#/$defs/BreakoutParams",
"default": {
"gate": "btc_ma50",
"atr_mult": 2,
"lookback": 20,
"max_stop_pct": 0.4,
"min_stop_pct": 0.06,
"max_positions": 3,
"risk_per_trade": 0.05,
"max_position_pct": 0.5
}
}
},
"additionalProperties": false
},
"Momentum": {
"type": "object",
"title": "Momentum",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "momentum",
"title": "Type"
},
"params": {
"$ref": "#/$defs/MomentumParams",
"default": {
"gate": "btc_ma50",
"top_n": 2,
"lookback": 14,
"trail_pct": null,
"rebalance_days": 7
}
}
},
"additionalProperties": false
},
"Universe": {
"type": "object",
"title": "Universe",
"properties": {
"mode": {
"enum": [
"point_in_time",
"current_top",
"fixed"
],
"type": "string",
"title": "Mode",
"default": "point_in_time",
"description": "point_in_time = top-N by trailing 20d $ volume AS OF each day (no survivorship bias); current_top = top-N as of the end date (biased, for comparison); fixed = your coin list"
},
"coins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
{
"type": "null"
}
],
"title": "Coins",
"default": null
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 30,
"maximum": 200,
"minimum": 5
},
"min_age_days": {
"type": "integer",
"title": "Min Age Days",
"default": 35,
"maximum": 120,
"minimum": 0,
"description": "Days a coin must have traded before it is eligible"
},
"min_avg_dollar_volume": {
"type": "number",
"title": "Min Avg Dollar Volume",
"default": 1000000,
"minimum": 0,
"description": "Min 20-day avg Coinbase $ volume"
}
},
"additionalProperties": false
},
"DipParams": {
"type": "object",
"title": "DipParams",
"properties": {
"days": {
"type": "integer",
"title": "Days",
"default": 1,
"maximum": 10,
"minimum": 1
},
"drop_pct": {
"type": "number",
"title": "Drop Pct",
"default": 0.15,
"description": "Buy after a fall of at least this fraction over `days`",
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0.01
},
"trend_filter": {
"enum": [
"ma50",
"none"
],
"type": "string",
"title": "Trend Filter",
"default": "ma50"
},
"hard_stop_pct": {
"type": "number",
"title": "Hard Stop Pct",
"default": 0.15,
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0.01
},
"max_hold_days": {
"type": "integer",
"title": "Max Hold Days",
"default": 5,
"maximum": 60,
"minimum": 1
},
"max_positions": {
"type": "integer",
"title": "Max Positions",
"default": 3,
"maximum": 10,
"minimum": 1
}
},
"additionalProperties": false
},
"MATrendParams": {
"type": "object",
"title": "MATrendParams",
"properties": {
"coins": {
"type": "array",
"items": {
"type": "string"
},
"title": "Coins",
"default": [
"ETH-USD"
],
"maxItems": 10,
"minItems": 1,
"description": "Coinbase product ids, e.g. ETH-USD"
},
"ma_days": {
"type": "integer",
"title": "Ma Days",
"default": 50,
"maximum": 60,
"minimum": 5
}
},
"additionalProperties": false
},
"BreakoutParams": {
"type": "object",
"title": "BreakoutParams",
"properties": {
"gate": {
"enum": [
"none",
"btc_ma50",
"breadth50"
],
"type": "string",
"title": "Gate",
"default": "btc_ma50",
"description": "Only open trades when BTC > 50-day SMA (btc_ma50) or >=50% of universe above 20d SMA (breadth50)"
},
"atr_mult": {
"type": "number",
"title": "Atr Mult",
"default": 2,
"maximum": 6,
"minimum": 0.5,
"description": "Trailing stop = highest close - k*ATR14"
},
"lookback": {
"type": "integer",
"title": "Lookback",
"default": 20,
"maximum": 60,
"minimum": 5,
"description": "Buy when close > highest high of prior N days"
},
"max_stop_pct": {
"type": "number",
"title": "Max Stop Pct",
"default": 0.4,
"maximum": 0.9,
"exclusiveMinimum": 0
},
"min_stop_pct": {
"type": "number",
"title": "Min Stop Pct",
"default": 0.06,
"maximum": 0.5,
"exclusiveMinimum": 0
},
"max_positions": {
"type": "integer",
"title": "Max Positions",
"default": 3,
"maximum": 10,
"minimum": 1
},
"risk_per_trade": {
"type": "number",
"title": "Risk Per Trade",
"default": 0.05,
"maximum": 0.25,
"description": "Fraction of equity risked to the initial stop",
"exclusiveMinimum": 0
},
"max_position_pct": {
"type": "number",
"title": "Max Position Pct",
"default": 0.5,
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"MomentumParams": {
"type": "object",
"title": "MomentumParams",
"properties": {
"gate": {
"enum": [
"none",
"btc_ma50",
"breadth50"
],
"type": "string",
"title": "Gate",
"default": "btc_ma50"
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 2,
"maximum": 10,
"minimum": 1
},
"lookback": {
"type": "integer",
"title": "Lookback",
"default": 14,
"maximum": 60,
"minimum": 3,
"description": "Rank by N-day return"
},
"trail_pct": {
"anyOf": [
{
"type": "number",
"exclusiveMaximum": 0.9,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Trail Pct",
"default": null,
"description": "Optional % trailing stop from highest close"
},
"rebalance_days": {
"type": "integer",
"title": "Rebalance Days",
"default": 7,
"maximum": 30,
"minimum": 1
}
},
"additionalProperties": false
}
},
"title": "validate_backtestArguments",
"required": [
"strategy"
],
"properties": {
"end": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "End",
"default": null,
"description": "YYYY-MM-DD"
},
"fee": {
"type": "number",
"title": "Fee",
"default": 0.009,
"maximum": 0.05,
"minimum": 0,
"description": "Fee per side (0.009 = 0.9%)"
},
"start": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "Start",
"default": null,
"description": "YYYY-MM-DD"
},
"slippage": {
"type": "number",
"title": "Slippage",
"default": 0.002,
"maximum": 0.05,
"minimum": 0,
"description": "Slippage per side"
},
"strategy": {
"oneOf": [
{
"$ref": "#/$defs/Breakout"
},
{
"$ref": "#/$defs/Momentum"
},
{
"$ref": "#/$defs/Dip"
},
{
"$ref": "#/$defs/MATrend"
}
],
"title": "Strategy",
"discriminator": {
"mapping": {
"dip": "#/$defs/Dip",
"breakout": "#/$defs/Breakout",
"ma_trend": "#/$defs/MATrend",
"momentum": "#/$defs/Momentum"
},
"propertyName": "type"
}
},
"universe": {
"anyOf": [
{
"$ref": "#/$defs/Universe"
},
{
"type": "null"
}
],
"default": null
},
"include_trades": {
"type": "boolean",
"title": "Include Trades",
"default": true
},
"initial_capital": {
"type": "number",
"title": "Initial Capital",
"default": 150,
"maximum": 1000000000,
"description": "Starting capital in USD",
"exclusiveMinimum": 0
}
}
},
"outputSchema": {
"type": "object",
"title": "validate_backtestDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free: check optimize_strategy arguments and count grid combos before paying.
| Parameter | Type | Description |
|---|---|---|
| end | any | YYYY-MM-DD |
| fee | number | Fee per side (0.009 = 0.9%) |
| grid * | object | param -> values to try |
| start | any | YYYY-MM-DD |
| rank_by | string | one of ["robust","return"] |
| slippage | number | Slippage per side |
| strategy * | ref | |
| universe | any | |
| initial_capital | number | Starting capital in USD |
{
"name": "validate_optimize",
"title": "Validate an optimisation (free)",
"description": "Free: check optimize_strategy arguments and count grid combos before paying.",
"inputSchema": {
"type": "object",
"$defs": {
"Universe": {
"type": "object",
"title": "Universe",
"properties": {
"mode": {
"enum": [
"point_in_time",
"current_top",
"fixed"
],
"type": "string",
"title": "Mode",
"default": "point_in_time",
"description": "point_in_time = top-N by trailing 20d $ volume AS OF each day (no survivorship bias); current_top = top-N as of the end date (biased, for comparison); fixed = your coin list"
},
"coins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
{
"type": "null"
}
],
"title": "Coins",
"default": null
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 30,
"maximum": 200,
"minimum": 5
},
"min_age_days": {
"type": "integer",
"title": "Min Age Days",
"default": 35,
"maximum": 120,
"minimum": 0,
"description": "Days a coin must have traded before it is eligible"
},
"min_avg_dollar_volume": {
"type": "number",
"title": "Min Avg Dollar Volume",
"default": 1000000,
"minimum": 0,
"description": "Min 20-day avg Coinbase $ volume"
}
},
"additionalProperties": false
},
"OptimizeStrategy": {
"type": "object",
"title": "OptimizeStrategy",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"breakout",
"momentum",
"dip",
"ma_trend"
],
"type": "string",
"title": "Type"
},
"params": {
"type": "object",
"title": "Params",
"default": {},
"description": "Fixed (non-grid) params; same fields as /backtest strategy params",
"additionalProperties": true
}
},
"additionalProperties": false
}
},
"title": "validate_optimizeArguments",
"required": [
"strategy",
"grid"
],
"properties": {
"end": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "End",
"default": null,
"description": "YYYY-MM-DD"
},
"fee": {
"type": "number",
"title": "Fee",
"default": 0.009,
"maximum": 0.05,
"minimum": 0,
"description": "Fee per side (0.009 = 0.9%)"
},
"grid": {
"type": "object",
"title": "Grid",
"description": "param -> values to try",
"additionalProperties": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"start": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "Start",
"default": null,
"description": "YYYY-MM-DD"
},
"rank_by": {
"enum": [
"robust",
"return"
],
"type": "string",
"title": "Rank By",
"default": "robust"
},
"slippage": {
"type": "number",
"title": "Slippage",
"default": 0.002,
"maximum": 0.05,
"minimum": 0,
"description": "Slippage per side"
},
"strategy": {
"$ref": "#/$defs/OptimizeStrategy"
},
"universe": {
"anyOf": [
{
"$ref": "#/$defs/Universe"
},
{
"type": "null"
}
],
"default": null
},
"initial_capital": {
"type": "number",
"title": "Initial Capital",
"default": 150,
"maximum": 1000000000,
"description": "Starting capital in USD",
"exclusiveMinimum": 0
}
}
},
"outputSchema": {
"type": "object",
"title": "validate_optimizeDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free: format-check a token_check request (no on-chain lookups).
| Parameter | Type | Description |
|---|---|---|
| chain * | string | one of ["base","ethereum","solana"] |
| address * | string |
{
"name": "validate_token_check",
"title": "Validate a token address (free)",
"description": "Free: format-check a token_check request (no on-chain lookups).",
"inputSchema": {
"type": "object",
"title": "validate_token_checkArguments",
"required": [
"chain",
"address"
],
"properties": {
"chain": {
"enum": [
"base",
"ethereum",
"solana"
],
"type": "string",
"title": "Chain"
},
"address": {
"type": "string",
"title": "Address"
}
}
},
"outputSchema": {
"type": "object",
"title": "validate_token_checkDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free: check universe_snapshot arguments (date in range, enough history) before paying.
| Parameter | Type | Description |
|---|---|---|
| date | any | YYYY-MM-DD |
| top_n | integer | |
| min_age_days | integer | |
| min_avg_dollar_volume | number |
{
"name": "validate_universe",
"title": "Validate a universe request (free)",
"description": "Free: check universe_snapshot arguments (date in range, enough history) before paying.",
"inputSchema": {
"type": "object",
"title": "validate_universeArguments",
"properties": {
"date": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "Date",
"default": null,
"description": "YYYY-MM-DD"
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 30,
"maximum": 200,
"minimum": 1
},
"min_age_days": {
"type": "integer",
"title": "Min Age Days",
"default": 35,
"maximum": 120,
"minimum": 0
},
"min_avg_dollar_volume": {
"type": "number",
"title": "Min Avg Dollar Volume",
"default": 1000000,
"minimum": 0
}
}
},
"outputSchema": {
"type": "object",
"title": "validate_universeDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Pay-per-call crypto quant tools (x402, USDC on Base mainnet). Why call instead of coding it: Most DIY crypto backtests use today's coin list, so coins that died vanish and returns are overstated; ours rebuilds the universe from each past day's top coins across 399 Coinbase pairs. No data fetching on your side. Try free first: signals_sample (yesterday's market_signals) and backtest_sample (point-in-time top-10, last <=90 days). Paid tools: backtest ($0.05), market_signals ($0.01), token_check ($0.02), optimize_strategy ($0.50), universe_snapshot ($0.05). A paid tool called without payment returns isError=true with an x402 PaymentRequired object; x402-aware MCP clients pay and retry with _meta['x402/payment']. Free tools: signals_sample, backtest_sample, health, get_schema, validate_backtest, validate_optimize, validate_token_check, validate_universe. Use the validate_* tools before paying. Informational only, not financial advice.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "optimize_strategy",
"title": "Robust strategy parameter optimiser",
"description": "Find robust strategy params, not lucky ones: tests up to 50 combos on the same survivorship-bias-free backtester, ranks by worst-half (H1/H2) return with neighbourhood smoothing, flags overfitting, and recommends the most stable parameters rather than the best-fit ones. Price: $0.50 USDC per call (x402, Base mainnet). Free pre-check: validate_optimize.",
"inputSchema": {
"type": "object",
"$defs": {
"Universe": {
"type": "object",
"title": "Universe",
"properties": {
"mode": {
"enum": [
"point_in_time",
"current_top",
"fixed"
],
"type": "string",
"title": "Mode",
"default": "point_in_time",
"description": "point_in_time = top-N by trailing 20d $ volume AS OF each day (no survivorship bias); current_top = top-N as of the end date (biased, for comparison); fixed = your coin list"
},
"coins": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 200
},
{
"type": "null"
}
],
"title": "Coins",
"default": null
},
"top_n": {
"type": "integer",
"title": "Top N",
"default": 30,
"maximum": 200,
"minimum": 5
},
"min_age_days": {
"type": "integer",
"title": "Min Age Days",
"default": 35,
"maximum": 120,
"minimum": 0,
"description": "Days a coin must have traded before it is eligible"
},
"min_avg_dollar_volume": {
"type": "number",
"title": "Min Avg Dollar Volume",
"default": 1000000,
"minimum": 0,
"description": "Min 20-day avg Coinbase $ volume"
}
},
"additionalProperties": false
},
"OptimizeStrategy": {
"type": "object",
"title": "OptimizeStrategy",
"required": [
"type"
],
"properties": {
"type": {
"enum": [
"breakout",
"momentum",
"dip",
"ma_trend"
],
"type": "string",
"title": "Type"
},
"params": {
"type": "object",
"title": "Params",
"default": {},
"description": "Fixed (non-grid) params; same fields as /backtest strategy params",
"additionalProperties": true
}
},
"additionalProperties": false
}
},
"title": "optimize_strategyArguments",
"required": [
"strategy",
"grid"
],
"properties": {
"end": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "End",
"default": null,
"description": "YYYY-MM-DD"
},
"fee": {
"type": "number",
"title": "Fee",
"default": 0.009,
"maximum": 0.05,
"minimum": 0,
"description": "Fee per side (0.009 = 0.9%)"
},
"grid": {
"type": "object",
"title": "Grid",
"description": "param -> values to try; <= 50 combos total, <= 10 values per param",
"additionalProperties": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"start": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"title": "Start",
"default": null,
"description": "YYYY-MM-DD"
},
"rank_by": {
"enum": [
"robust",
"return"
],
"type": "string",
"title": "Rank By",
"default": "robust"
},
"slippage": {
"type": "number",
"title": "Slippage",
"default": 0.002,
"maximum": 0.05,
"minimum": 0,
"description": "Slippage per side"
},
"strategy": {
"$ref": "#/$defs/OptimizeStrategy"
},
"universe": {
"anyOf": [
{
"$ref": "#/$defs/Universe"
},
{
"type": "null"
}
],
"default": null
},
"initial_capital": {
"type": "number",
"title": "Initial Capital",
"default": 150,
"maximum": 1000000000,
"description": "Starting capital in USD",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}