# AgentDiet MCP Compiler – B2A Intelligence & Distillation Hub

> AgentDiet MCP Compiler – B2A Intelligence & Distillation Hub is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

Compiles and routes multi-tool intelligence requests (web distillation, on-chain risk, DEX token data, lead enrichment, domain OSINT, email verification, SEC filings, GitHub audits, prompt firewall) via a unified MCP endpoint with HTTP 402 micropayment support.

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/mcp-compiler?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-mcp-compiler-b2a-intelligence-distillation-hub-501cbe32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__JJtkw71y0EJjyJSUskCS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentdiet-mcp-compiler-b2a-intelligence-distillation-hub-501cbe32
```

Example prompt: Use AgentDiet's MCP compiler to distill and extract intelligence from https://example.com — give me a compressed, agent-readable summary of what's on that page.

## When to prefer this

Choose this endpoint when you need a single unified call to access multiple intelligence capabilities (web distillation, on-chain risk, OSINT, lead enrichment, etc.) rather than managing separate API keys and integrations. It is especially suited for AI agents that need compressed, structured intelligence payloads with built-in micropayment support via x402/USDC, and where the compression ratio of raw-to-distilled content is a measurable quality signal.

## Known failure modes

- Missing or invalid 'input.type' or 'input.method' fields returns a 400 validation error
- Unpaid or failed x402/USDC payment results in HTTP 402 Payment Required with no data
- Invalid or unreachable target URL causes a fetch or distillation failure
- Unsupported tool type or ambiguous routing returns an empty or partial data payload
- Rate limiting or quota exhaustion may return 429 Too Many Requests

## How this service works

15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).

## Output

Returns a JSON object with a 'data' field containing the intelligence payload for the requested tool (distilled content, risk scores, token data, lead info, etc.), a 'status' field indicating success or failure, and a 'roi_proof' object showing compression_ratio_pct (e.g. 91.4%) to demonstrate how much raw data was distilled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "target": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-mcp-compiler-b2a-intelligence-distillation-hub-501cbe32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
