Anthropic · MCP with API key
DNSai for Claude Code
Add DNSai to Claude Code with one command and let it check DNS, SPF, DKIM, DMARC and DNS change history while it works on your infrastructure or scripts.
What you can ask Claude Code
Example answers use made-up domains.
“Before I merge this Terraform change, show the current MX and SPF for tailspin.example.”
Connect in 3 steps (about 2 minutes)
- Create a DNSai API key and set it as DNSAI_API_KEY.
- Run claude mcp add with the DNSai server address and an Authorization header.
- Ask Claude Code about your domains.
Signed-in Enterprise customers get the exact click-by-click steps and ready-to-paste configuration for Claude Code, a one-click API key for it, and a live connection check.
Claude Code requirements: Claude Code. DNSai Enterprise plan.
Good for
- Validating DNS changes in an infrastructure-as-code pull request
- Writing scripts against the DNS change feed
Security
- Claude Code sends an API key in the Authorization header. Use an expiring key made for Claude Code and keep it in an environment variable.
- Account and organization owners can make API keys and assistants read-only, so they can read your data but never change it or start scans.
- Starting a credit-spending Deep Scan always needs an estimate and your explicit confirmation.
- DNSai data comes from public DNS and web records. Your watchlists, notes and tags stay private to your account and are only shared with an AI tool you connect yourself.
Connect Claude Code to DNSai
The API and AI connectors are included with DNSai Enterprise plans. Every member of your organization shares one set of limits, and every call counts from the first one.
Other integrations
Last checked 2026-10-29.