API & MCP › Grok

Use DNSai in Grok

Add DNSai as a custom connector in the Grok app (paid plans), or wire it programmatically via the Grok API where the Bearer key is fully supported.

⚠ Connector UI (paid plan) · key reliable via the Grok API

Grok paid plan · one domain per request

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

Set it up

Grok app (web / iOS / Android)

Go to grok.com/connectors → New Connector → Custom, paste the URL and complete the auth step. Streamable HTTP and SSE are both supported. Custom connectors require a paid plan.

https://mcp.dnsai.com/mcp

Grok API — key works here

When wiring Grok programmatically, pass your key in the request's authorization field — Grok sends Authorization: Bearer … to DNSai. Use extra_headers for anything else.

authorization: "Bearer dk_free_xxxxxxxx"
Your key. Anonymous works in the Grok app (25/day). A static Bearer in the chat connector UI isn't clearly documented yet — for a reliable keyed 100/day use the Grok API authorization field. Get a free key.

Verify it works

In Grok, ask:

Use the dnsai connector to check email security for paypal.com

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

Troubleshooting

Sources: Grok connectors · Grok remote MCP (API)

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 →