API & MCP › Claude

Use DNSai in Claude

Add DNSai to Claude.ai, Claude Code or Claude Desktop. The web connector runs anonymously; Claude Code and Desktop can carry a free key for 100/day.

⚠ Free key works in Claude Code & Desktop · the web connector is anonymous-only

Claude Free and up · one domain per request

↓ Download this guide (.md) drop it into your repo or paste it into your assistant

Set it up

Claude.ai (web & desktop app)

Go to Settings → Connectors → Add custom connector, paste the URL and enable it. The connector UI is OAuth-only — there is no field for an API key — so this surface runs on the anonymous tier (25/day). For 100/day, use Claude Code or Claude Desktop below.

https://mcp.dnsai.com/mcp

Claude Code (CLI) — key works here

One command. The free key rides as a Bearer header. Add --scope user to enable it across every project.

claude mcp add --transport http dnsai https://mcp.dnsai.com/mcp \
  --header "Authorization: Bearer dk_free_xxxxxxxx"

Claude Desktop — key via the mcp-remote bridge

The native connector UI is OAuth-only like the web, so use the mcp-remote bridge to inject your key. Needs Node.js; fully quit and reopen Claude after editing claude_desktop_config.json.

{
  "mcpServers": {
    "dnsai": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.dnsai.com/mcp", "--header", "Authorization:${AUTH}"],
      "env": { "AUTH": "Bearer dk_free_xxxxxxxx" }
    }
  }
}
Your key. Anonymous works on all three surfaces (25/day). For 100/day, get a free key and use it in Claude Code or Claude Desktop — the Claude.ai web connector can't accept a key (OAuth-only).

Verify it works

Ask Claude:

Use dnsai to check the email security of stripe.com

Every result ends with a plain-English summary, a source link on dnsai.com, and your remaining quota.

Troubleshooting

Sources: Claude custom connectors · Claude Code MCP docs

Need bulk, multi-domain, or the full API?

Pro unlocks bulk / multi-domain lookups; Enterprise adds large-scale scanning and the full programmatic API.

See plans & pricing →