← 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.mcp
Required:SYSTEMR_API_KEY

Environment Variables

Set these before running System R Risk Intelligence.

VariableDescriptionRequired
SYSTEMR_API_KEYAPI key for accessing the System R trading services.Yes

Available 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_multiples
calculate_position_sizeCalculates the appropriate position size based on equity and risk parameters.
equityentry_pricestop_pricedirection
check_riskValidates trade risk parameters.
symboldirectionentry_pricestop_pricequantityequity
assess_systemEvaluates a trading system based on a series of R-multiples.
r_multiples
calculate_equity_curveGenerates an equity curve from a list of R-multiples.
r_multiplesstarting_equity
score_signalScores the quality of a trading signal.
conditions_mettotal_conditionsregime_alignedindicator_confluencevolume_confirmedrisk_reward_ratio
detect_regimeDetects the current market regime based on price history.
prices
analyze_greeksPerforms options Greeks analysis.
chainunderlying_price

Try 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.

Remember this setup