Composite portfolio risk for any EVM address. Composes Aave V3 health factor, Compound III debt + liquidation status, Uniswap V3 LP NFT count, top-N ERC-20 holdings concentration, and GoPlus token-security flags into a 0–100 risk score with itemized reasons. Pay-per-call USDC on Base — no signup, no API key.
| Path | Price | What it does |
|---|---|---|
POST /v1/wallet/portfolio_risk | $0.30 | Full composite — 5 sources fused, multichain. |
POST /v1/wallet/liquidation_alert_threshold | $0.10 | Aave V3 + Compound III liquidation slice, single chain. |
POST /mcp — MCP Streamable HTTP transport (JSON-RPC 2.0)curl -X POST https://wallet-portfolio-risk-mcp.mtree.workers.dev/v1/wallet/portfolio_risk \
-H 'content-type: application/json' \
-d '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'
# 402 → settle X-PAYMENT envelope on Base USDC, retry.
getUserAccountData(user): collateral, debt, health factor, LTV, liquidation threshold.borrowBalanceOf, balanceOf, isLiquidatable across base-asset markets.balanceOf(owner): LP NFT count → IL exposure flag.balanceOf across ~10 popular assets per chain + native balance.