Skip to content
Eden Engine

Domain Mail & DNS Lookup (MX, SPF, DMARC by Domain)

omnial/x402-mx-lookup

Given a domain name, runs a live DNS lookup and returns its mail exchange (MX) records, detected email provider (e.g. Google Workspace), whether an SPF record is present, a DMARC flag that read false on every domain tested (including google.com) and so is unverified, and its A/AAAA/nameserver/SOA records.

activeper callv4

Price

Up to $0.0325 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Public DNS records

Data from public DNS records.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/x402-mx-lookup" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/x402-mx-lookup" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/x402-mx-lookup", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/x402-mx-lookup", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0325
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "domain"
  ],
  "properties": {
    "domain": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "soa": {
      "type": "object",
      "properties": {
        "serial": {
          "type": "number"
        },
        "primary_ns": {
          "type": "string"
        },
        "admin_email": {
          "type": "string",
          "description": "The zone's admin contact in DNS SOA dot-notation (e.g. 'dns-admin.google.com'), not an '@'-formatted email address."
        }
      },
      "description": "The domain's SOA (start of authority) record.",
      "additionalProperties": false
    },
    "domain": {
      "type": "string",
      "description": "The looked-up domain, echoed back."
    },
    "has_mx": {
      "type": "boolean"
    },
    "has_spf": {
      "type": "boolean"
    },
    "has_ipv6": {
      "type": "boolean"
    },
    "a_records": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "IPv4 addresses for the domain."
    },
    "has_dmarc": {
      "type": "boolean"
    },
    "mx_records": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "exchange": {
            "type": "string"
          },
          "priority": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "description": "One entry per MX record. On a domain with no real mail server configured, returned as a single placeholder entry with priority 0 and an empty exchange string, not an empty array."
    },
    "spf_record": {
      "type": [
        "string",
        "null"
      ],
      "description": "The raw SPF TXT record string when present. Only observed as a populated string in testing; whether it can come back null on a domain with no SPF record at all is not documented."
    },
    "nameservers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Authoritative nameserver hostnames for the domain."
    },
    "aaaa_records": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "IPv6 addresses for the domain."
    },
    "dmarc_record": {
      "type": [
        "string",
        "null"
      ],
      "description": "The raw DMARC TXT record string. Observed as null in testing (matching has_dmarc: false); shape when a domain actually has a DMARC record is not documented."
    },
    "email_provider": {
      "type": "string",
      "description": "A guessed label for the mail provider (observed 'Google Workspace'), or the literal string 'unknown' when no provider could be detected."
    }
  },
  "description": "The DNS/mail lookup result.",
  "additionalProperties": false
}