← Back to System R Risk Intelligence
Install System R Risk Intelligence
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add -e "SYSTEMR_API_KEY=${SYSTEMR_API_KEY}" system-r-risk-intelligence -- python -m systemr.mcpRequired:
SYSTEMR_API_KEYEnvironment Variables
Set these before running System R Risk Intelligence.
VariableDescriptionRequired
SYSTEMR_API_KEYAPI key for accessing the System R trading services.YesAvailable Tools (8)
Once configured, System R Risk Intelligence gives your AI agent access to:
pre_trade_gatePerforms sizing, risk validation, and health checks in one call.symboldirectionentry_pricestop_priceequityr_multiplescalculate_position_sizeCalculates the appropriate position size based on equity and risk parameters.equityentry_pricestop_pricedirectioncheck_riskValidates trade risk parameters.symboldirectionentry_pricestop_pricequantityequityassess_systemEvaluates a trading system based on a series of R-multiples.r_multiplescalculate_equity_curveGenerates an equity curve from a list of R-multiples.r_multiplesstarting_equityscore_signalScores the quality of a trading signal.conditions_mettotal_conditionsregime_alignedindicator_confluencevolume_confirmedrisk_reward_ratiodetect_regimeDetects the current market regime based on price history.pricesanalyze_greeksPerforms options Greeks analysis.chainunderlying_priceTry It Out
After setup, try these prompts with your AI agent:
→Calculate the position size for a long trade on AAPL with $100,000 equity, entry at $185.50, and stop at $180.00.
→Run a pre-trade gate check for a long position on AAPL at $185.50 with a stop at $180.00 and $100,000 equity.
→Assess my trading system performance based on these R-multiples: [1.5, -1.0, 2.0, -0.5, 1.8, 0.8, -0.3, 2.5, -1.0, 1.2].
→Detect the market regime for the following price sequence: [180, 182, 179, 185, 188, 186].
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
SYSTEMR_API_KEY— API key for accessing the System R trading services.
Keep this setup from going cold
Save the docs, env vars, and workflow around System R Risk Intelligence in Conare so Claude Code, Codex, and Cursor remember it next time.