@hasna/domains weekly downloads statistics
By hasna (9 listings) · npm · MCP servers
Domain portfolio, registrar, marketplace, and DNS management for AI agents — CLI + MCP + HTTP API + SDK, shared account API and PostgreSQL
@hasna/domains has 3,939 recorded weekly downloads on npm, a decrease of 76.6% over the past 30 days, ranking #1626 of 3,247 tracked listings.
About @hasna/domains
@hasna/domains
Domain portfolio, registrar, marketplace, and DNS management for AI agents. The package ships a CLI, MCP server, authenticated HTTP API, generated SDK, and library exports. Every client surface resolves its credential and authority through the one shared @hasna/contracts resolver (macOS Keychain, ~/.hasna/domains/config/credentials, or HASNA_DOMAINS_API_KEY, with the fleet gateway https://api.hasna.com/domains as the default authority), and data commands fail closed when no credential resolves: local SQLite path settings are rejected; domains-serve connects directly to cloud Postgres.
Features
- Domain portfolio management — track registrar, expiry, SSL, nameservers, pricing, lifecycle status, and notes
- Registrar sync and purchase flows — direct Route 53 and Namecheap registration plus GoDaddy and Brandsight provider surfaces through a shared provider registry
- Nameserver delegation — Route 53 and Namecheap adapters can update registrar nameservers when the provider API supports it
- DNS provider management — create or reuse Cloudflare or Route 53 zones and manage DNS records through the DNS provider layer
- DNS record CRUD — A, AAAA, CNAME, MX, TXT, NS, SRV records
- DNS desired state — plan/diff/apply provider DNS records from JSON with explicit delete opt-in and post-apply verification
- Sedo marketplace tools — optional search, portfolio/listing management, blacklist checks, and recorded Sedo purchases
- AWS diagnostics — sync Route 53 registered domains and hosted zones without printing secret values
- Credential diagnostics — redacted checks for Route 53, Cloudflare, Namecheap, GoDaddy, Brandsight, and Sedo
- Expiry alerts — set alerts for domain expiry and SSL certificate expiry
- WHOIS lookup — query and store registrar/expiry info from WHOIS
- SSL certificate check — verify SSL issuer and expiry
- DNS propagation check — query Google, Cloudflare, Quad9, OpenDNS
- Zone file export/import — BIND-format zone files
- Subdomain discovery — via crt.sh certificate transparency logs
- DNS validation — detect CNAME conflicts, missing MX, and more
- Portfolio export — CSV or JSON with all domain data
- Brand monitoring — optional typosquat/threat detection via Brandsight API
- MCP server — Model Context Protocol support for AI agents
- MCP safe mode — expose read-only tools only with
DOMAINS_MCP_SAFE_MODE=1 - HTTP API + SDK — authenticated
/v1API throughdomains-serveand a typed@hasna/domains/sdkclient - Interactive TUI — optional portfolio browser in the terminal with
domains interactive
Installation
npm install -g @hasna/domains
All normal clients use the shared account API. Saved credentials live in the macOS Keychain or ~/.hasna/domains/config/credentials; HASNA_HOME and HASNA_CONFIG_HOME can select the credential root. Existing SQLite files are preserved for verified migration and are never opened by the CLI, MCP or SDK factory.
Optional Command Groups
The default CLI keeps core portfolio, registrar, DNS, provider, Route 53, doctor, MCP, and server commands loaded. Optional groups are enabled per invocation:
domains extras
DOMAINS_COMMAND_GROUPS=marketplace,owner domains --help
DOMAINS_ENABLE_EXTRAS=1 domains --help
Available groups: brandsight, events, history, interactive, marketplace, outreach, owner, provision, research, wallet.
Quick Start
# Set defaults used by availability, buy, setup, DNS, and doctor commands
domains config set default-registrar route53
domains config set default-dns cloudflare
domains config set purchase-aws-profile production-domains
# Add registrant contact defaults used by registrar purchase APIs
domains config set contact.first_name Jane
domains config set contact.last_name Example
domains config set contact.email jane@example.com
domains config set contact.phone +1.5555555555
domains config set contact.address_line_1 "1 Main St"
domains config set contact.city "New York"
domains config set contact.state NY
domains config set contact.country_code US
domains config set contact.zip_code 10001
# Check local health without printing secrets
domains doctor
Provider Matrix
| Provider | Type | Availability | Buy/Register | Renew | Nameservers/DNS | Notes |
|---|---|---|---|---|---|---|
route53 | registrar + DNS | yes | yes | no | nameservers + Route 53 hosted zones | Primary self-serve registration path. Use AWS_PROFILE or AWS keys. |
namecheap | registrar + DNS | yes | yes | yes | nameservers + Namecheap DNS records | Requires Namecheap API access and whitelisted client IP. |
godaddy | registrar + DNS | gated | no direct CLI purchase | gated | DNS records when API access qualifies | Availability remains threshold-gated; DNS/domain management is available for qualifying accounts. |
brandsight | registrar + DNS | yes | gated by contract | yes when contract allows | nameservers + DNS records | GoDaddy Corporate Domains / Brandsight v2 API; enterprise-contract-only. |
cloudflare | DNS + inventory | no | no | no | DNS zones and records | Preferred DNS provider; zone inventory syncs domains but does not prove registrar ownership. |
sedo | marketplace | marketplace search/status | recorded purchase only | no | no | Sedo is marketplace/listing/portfolio, not registrar DNS in this CLI. |
CLI Usage
# Portfolio management
domains domain add --name example.com --registrar Namecheap --expires-at 2027-01-01
domains domain list
domains domain list --status active --registrar Namecheap
domains domain get example.com
domains domain update <id> --notes "renewed"
domains domain delete <id>
domains domain search example
domains domain stats
# Expiry monitoring
domains domain expiring --days 30
domains ssl expiring --days 30…
Description from the npm listing.
- domains
- dns
- mcp
- ai
- coding-agent
- claude
- cli
- namecheap
- godaddy
- registrar
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm MCP servers plugins
All 20 @hasna/domains alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@hasna/domains. First seen Oct 16, 2026; last successful collection Dec 2, 2026. See the methodology.