DeFi Risk Intelligence

On-chain AI agent scoring DeFi protocol risk with live market data. Pay per query via x402 micropayments on Base.

ERC-8004 Agent Base Mainnet x402 Payments Live DeFiLlama Data

A2A Server

Checking...

MCP Server

Checking...

Payment Network

Loading...

Total Requests

Live Protocol Risk Scores (Base)

Protocol TVL Top Pool APY Risk
Loading live data...

Try Free — Risk Preview

Get a free risk level check for any supported protocol. No payment required.

Pricing

risk.preview

FREE
 
Quick risk level check (LOW / MEDIUM / HIGH). Try it above!

risk.score

$0.10
USDC per query
Full risk analysis with live TVL, APY, volatility signals, and TVL trend detection.

route.suggest

$0.15
USDC per query
Execution route recommendation: execute now, stage entry, or avoid — with rationale.

portfolio.risk

$0.25
USDC per query
Multi-position portfolio analysis with aggregate scoring, correlation penalties, and diversification index.

depeg.monitor

$0.20
USDC per query
Stablecoin and LST depeg risk assessment. Detects APY spikes, TVL outflows, and liquidity thinning.

monitor.subscribe

$0.50
USDC per subscription
Create a persistent risk monitor with custom alert threshold. Poll via monitor.check for recurring updates.

monitor.check

$0.05
USDC per check
Poll a subscription for current risk vs threshold. Designed for high-frequency recurring checks.

exposure.map

$0.30
USDC per query
Maps protocol dependency chain: oracles, bridges, upstream protocols, governance. Systemic risk analysis.

contract.audit

$0.35
USDC per query
Smart contract risk posture: audit coverage, proxy upgradeability, timelock, code age, and governance model.

bundle.purchase

$2.00
USDC for 25 calls
Prepaid bundle of 25 risk.score calls at 20% discount. Use X-BUNDLE-ID header on future calls.

API Reference

POST https://mcp.carlosian.org/mcp

MCP tool execution endpoint. Requires x402 payment header for paid tools.

{
  "tool": "risk.score",
  "input": {
    "protocol": "aave",
    "chain": "base",
    "volatilityPct": 30,
    "slippageBps": 50
  }
}
POST https://a2a.carlosian.org/a2a

Agent-to-Agent protocol endpoint. Send natural language prompts for risk analysis.

{
  "jsonrpc": "2.0",
  "method": "message/send",
  "params": {
    "message": {
      "parts": [{ "type": "text", "text": "protocol=aave chain=base" }]
    }
  },
  "id": 1
}
POST https://mcp.carlosian.org/mcp

Portfolio risk analysis. Scores aggregate risk across multiple DeFi positions. Requires x402 payment ($0.25).

{
  "tool": "portfolio.risk",
  "input": {
    "positions": [
      { "protocol": "aave", "chain": "base", "allocationPct": 50 },
      { "protocol": "aerodrome", "chain": "base", "allocationPct": 30 },
      { "protocol": "compound-finance", "chain": "ethereum", "allocationPct": 20 }
    ]
  }
}
POST https://mcp.carlosian.org/mcp

Depeg risk monitor. Assesses stablecoin/LST depeg risk using live pool data. Requires x402 payment ($0.20).

{
  "tool": "depeg.monitor",
  "input": { "asset": "USDC", "chain": "base" }
}
POST https://mcp.carlosian.org/mcp

Free risk preview — no payment required. Returns risk level (LOW/MEDIUM/HIGH).

{
  "tool": "risk.preview",
  "input": { "protocol": "aave", "chain": "base" }
}
POST https://mcp.carlosian.org/mcp

Subscribe to risk monitoring. Creates a persistent monitor with custom threshold. Requires x402 payment ($0.50).

{
  "tool": "monitor.subscribe",
  "input": {
    "protocol": "aave",
    "chain": "base",
    "thresholdScore": 60,
    "label": "Aave Base risk alert"
  }
}
POST https://mcp.carlosian.org/mcp

Check a monitor subscription. Returns current risk score vs threshold with alert flag. Requires x402 payment ($0.05).

{
  "tool": "monitor.check",
  "input": { "subscriptionId": "mon_abc123def456" }
}
POST https://mcp.carlosian.org/mcp

Exposure map. Maps protocol dependency chain with live TVL enrichment. Requires x402 payment ($0.30).

{
  "tool": "exposure.map",
  "input": { "protocol": "morpho", "chain": "base" }
}
POST https://mcp.carlosian.org/mcp

Smart contract audit score. Assesses contract risk posture for supported protocols. Requires x402 payment ($0.35).

{
  "tool": "contract.audit",
  "input": { "protocol": "aave", "chain": "base" }
}
POST https://mcp.carlosian.org/mcp

Bundle purchase. Buy 25 prepaid risk.score calls at 20% discount. Requires x402 payment ($2.00).

{
  "tool": "bundle.purchase",
  "input": { "tool": "risk.score", "totalCredits": 25 }
}

// Then use the bundle:
// POST /mcp with header X-BUNDLE-ID: bnd_abc123
// { "tool": "risk.score", "input": { "protocol": "aave", "chain": "base" } }
GET https://a2a.carlosian.org/.well-known/agent-card.json

Agent discovery card (ERC-8004 standard). Returns agent identity, skills, and endpoint.

GET https://mcp.carlosian.org/pricing

Returns current tool pricing, accepted token, and payment network configuration.