Skip to main content
Glama
README.md
# radar402-mcp

MCP server (stdio) for [Radar402](https://pro.zero-orbit.online) — live token
verdict + safety analysis, paid per call in USDC via the
[x402](https://www.x402.org) protocol. No accounts, no API keys — payment
*is* the auth.

Analysis coverage: `ethereum`, `base`, `arbitrum`, `optimism`, `polygon`,
`bsc`, `avalanche`, `solana`. Settlement: Base, Solana or Polygon.

## Tools & pricing

| Tool | Endpoint | Price (USDC) |
|---|---|---|
| `token_verdict` | `POST /api/token-radar-score` | $0.008 (Base) / $0.005 (Solana) / $0.004 (Polygon) settlement |
| `token_deep_report` | `POST /api/token-deep-report` | Premium tier, flat per tier on every network (currently $0.09 during the listing-verification period; list price $0.20) |
| `token_forensic_report` | `POST /api/token-forensic-report` | Premium tier, flat per tier on every network (currently $0.09 during the listing-verification period; list price $0.80) |

All tools take `{token, chain}` — a token **contract/mint address** (symbols
are rejected in real mode).

- **token_verdict** — score 0–100, verdict band (SAFE / CAUTION / HIGH RISK /
  EXTREME RISK), per-signal breakdown (mint/freeze authority, holder
  concentration, liquidity, taxes, owner privileges, honeypot checks),
  sources, confidence. Never fabricates: total source failure returns a
  marked `UNKNOWN` verdict.
- **token_deep_report** — the verdict plus holder analysis (top-25),
  deployer dossier, LP lock detail, wash-trading headline metrics, contract
  deep checks, confidence & coverage, narrative summary. ~45s budget,
  10-min cache.
- **token_forensic_report** — deep report plus full top-100 holder table
  with cluster grouping, cross-chain deployer dossier, LP movement timeline,
  full wash-trading forensics.

Degraded premium reports mark missing sections `unavailable` and earn one
free compensating re-call (same tier+chain+token, within 24h).

## Install & run

```bash
cd radar402-mcp
npm install
node src/index.js        # stdio MCP server; logs go to stderr
```

Requires Node ≥ 20.

## Configuration

| Env var | Required | Meaning |
|---|---|---|
| `RADAR402_KEYFILE` | paid mode | Payer keyfile path. Formats: `0x…` EVM private-key text file, Solana CLI keypair JSON, or base58 secret-key text file. The key never leaves your machine; it only signs the x402 payment authorization locally. |
| `RADAR402_PAY_NETWORK` | no | Settlement network preference: `base` (default), `solana`, or `polygon`. Must match the keyfile type (EVM key → base/polygon, Solana key → solana). |
| `RADAR402_BASE_URL` | no | API base URL. Default `https://pro.zero-orbit.online`. |
| `MCP_DEMO` | no | `1` = demo mode: no keyfile, no payment; calls send `X-PAYMENT: demo`. Only works against a local Radar402 instance running with `DEMO_MODE=1`. |
| `SOLANA_RPC_URL` | no | Custom Solana RPC used to build the payment transaction. |

Fund the payer wallet with a little USDC on your chosen settlement network
(EVM payments are EIP-3009 signatures — gasless for the payer; on Solana the
facilitator's feePayer covers the network fee).

## Client configs

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "radar402": {
      "command": "node",
      "args": ["/absolute/path/to/radar402-mcp/src/index.js"],
      "env": {
        "RADAR402_KEYFILE": "/absolute/path/to/payer-keyfile",
        "RADAR402_PAY_NETWORK": "base"
      }
    }
  }
}
```

### Cursor (`.cursor/mcp.json`)

Same shape as Claude Desktop above.

### Generic MCP client

Launch `node /absolute/path/to/radar402-mcp/src/index.js` as a stdio
subprocess with the env vars above set.

### Demo mode (no wallet)

```json
"env": { "MCP_DEMO": "1", "RADAR402_BASE_URL": "http://127.0.0.1:3000" }
```

…against a locally started Radar402 with `DEMO_MODE=1`. Demo calls serve
real live analysis; only the payment is simulated.

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation4/5

All three tools target the same resource (a token) but at clearly escalating tiers: micro verdict, deep report, and forensic report. Descriptions explicitly define each tier as a superset of the previous, so an agent can select by depth need. Minor ambiguity remains around when to choose deep vs forensic, but the 'everything in X plus' framing resolves most of it.

Naming Consistency4/5

All names share a consistent token_ prefix and snake_case convention. The suffix pattern is slightly uneven (verdict vs. deep_report/forensic_report), but the scheme is predictable and readable.

Tool Count4/5

Three tools is a small but well-scoped surface for a tiered token-report API; each tier earns its place as a distinct depth level. It is on the thin side, but not thin enough to feel incomplete for the stated purpose.

Completeness4/5

The three tiers cover the domain's core lifecycle: quick verdict, deep analysis, and forensic detail, with the lowest tier explicitly handling degraded/UNKNOWN cases. Minor gaps exist around account/pricing introspection or listing which tokens have been checked, but these are workarounds an agent can manage.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues