Domain & DNS Trust API (x402)
Pay-per-check domain trust audits covering DNS, email auth and redirect chains for MCP
Domain & DNS Trust API (x402) is a paid MCP server for domain intelligence. It runs locally on your machine and is started by your AI client.
- Pricing
- Paid
- Platforms
- API, CLI, Self-hosted
- Runs
- Locally
- What it can do
- Read-only
- GitHub stars
- 0
- Last commit
Similar MCP servers
Install
Add with the CLI
Run in a 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-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.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>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
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-mcpOr add to config.toml
Add to ~/.codex/config.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>" }Add to your client's MCP settings (most use this shape)
{
"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>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
EVM_PRIVATE_KEYBase Mainnet (eip155:8453) wallet private key for automatic USDC micropayments ($0.01-$0.05).SOLANA_PRIVATE_KEYSolana Mainnet base58 private key for automatic SPL USDC micropayments.MAX_PAYMENT_USDMaximum USDC amount per request in USD (default: 0.10).
About Domain & DNS Trust API (x402)
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.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
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_trustName suggests: reads
- Audits SPF, DMARC, MX, CAA, DNSSEC, TLS, and phishing/typosquatting signals for a single domain.
- batch_check_domain_trustName suggests: reads
- Evaluates up to 10 root domains in parallel in a single request.
- inspect_url_redirectsName suggests: reads
- Safely unshortens and traces HTTP redirect chains (up to 10 hops) without executing JavaScript, scoring each hop.
What it does
- 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
Pricing
Paid
Pay per request: $0.01 per domain or URL check, $0.05 per batch of up to 10 domains
Prices change. Check x402-domain-trust.onrender.com before you buy.
Domain & DNS Trust API (x402) 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.