haraldr
v0.5.0
Published
MCP server for Haraldr — login and (eventually) domain management tools for AI agents.
Readme
haraldr
Search and register domain names directly from your AI agent.
This MCP server connects Claude Code, Claude Desktop, Cursor, and other compatible AI tools to Haraldr so you can find a great domain name and buy it without leaving the conversation.
Install
One command sets it up for every AI agent it finds on your machine:
npx haraldr@latest installThat's it — restart your agent and the tools are ready to use.
The
@latesttag is intentional:npxcaches packages under~/.npm/_npx/, so the bare form may reuse a stale install command months later.@latestalways pulls the newest version. The MCP server entry it writes into your agent config uses the cached form, so agent startup stays fast.
To remove it later:
npx haraldr@latest uninstallWhat you can do
Ask your agent things like:
- "Find me an available
.comdomain for a coffee subscription startup." - "Is
mycoolapp.ioavailable?" - "Order
example.comfor me." - "Did my domain payment go through?"
Tools
| Tool | What it does |
|---|---|
| request_login_code | Email yourself a 6-digit login code. |
| verify_login_code | Sign in with the code. |
| whoami | Show who's currently signed in. |
| logout | Sign out. |
| search_domains | Check exact names and discover keyword-based ideas. |
| order_domain | Order a domain for $15 — returns a Stripe checkout link. |
| confirm_payment | Confirm payment and registration after checkout. |
| list_domains | List the domains registered through Haraldr. |
| list_dns_records | List the DNS records for a registered domain. |
| update_dns_records | Add, remove, or change DNS records for a registered domain. |
| list_nameservers | Show a registered domain's authoritative nameservers. |
| update_nameservers | Point a registered domain at custom nameservers (e.g. Cloudflare) or reset to Haraldr DNS. |
| get_dnssec | Show whether DNSSEC is enabled for a registered domain and list its DNSKEYs. |
| update_dnssec | Enable or disable DNSSEC for a registered domain (e.g. clear a stale DS record after a DNS move). |
Buying a domain
- Ask your agent to search for a name you like.
- Ask it to order the domain — you'll get a Stripe checkout URL.
- Open the URL, pay, and Stripe collects the billing details used as your registrant contact.
- Tell your agent you've paid, and it'll confirm the order and register the domain for you.
Links
- Haraldr — https://haraldr.joel.net
- Source & contributing — see DEV.md
License
MIT
