Namecheap API MCP server
Namecheap API — domains, DNS, contacts, registrar lock, SSL listing, and pricing.
0 stars56 downloads/wk
Reviews
Write oneNobody has reviewed Namecheap API yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Namecheap API tools (16, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_connectionVerify the Namecheap API connection and credentials. Returns the account balance summary — a lightweight call that confirms the API user, key, and IP whitelist are all working.
check_domainsCheck availability (and premium pricing) for one or more domains. Max 50 per call.
get_dns_hostsGet all DNS host records (A, AAAA, CNAME, MX, TXT, URL, etc.) for a domain.
get_domain_contactsGet the Registrant, Tech, Admin, and AuxBilling contact details for a domain.
get_domain_infoGet detailed info for one domain: status, created/expiry dates, WhoisGuard, DNS provider, and modification rights.
get_email_forwardingwrite actionGet email forwarding settings (mailbox → forward-to) for a domain.
get_nameserversGet the nameservers associated with a domain, and whether it uses Namecheap's default DNS.
get_pricingGet Namecheap pricing for a product type (e.g. DOMAIN register/renew/transfer). Cache results — this is a heavy endpoint.
get_registrar_lockGet the registrar lock status for a domain.
list_domainsList domains in the account, with creation/expiry dates, lock status, auto-renew, and WhoisGuard status. Supports paging and search.
list_ssl_certificatesList SSL certificates in the account, with type, host name, status, and expiry.
set_custom_nameserversPoint a domain at custom nameservers. NOTE: Namecheap host records, URL/email forwarding stop working while custom nameservers are in use.
set_default_dnsSwitch a domain to Namecheap's default (BasicDNS) nameservers. Required for Namecheap host records, URL/email forwarding.
set_dns_hostsReplace ALL DNS host records for a domain. WARNING: this is destructive — Namecheap deletes any record not included here, so you must pass the COMPLETE desired record set (call get_dns_hosts first, merge your changes, then send everything). Switches the domain to Namecheap DNS if needed.
set_email_forwardingwrite actionSet email forwarding rules for a domain. Replaces the full forwarding set (pass all rules you want to keep).
set_registrar_lockLock or unlock a domain at the registrar (theft protection). Unlock before initiating an outbound transfer.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan7 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 90 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Namecheap API compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,243 servers
- Tools
- 16
- the typical server has 7
- Tools that change things
- 13%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 56
- more than 45% of 12,306 servers with a package
What its tools let an agent do: 10 read · 6 change
Install Namecheap API in Claude Code, Cursor or VS Code
Runs npx -y namecheap-api-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add namecheap-api-mcp -- npx -y namecheap-api-mcp
What the publisher says
From the Namecheap API repository's README, as published. We do not edit it. Read it on GitHub
namecheap-api-mcp
MCP server for the Namecheap API — manage domains, DNS, contacts, registrar locks, and view SSL certificates and pricing, straight from your AI assistant.
Built for Claude Code and any MCP-compatible AI tool.
Part of The SEO Engine toolkit by Rex Jones — AI-powered SEO and social media tooling for agencies and businesses.
Safety model
This server ships read + safe-write tools only. It can read your account and change DNS / nameserver / forwarding / lock configuration (all reversible), but it deliberately excludes anything that spends money or is irreversible: no domain registration, renewal, reactivation, transfers, SSL purchase/activation, add-funds, or account/address mutation. You can fork and add those if you need them.
Quick start
1. Enable Namecheap API access
- Go to Profile → Tools → Namecheap API Access and toggle it ON. (Production access requires account eligibility: 20+ domains, OR a $50+ balance, OR $50+ lifetime spend.)
- Copy your API key.
- Whitelist the public IPv4 of the machine that will run this server (the API rejects any non-whitelisted IP with error 1011150).
2. Configure your MCP client
{
"mcpServers": {
"namecheap": {
"command": "npx",
"args": ["-y", "namecheap-api-mcp"],
"env": {
"NAMECHEAP_API_USER": "your_username",
"NAMECHEAP_API_KEY": "your_api_key",
"NAMECHEAP_CLIENT_IP": "your.whitelisted.ip.v4"
}
}
}
}Option: clone and build
git clone https://github.com/lanternrow/namecheap-api-mcp.git
cd namecheap-api-mcp
npm install
npm run buildThen point your client at node /path/to/namecheap-api-mcp/dist/index.js. For local credentials you can keep a gitignored .env (copy .env.example) and launch with Node's native flag: node --env-file=.env dist/index.js.
Environment variables
Tools
Read
Safe writes (configuration only — no charges)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Namecheap API: common questions
- Is Namecheap API MCP server safe?
- Mostly: it is graded B (75/100). Read the Namecheap API safety report
- How do I install Namecheap API?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Namecheap API need an API key?
- Yes. The registry entry asks for
NAMECHEAP_API_KEY. - Is Namecheap API maintained?
- The last commit was 130 days ago (2026-06-29). The latest release is v1.0.1.
- What can I use instead of Namecheap API?
- Servers from other publishers that do the same job: Domain Liveness MCP server.
- How does Namecheap API compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,243 servers); tools 16 (the typical server has 7); tools that change things 13% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Namecheap API
Same job from other publishers: the closest match first, then the best rated.
- Domain LivenessIs this business's website still there? Checks apex and www, and DNS separately from HTTP.not reviewedEstablishedA