JSON, not XML
Every response is typed JSON. No XML parsing. No guessing attribute names.
The Namecheap API is XML-only, returns inconsistent error formats, and has no structured error codes. This makes it painful to use programmatically — especially for AI agents and LLMs that work best with JSON.
This project wraps every Namecheap API endpoint into a clean REST API that returns JSON, maps Namecheap’s error numbers to proper HTTP status codes, and adds per-user authentication with API keys.
JSON, not XML
Every response is typed JSON. No XML parsing. No guessing attribute names.
Proper HTTP errors
Namecheap error 2019166 becomes 404 Not Found. Error 1011102 becomes 412 Precondition Failed. Every error is mapped.
CLI
namecheap domains check example.com — human-friendly tables by default, --json for scripts and LLMs.
MCP for Claude
Streamable HTTP MCP endpoint. Add it to Claude Code and manage domains with natural language.
Every endpoint links to the corresponding Namecheap API documentation for reference.