Skip to content
MCP server

DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC

Bulk DNS, MX, SPF and DMARC lookups for lists of domains, exposed as an MCP server

Answers · sign-in required (bearer token)

The server answered yesterday with a sign-in request for a bearer token (HTTP 401), so we could not list its tools.

DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC is a paid MCP server for email validation. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Paid
Platforms
API, Web
Runs
Remotely
Access
Needs sign-in (bearer token)
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http dns-lookup-mcp 'https://mcp.apify.com?tools=publicrecords/dns-lookup'

Add --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": {
    "dns-lookup-mcp": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://mcp.apify.com?tools=publicrecords/dns-lookup

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "dns-lookup-mcp": {
      "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
    }
  }
}

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "dns-lookup-mcp": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
    }
  }
}

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

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://mcp.apify.com?tools=publicrecords/dns-lookup

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add dns-lookup-mcp --url 'https://mcp.apify.com?tools=publicrecords/dns-lookup'

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.dns-lookup-mcp]
url = "https://mcp.apify.com?tools=publicrecords/dns-lookup"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://mcp.apify.com?tools=publicrecords/dns-lookup

Enter a Name (for example "DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for a bearer token. Add it under HTTP headers as Authorization: Bearer <your token>.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "dns-lookup-mcp": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "dns-lookup-mcp": {
          "httpUrl": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http dns-lookup-mcp 'https://mcp.apify.com?tools=publicrecords/dns-lookup'

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "dns-lookup-mcp": {
          "serverUrl": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
        }
      }
    }

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "dns-lookup-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup",
          "transport": "http"
        }
      }
    }

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

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "dns-lookup-mcp": {
          "type": "streamableHttp",
          "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "dns-lookup-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
        }
      }
    }

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "dns-lookup-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "dns-lookup-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
        }
      }
    }

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "dns-lookup-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/dns-lookup"
        }
      }
    }

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC

Hands a list of domains, URLs or email addresses to a DNS lookup run and returns one structured row per domain. Each row covers A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records along with TTLs, and flags domains that do not exist so dead entries can be removed from a list.

Beyond raw records, the lookup reads the SPF and DMARC policies, names the email provider from MX hosts, and reports whether the answer was DNSSEC-validated. Queries go to Cloudflare's 1.1.1.1 resolver over HTTPS, with Google Public DNS as a fallback when Cloudflare fails or times out.

The server is hosted by Apify's MCP gateway and runs the underlying Actor on the caller's own Apify account, so it is billed per domain looked up. It suits deliverability and IT teams auditing email setup across many domains, and sales or data teams cleaning lead lists.

What it does

Bulk record lookup
Checks thousands of domains in one run, returning one row per domain with the requested record types.
SPF and DMARC checks
Reads the SPF record and its include domains and parses the DMARC policy, subdomain policy and report addresses.
Email provider detection
Identifies the mail provider from MX host names and reports whether the domain accepts email.
Non-existence flagging
Marks domains that return NXDOMAIN so dead entries can be filtered out of a list.
DNSSEC status
Reports whether the resolver validated the answer with DNSSEC.
Standard MCP connection
Connects to MCP clients over Streamable HTTP with Apify OAuth or an API token.

Good for

  • Auditing SPF, DMARC and MX configuration across a portfolio of domains
  • Removing non-existent or non-mail domains from a sales lead list
  • Checking which mail provider a prospect's domain uses
  • Monitoring name server and CAA changes for a set of sites
  • Letting an AI assistant answer DNS questions about a batch of domains

Pricing

Paid

Pay per event on Apify: $0.001 per run start plus $0.0008 per domain looked up. Apify plans include platform usage.

Prices change. Check apify.com before you buy.

DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC FAQ

Can I check only MX records?

Yes. Setting the record types to MX returns only those records, and the SPF and DMARC fields are still filled when email checks are on.

Does DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC work for subdomains?

Yes. Enter the full name, such as mail.example.com, and DMARC is read at _dmarc. followed by the name entered.

What does dnssecValidated mean?

The resolver validated the answer with DNSSEC. A false value usually means the domain is not signed.

Which record types are not included?

PTR, SRV and other rarer record types are not included, and no WHOIS or IP registry data is returned.

Is DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC free?

No. DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC is a paid product.

How do I add DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC to Claude Code?

Run this command in your terminal: claude mcp add --transport http dns-lookup-mcp 'https://mcp.apify.com?tools=publicrecords/dns-lookup'

What are the best alternatives to DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC?

The closest alternatives to DNS Lookup MCP: Bulk DNS, MX, SPF and DMARC are Bulk DNS, SSL & Email Security (Apify) by Dataset Works, Outbound Domain Preflight, DMARC, SPF & DKIM Checker by Signalloom (via Apify MCP), Dns Check and MCP Email Auditor.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Status: checked automatically by AIPoweredBot on 29 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers