R_net LP risk evaluator for DeFAI agents. IL + Breakeven Corridor O(1). L402 Lightning paywall.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
The Risk-Validation Layer for Autonomous AI Agents (DeFAI)
Method and raw results are published β backtest script Β· result data (180 days of Binance ETH/USDC daily closes): π¬ Breakeven Corridor is a deterministic algebraic boundary (where IL = accumulated yield). Any position whose price ratio stays within
[lower_be, upper_be]has R_net > 0 by mathematical definition β not a probabilistic model. π This engine measures; it does not forecast. No predictive-accuracy figure is claimed β read the published result files and judge the method for yourself.
Transform DeFi uncertainty into deterministic, actionable risk metrics for autonomous agents. We do not run stateful trading bots or generate speculative prediction signals; we provide a stateless risk middleware layer that agents query before deploying or maintaining standard constant-product / full-range LP positions.
Built for agents, priced for agents. Pay per decision via Lightning Network (L402).
Before an autonomous agent deploys capital or adjusts a standard constant-product / full-range LP position (such as Uniswap V2 or full-range V3), it submits the pool parameters (APY, price ratio, days held) to our API. The engine computes the exact mathematical risk, the net return ($R_{net}$), and the dynamic Breakeven Corridor bounds.
1. MCP JSON-RPC β the endpoint advertised on the MCP registry
Standard MCP handshake: initialize β tools/list β tools/call. Available over
streamable HTTP and stdio.
2. REST convenience route β no MCP client required
Both routes run the same calculation and the same quota. Note that
/mcp/evaluate is GET-only: a POST to that path returns 405 Allow: GET,
because JSON-RPC belongs on /mcp.
layer reports how the call was served: FREE while inside the free quota,
PREMIUM once an L402 payment has been verified. The call shown above is
served as FREE.
evaluate_pool: 100 calls per IP per day, custom parameters
included. No Lightning wallet is needed to use the engine.WWW-Authenticate header or from error.data.price_sats in the 402 response
rather than hard-coding it.GET /mcp/audit/latest: 3 free calls per IP per hour, then L402 β this
route is what keeps the Lightning rail live and demonstrable.COOKBOOK.mdhttps://api.arsenal-quant.com/.well-known/mcp/server-card.jsonThis engine does not prevent losses, and it makes no claim about how much money it saves you. What it does is compute β deterministically, in $\mathcal{O}(1)$, with an HMAC signature over the result β whether a position sits above or below its breakeven boundary. What you pay for is a reproducible, auditable number your agent can act on, priced per call so it can be budgeted like any other input.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/arsenal-decision-engine)<a href="https://allmcps.com/mcp/arsenal-decision-engine"><img src="https://allmcps.com/api/badge/arsenal-decision-engine?style=directory" alt="Arsenal Decision Engine on AllMCPs" /></a>