# Domain & DNS Trust API (x402)

> Domain & DNS Trust API (x402) is a paid MCP server for domain intelligence. Pay-per-check domain trust audits covering DNS, email auth and redirect chains for MCP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI, Self-hosted
- **Website:** https://x402-domain-trust.onrender.com
- **Repository:** https://github.com/reception-ctrl/x402-domain-trust-mcp
- **GitHub stars:** 0
- **MCP Registry name:** io.github.reception-ctrl/x402-domain-trust
- **Categories:** [domain intelligence](https://ai-powered.com/categories/domain-intelligence)
- **Listing updated:** 2026-11-27

## About

Domain and DNS checks that an AI client can call on demand. Each request looks at a domain's mail authentication records (SPF, DMARC), MX and CAA entries, DNSSEC and TLS state, and signals that point toward phishing or typosquatting. A separate tool follows a link's redirect hops without running any page JavaScript and scores each step.

The server is an MCP wrapper around a paid HTTP API. Calls are settled per request in USDC on Base or Solana using x402, so the wallet key you configure pays for each lookup. A MAX_PAYMENT_USD cap limits how much a single call may spend.

It suits developers and agent builders who want an assistant to vet unfamiliar domains, shortened links or new API endpoints before acting on them.

## Features

- **Email authentication audit:** Reports SPF and DMARC posture along with MX records for a domain.
- **DNS and TLS posture:** Checks CAA records, DNSSEC status and TLS configuration.
- **Phishing signal scoring:** Flags typosquatting and phishing indicators in a domain name.
- **Redirect chain tracing:** Follows up to 10 HTTP redirect hops without executing JavaScript and scores each one.
- **Batch domain checks:** Evaluates up to 10 root domains in a single request.
- **Per-request USDC payments:** Pays for each call in USDC on Base or Solana, with a configurable spend cap.

## Good for

- Vet a shortened or unfamiliar link before an agent opens it
- Check a domain's email authentication setup before trusting its mail
- Screen new API or dApp domains before integrating them
- Audit a list of root domains in one batched request

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add x402-domain-trust --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' --env SOLANA_PRIVATE_KEY='<SOLANA_PRIVATE_KEY>' -- npx -y x402-domain-trust-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add x402-domain-trust --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' --env SOLANA_PRIVATE_KEY='<SOLANA_PRIVATE_KEY>' -- npx -y x402-domain-trust-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.x402-domain-trust]
command = "npx"
args = ["-y", "x402-domain-trust-mcp"]
env = { EVM_PRIVATE_KEY = "<EVM_PRIVATE_KEY>", SOLANA_PRIVATE_KEY = "<SOLANA_PRIVATE_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -e SOLANA_PRIVATE_KEY='<SOLANA_PRIVATE_KEY>' x402-domain-trust npx -- -y x402-domain-trust-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "x402-domain-trust": {
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>",
        "SOLANA_PRIVATE_KEY": "<SOLANA_PRIVATE_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 3 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `check_domain_trust` (name suggests: reads): Audits SPF, DMARC, MX, CAA, DNSSEC, TLS, and phishing/typosquatting signals for a single domain.
- `batch_check_domain_trust` (name suggests: reads): Evaluates up to 10 root domains in parallel in a single request.
- `inspect_url_redirects` (name suggests: reads): Safely unshortens and traces HTTP redirect chains (up to 10 hops) without executing JavaScript, scoring each hop.

## FAQ

### Which wallets can pay for requests?

Requests are paid in USDC from an EVM wallet on Base Mainnet via EVM_PRIVATE_KEY, or from a Solana Mainnet wallet via SOLANA_PRIVATE_KEY. At least one key is required.

### How much does a check cost?

A single domain check or URL inspection costs $0.01 USDC, and a batch check of up to 10 domains costs $0.05 USDC.

### Does the redirect inspector run page scripts?

No. It traces redirect hops over HTTP without executing JavaScript.

### Is the service available everywhere?

It is operated from the United States and is unavailable to persons or entities in listed U.S.-sanctioned jurisdictions or on the OFAC SDN list.

### How do I add Domain & DNS Trust API (x402) to Claude Code?

Run this command in your terminal: claude mcp add x402-domain-trust --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' --env SOLANA_PRIVATE_KEY='<SOLANA_PRIVATE_KEY>' -- npx -y x402-domain-trust-mcp

### What are the best alternatives to Domain & DNS Trust API (x402)?

The closest alternatives to Domain & DNS Trust API (x402) are Domain Trust Check (DNS, Email Auth, TLS, Headers), Trustsource, FMF Tools Domain Checks and Email DNS Preflight x402.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Domain Trust Check (DNS, Email Auth, TLS, Headers)](https://ai-powered.com/mcp/domain-trust-check-dns-email-auth-tls-headers): Domain Trust Check (DNS, Email Auth, TLS, Headers) is a paid MCP server for communication.
- [Trustsource](https://ai-powered.com/mcp/trustsource): Trustsource is a freemium MCP server for security.
- [FMF Tools Domain Checks](https://ai-powered.com/mcp/fmf-tools-domain-checks): FMF Tools Domain Checks is a paid MCP server for domain intelligence.
- [Email DNS Preflight x402](https://ai-powered.com/mcp/email-dns-preflight-x402): Email DNS Preflight x402 is a paid MCP server for communication.

---
Source: https://ai-powered.com/mcp/domain-and-dns-trust-api-x402
