Market evidence through MCP.

Connect Leroy to the agent or workflow you already use. Send a ticker and side; receive current context, historical matching, outcomes, and explicit limits.

Get Started

No card required. Research only.
No broker connection or live trading.

From request to response.

Scroll through the five passes behind a MCP answer. Every step adds context before Leroy returns the evidence.

Inputs

The agent sends the setup it is considering. Leroy does not need a candle dump or a giant prompt.

Request Body

POST /api/mcp

MCP
{
  "symbol": "AAPL",
  "side": "buy",
  "entry_price": 212.34,
  "holding_horizons": [15, 30]
}

Assess Market

The current market frame adds context around the setup: volume, benchmarks, breadth, and volatility.

Volume

1.38× avg

Elevated

SPY

+0.42%

Firm

VTI

+0.31%

Firm

Breadth

61% advancing

Positive

Volatility

Normal

Neutral

Read Strategy Signals

Each supported strategy reports a signal so the agent can see agreement, disagreement, and neutral signals.

Opening Range 30

+0.82

Buy

Donchian 20

+0.67

Buy

Relative Strength

+0.41

Buy

VWAP

0.00

Neutral

RSI 14

+0.04

Neutral

Bollinger

−0.08

Neutral

Find Historical Matches

Leroy searches the verified record for comparable setups and measures what followed them.

AAPL · Buy · 15 minutes

184 comparable historical setups

Matched

Average Return

+3.84%

Win Rate

63%

Profit Factor

1.42

Return Evidence

The agent receives the evidence, assumptions, and boundary in one deterministic response.

Possible Return

Evaluated

AAPL · buy

15-minute historical average

+3.84%

Samples

184

Win Rate

63%

Profit Factor

1.42

Request

Read-only demo. No API key required.

Ticker

No ticker currently has an active exact setup. Run a request to inspect all 41 sensor states; the sensor field distinguishes neutral, blocked, warming, and active.

Request body

JSON
{
  "symbol": "AAPL",
  "side": "buy",
  "holding_horizons": [
    15
  ]
}

Want to test your own agent connection? Activate MCP in Account.

Response

Explicit status. No inferred values.

Ready to evaluate.

Ready

Run a request to see the complete response contract.

View full response
{
  "status": "ready"
}

Connect your agent to Leroy

The same request in a few common formats.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "evaluate_current_setup",
    "arguments": {
      "symbol": "AAPL",
      "side": "buy",
      "holding_horizons": [
        15
      ]
    }
  }
}

Connect your agent.

Use this endpoint in any MCP-compatible client.

https://getleroy.com/api/mcp

Examples are for demonstration only. Historical evidence is not a forecast, investment advice, or a promise of future returns.

Study the system behind the answer.

The Research Center is where the evidence engine opens up: replay the strategies, compare the context, follow the model, and inspect the paper ledger.

Open Research Center