namecheap-mcp
Search domains from plain-language ideas and get exact matches plus brandable variations. Check live availability with premium indicators. Jump straight to purchase with direct Namecheap buy links.
Ask AI about namecheap-mcp
Powered by Claude Β· Grounded in docs
I know everything about namecheap-mcp. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Namecheap MCP β Domain Search Server
A Model Context Protocol (MCP) server that provides domain search, fuzzy domain suggestions, and availability lookup using Fastly Domain Research API, with Namecheap buy links for quick purchase.
This is designed to be consumed by MCP-compatible clients (e.g., Postman MCP, AI agents).
π Features
- Fuzzy domain search from natural language queries
β"apple","cool ai studio","apple.com"etc. - Exact match detection
βapple.com,apple.io,apple.ai - Similar / brandable variations
βgetapple.com,tryapple.io,applehq.ai, etc. - Live domain availability via Fastly Domain Research API
- Marks premium domains when detected
- Provides direct Namecheap buy link for every suggestion
- Fully async + fast response time
π§ How it works (high-level)
| Layer | Purpose |
|---|---|
| Controllers | Expose MCP tools |
| Services | Fuzzy search logic, scoring, result merging |
| Repositories | Fastly Domain Research API integration |
| Models | Pydantic schemas for request/response |
| Server | Boots MCP server via Streamable HTTP transport |
Fastly API is used only to determine availability + premium status.
Prices are not included yet, but can be added later (Porkbun, Namecheap API, etc.).
π Project Structure
namecheap-mcp/
ββ src/
β ββ namecheap_mcp/
β ββ server.py
β ββ config.py
β ββ controllers/
β ββ services/
β ββ repositories/
β ββ models/
ββ pyproject.toml
ββ .env.example
ββ README.md
π§ Requirements
- Python 3.12+
uv(recommended) or Poetry- MCP-compatible client (Postman MCP recommended)
π₯ Setup
1οΈβ£ Install dependencies
uv sync
2οΈβ£ Create .env file in the project root:
FASTLY_API_TOKEN=your_fastly_api_token_here
MCP_HOST=0.0.0.0
MCP_PORT=8000
.envmust NOT be committed. It is ignored via.gitignore.
3οΈβ£ Run the MCP server
uv run python -m namecheap_mcp.server
π§ͺ Testing With Postman MCP
- Open Postman β Connect to MCP
- Add connection:
http://localhost:8000
- Call the tool:
search_domains
Example request:
{
"query": "apple",
"tlds": [".com", ".io", ".ai"],
"max_results": 25,
"include_taken": true
}
Response includes:
exact_matchessimilar_matchesavailableandis_premiumfastly_status(raw API value)namecheap_buy_url
