Skip to main content
Glama
google-doh-dns-inspector-mcp

google-doh-dns-inspector-mcp

README.md
# google-doh-dns-inspector-mcp

Zero-key Google DNS-over-HTTPS (DoH) DNS inspector over Model Context Protocol (MCP). Security engineers, SREs, and email deliverability teams can query `dns.google/resolve` for live DNS records, SPF, DMARC, and DKIM email authentication policies, MX mail providers, CAA certificate rules, DNSSEC validation, and SaaS TXT verification records with zero API keys and zero sign-up. It connects over Streamable HTTP right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

```text
https://google-doh-dns-inspector-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `resolve_dns_record` | Resolve standard DNS records (`A`, `AAAA`, `CNAME`, `MX`, `TXT`, `NS`, `SOA`, `CAA`, `DS`, `DNSKEY`) via Google DoH |
| `audit_email_auth_dns` | Audit SPF (`v=spf1`), DMARC (`_dmarc`), and optional DKIM selector email authentication policies |
| `inspect_mx_and_mail_providers` | Retrieve priority-sorted MX records and infer hosted email providers |
| `audit_caa_and_tls_dns` | Check CAA certificate authority rules, DS records, and DNSSEC Authenticated Data (`AD`) flags |
| `inspect_txt_verifications` | List all TXT records for a domain and classify SaaS ownership verification tokens |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "google-doh-dns-inspector": {
      "url": "https://google-doh-dns-inspector-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream request queries `https://dns.google/resolve` with `Accept: application/dns-json`, a clear `User-Agent` header (`mcpstamp-google-doh/1.0`), and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't stay cached. All five tools declare read-only, non-destructive, idempotent, open-world annotations.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.google-doh-dns-inspector-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

The generic resolve_dns_record tool overlaps with the three specialized tools (audit_email_auth_dns, audit_caa_and_tls_dns, inspect_txt_verifications) since those record types are all queryable through it. The descriptions clarify that the specialized tools add classification/analysis beyond raw lookup, but an agent could still hesitate over which to pick for TXT or CAA queries.

Naming Consistency4/5

All names use snake_case with a verb_noun structure (resolve_dns_record, audit_email_auth_dns, inspect_mx_and_mail_providers). The only wrinkle is inconsistent verb choice — resolve, audit, and inspect are used for closely related operations, which slightly muddies the pattern.

Tool Count5/5

Five tools is well-scoped for a DNS inspection server: one general resolver plus four focused auditors covering email auth, MX providers, CAA/DNSSEC, and TXT verifications. Each tool earns its place without redundancy that bloats the surface.

Completeness4/5

Coverage of DNS record types is comprehensive via the generic resolver plus specialized audits, so core inspection workflows are covered. Minor gaps remain: no reverse/PTR lookup, no multi-resolver propagation comparison, and no historical/TTL-change inspection.