Name.ai MCP Server

ai.name由 name.ai 發布官方發布者v1.0.1更新於 Oct 24, 2026

Domain availability search, WHOIS lookup, TLD pricing and registry rules from name.ai. Read-only.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取商業與電商

概覽

AI 產生的概覽

由 name.ai 提供的遠端唯讀 MCP 伺服器,讓助理查詢網域可用性、WHOIS 紀錄,以及 TLD 價格與註冊規則。

可以做什麼
查詢某個網域及其常見其他 TLD 是否可註冊,未經 name.ai API 授權時隱藏次級市場一口價(search_domain)。查詢 WHOIS/RDAP 註冊資訊,例如註冊商、註冊人、建立與到期日期、名稱伺服器(whois_lookup)。取得某 TLD 的新註冊、轉入、續約或贖回還原的目前美元價格(tld_registration_price)。取得 TLD 的註冊政策:可註冊年限範圍、是否要求組織、允許的註冊人國家及名稱伺服器規則(tld_requirements)。
適用情境
適合在研究或挑選網域名稱時,把可用性、歸屬與價格資訊直接帶進對話。也適合在註冊或轉移網域前核對註冊局政策。
執行需求
遠端 streamable-http 端點;未宣告用戶端需要驗證、API 金鑰或環境變數。伺服器本身呼叫 name.ai 的公開 API,WHOIS 查詢依呼叫端 IP 限制為每天 10 次。
安裝前請注意
唯讀,但 WHOIS 查詢共用伺服器的出口 IP,因此每日限額由該端點的所有使用者共享。未經授權時次級市場一口價會被隱藏。回傳的價格是 name.ai 自身的註冊價格,而非市場價格。網域查詢會傳送到 name.ai 的 API。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Name.ai MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.name%2Fnameai-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "name-ai": {
      "type": "http",
      "url": "https://mcp.name.ai/mcp"
    }
  }
}

README

nameai-mcp

A remote MCP server exposing a handful of name.ai's public, no-auth-required APIs as tools: domain search/availability, WHOIS lookup, TLD registration pricing, and TLD requirements. See src/nameai_mcp/server.py for the tool definitions and src/nameai_mcp/nameai_client.py for the HTTP client that talks to name.ai.

Endpoints

  • GET /health — health check.
  • POST /mcp (and GET /mcp for the SSE stream) — the MCP streamable-http endpoint. This is the URL an MCP client/host connects to.

Configuration

  • NAMEAI_API_BASE_URL — base URL of the name.ai API this server calls. Defaults to https://name.ai.
  • HOST / PORT — bind address for the server itself. Default 0.0.0.0:8000.

Local development

sh
uv syncuv run uvicorn nameai_mcp.app:app --reload

Docker

sh
docker build -t nameai-mcp .docker run -p 8000:8000 nameai-mcp

The image runs nameai-mcp (the main() entry point in src/nameai_mcp/__init__.py), which reads HOST/PORT from the environment — pass -e PORT=... if your platform injects a different port.

Deploying

Any host that can run the Docker image works. It is deployed through Coolify on the Hetzner server and served at https://mcp.name.ai/mcp (streamable-http), with Traefik terminating TLS. The original hostname, https://nameai-mcp.h.namekart.com/mcp, still routes to the same container, so client configs written against it keep working.

mcp.name.ai is a DNS-only A record to the Hetzner box. It exists because scanners and MCP tooling look for a server at mcp.<domain> instead of reading the URL out of a manifest — ora's scanner was watched, in this container's own access log, never dialling the manifest's mcpUrl during a scan. Adding a hostname needs two things besides DNS: the domain on the Coolify app, and the host appended to MCP_ALLOWED_HOSTS, without which the SDK's DNS-rebinding guard answers it with 421.

The server calls the public API at NAMEAI_API_BASE_URL, default https://name.ai. Since name.ai moved to Hetzner that resolves to the same host this container runs on, so the calls leave the container, reach the host's own public IP, and come back in through Traefik. That hairpin works here and is left in place deliberately: talking to the API exactly the way an outside client would is the point of this server.

Being reachable isn't the same as being discovered — and that part is done. name.ai advertises this server in four places:

  • https://name.ai/.well-known/mcp.json — manifest
  • https://name.ai/.well-known/mcp/server-card.json — server card
  • https://name.ai/llms.txt — in both the endpoint list and the tool guidance
  • the MCP Registry, namespace ai.name, domain-verified

All four live in the nameaiv1 repo. If the deployed URL changes, they change with it — otherwise agents keep being pointed at the old one.

來源:README.md,提交 1f6e737

工具

4

search_domain

Check whether a domain is available and, for the same label, whether its common alternate TLDs are too (e.g. querying "acme.com" also returns "acme.ai", "acme.io", ...). Backed by POST /api/domain/search — public, no auth required. Buy-now (aftermarket/marketplace) prices are hidden unless you're authenticated (see AUTH.md at name.ai for how to get a token) — an unauthenticated call only sees new-registration pricing for a domain that's simply unregistered. Pass a valid OAuth access token as this call's Authorization header and it's forwarded automatically. Args: domain: A domain name to check, e.g. "example.ai". include_alternates: When true (default), also return sibling TLDs for the same label. When false, only the exact domain is returned.

輸入參數domain必填include_alternates

whois_lookup

Look up WHOIS/RDAP registration details for a domain: registrar, registrant, creation/expiration dates, nameservers. Backed by POST /api/tools/whois — public, no auth required, but rate limited by name.ai to 10 lookups per day per caller IP. Since every MCP call shares this server's egress IP, that quota is pooled across all of this MCP server's callers, not per end user. Args: domain: A domain name to look up, e.g. "example.com".

輸入參數domain必填

tld_registration_price

Get the current USD price for a domain-lifecycle operation on a TLD (new registration, transfer-in, renewal, or restore from redemption). Backed by GET /api/pricing/tld — public, no auth required. This is name.ai's own registration pricing, not an aftermarket/marketplace price, so it is never gated by sign-in status. Args: tld: The TLD without a leading dot, e.g. "ai" or "com". operation: One of "register", "transfer", "renew", "restore".

輸入參數tld必填operation

tld_requirements

Get registration requirements for a TLD: allowed registration period range, whether an organization is required, allowed registrant countries, nameserver rules, and similar registry policy. Backed by GET /api/tlds/{tld}/metadata — public, no auth required. Args: tld: The TLD without a leading dot, e.g. "ai" or "io".

輸入參數tld必填

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Name 整合