DNS Lookup API logo

DNS Lookup API

Queries DNS records through Cloudflare DNS-over-HTTPS using an MCP endpoint with x402 USDC payments.

Install DNS Lookup API

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://dns-lookup.api.klymax402.com/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http dns-lookup-api https://dns-lookup.api.klymax402.com/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

DNS Lookup API MCP server queries Cloudflare DNS-over-HTTPS for selected records through the `network_lookup_dns` tool. It accepts a domain and an optional record type, returning matching records as JSON. The hosted MCP endpoint uses x402 pay-per-call payments in USDC on Base and does not require an API key or signup. Reach for it when an agent needs to verify DNS configuration, inspect mail or TXT records, or troubleshoot domain resolution.

Use cases

  • Verify DNS configuration for a domain
  • Check MX records before email setup
  • Audit TXT records for SPF, DKIM, or DMARC
  • Debug domain resolution issues

Key features

  • Queries A, AAAA, MX, TXT, CNAME, NS, SOA, and SRV records
  • Uses Cloudflare DNS-over-HTTPS
  • Exposes the network_lookup_dns MCP tool
  • Supports hosted MCP and HTTP access
  • Uses x402 USDC payments on Base

Tools3

What DNS Lookup API lets your agent do. Expand a tool for its parameters.

Self-reported~42 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/26 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit3mo agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.

How DNS Lookup API works

What DNS Lookup API MCP server does

DNS Lookup API MCP server exposes DNS queries to MCP-compatible clients through a hosted endpoint. Its main operation, network_lookup_dns, retrieves records for a supplied domain using Cloudflare DNS-over-HTTPS. The response includes the queried domain, record type, matching records, TTL values when returned, query timing, and the resolver name.

Supported record types are A, AAAA, MX, TXT, CNAME, NS, SOA, and SRV. The default type is A, so callers that omit the type request IPv4 address records. DNS Lookup API MCP server is suited to agent workflows that need current DNS data rather than a local zone-file parser or a broader domain intelligence service.

How it works

The service provides an MCP endpoint at https://dns-lookup.api.klymax402.com/mcp. An MCP client sends a tool call with a required domain string and an optional type string. The service performs the lookup through Cloudflare DNS-over-HTTPS and returns matching records in JSON.

Calls are priced through x402. The documented payment network is Base L2 (eip155:8453), and the payment asset is USDC. x402-aware clients can handle the payment-required response, signing, and retry sequence. The listed payment facilitators are Coinbase CDP as primary and PayAI as fallback. The service can also be reached through ATXP with OAuth-wrapped x402 access.

Setup and configuration

Add the hosted MCP URL to the client configuration. A typical entry uses the dns-lookup server name and the following endpoint:

config.json
{
  "mcpServers": {
    "dns-lookup": {
      "url": "https://dns-lookup.api.klymax402.com/mcp"
    }
  }
}

The README specifically gives Claude Desktop and Cursor as configuration examples and also mentions ElizaOS. No API key, signup, or server-side environment variable is documented. The client or payment layer must support the x402 payment flow when a call returns a payment challenge.

Tools and capabilities

  • network_lookup_dns: looks up DNS records for a domain.
  • domain: required domain name, such as example.com.
  • type: optional record type; accepts A, AAAA, MX, TXT, CNAME, NS, SOA, or SRV, with A as the default.
  • JSON results: returns matching records along with domain, type, query time, and resolver data when provided.
  • HTTP access: the same lookup is available through POST /api/lookup.

The documented HTTP price is $0.005 per lookup. A direct HTTP request can receive a 402 response containing an x402 payment challenge before the request is completed.

Limitations and notes

DNS Lookup API MCP server only documents DNS record lookup. It is not intended for SSL certificate checks, WHOIS information, or HTTP header analysis; the README points to separate tools for those tasks. Results depend on the upstream Cloudflare DNS-over-HTTPS lookup.

Each lookup has a per-call payment requirement rather than an API-key quota model. Clients need a way to complete x402 payments using USDC on Base, either directly or through an x402-aware library or service.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about DNS Lookup API

DNS Lookup API is an MCP server that connects agents to Cloudflare DNS-over-HTTPS and exposes the network_lookup_dns tool. It accepts a domain and optional record type, then returns matching A, AAAA, MX, TXT, CNAME, NS, SOA, or SRV records as JSON. Calls use x402 payments in USDC on Base.

Add `https://dns-lookup.api.klymax402.com/mcp` as a remote MCP server URL in your client configuration. No API key or signup is required, but calls use x402 payments and the client must handle that payment flow.

Yes, DNS Lookup API works with Cursor through its hosted MCP URL. Add the URL under an MCP server entry, then call `network_lookup_dns` with a domain and optional record type. Each completed lookup is charged through x402 in USDC on Base.

A lookup costs $0.005 according to the documented tool table. Payment uses x402 with USDC on Base L2, and an x402-aware client can handle the payment challenge, signing, and retry process.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDNS Lookup API AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dns-lookup-api?style=directory)](https://allmcps.com/mcp/dns-lookup-api)
HTML Embed
<a href="https://allmcps.com/mcp/dns-lookup-api"><img src="https://allmcps.com/api/badge/dns-lookup-api?style=directory" alt="DNS Lookup API on AllMCPs" /></a>