Verifiable peg state
in your prompts.
Pegana exposes peg-risk signals to AI agents over Model Context Protocol and REST. Subscribe to live state transitions, verify any alert's provenance, and cite receipts in the decision log. No API keys. Free MCP tools are free; paid tools settle per call in x402 USDC on Solana mainnet.
methodology v0.1.0 · receipt v1 · sigstore · x402 USDC
Agents that act on financial signals must cite why they acted.
Every Pegana signal carries an evidence_url and a receipt_sha256 — a citable, verifiable record of every decision input. Audit URLs are reproducible offline via pegana-replay and on-chain via a Solana SPL Memo commitment.
Three ways agents read Pegana.
verify_alert
freeGiven an alert UUID, returns the full audit receipt. Validate any alert your agent observes before it acts.
const receipt = await mcp.callTool("verify_alert", {
alert_id: alertUuid,
});
const { evidence } = receipt.structuredContent;
console.log("methodology:", evidence.methodology_version);
console.log("receipt sha256:", evidence.receipt_sha256);
console.log("on-chain:", evidence.onchain_tx_sig ?? "pending");subscribe_peg_events
paid · x402Stream state transitions for a watchlist. For agents that gate allocations on peg health.
const events = await mcp.callTool("subscribe_peg_events", {
symbols: ["USDe", "PYUSD", "USDS"],
since_ts: lastCursor,
threshold_bps: 50,
});
for (const e of events.structuredContent.events) {
if (e.to_state === "DRIFT" || e.to_state === "DEPEG") {
await haltAllocation(e.asset); // cite e.evidence_url
}
}GET /v1/audit/:id
no clientThe same receipt the MCP tool returns — over plain REST, no client required.
curl -s https://api.pegana.xyz/v1/audit/<UUID> | jq .
# Atom feed of recent alerts
curl -s https://www.pegana.xyz/audit.xmlFree MCP tools are free. Paid calls settle $0.0005–$0.001 per call in x402 USDC on Solana mainnet — no keys, no signup, no upfront commitment.
Point your client here.
There's no browser UI — the server only speaks JSON-RPC over POST. Copy the endpoint into your MCP client.
https://mcp.pegana.xyzLiveness GET https://mcp.pegana.xyz/health · Metrics GET https://mcp.pegana.xyz/metrics
Pegana is a verifiable computation log. Not SOC 2, not a regulatory audit, not financial advice.