Logo tldx

tldx

Cộng đồngPhổ biến
brandonyoungdev

Bulk domain availability checking via RDAP, DNS, and WHOIS, with prefix/suffix permutations, regex patterns, MCP, and multiple output formats

Nhà phát hànhbrandonyoungdev
Kho mãtldx
Ngôn ngữGo
Bản fork
80
Sao
1.9K
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépApache-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    tldx cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    1.9K sao và 80 bản fork từ kho mã được liên kết.

tldx logo

tldx

GitHub release (latest by date) Tests GitHub Go Report Card codecov MCP Toplist

tldx helps you brainstorm available domain names fast.

sh
tldx openai -p get,use -s ly,hub -t com,io,ai --only-available
✅ getopenaily.com is available
✅ useopenaihub.io is available
  ...

tldx demo

Table of Contents

Features

  • Keyword permutations across prefixes, suffixes, and TLDs
  • Regex patterns for bulk combinations (e.g., all 3-letter domains)
  • Fast, concurrent availability checks over RDAP
  • Results stream as they are found
  • Output as text, json, json-stream, json-array, csv, grouped, or grouped-tld
  • Finds taken domains advertised for sale via RFC 10023
  • Built-in and custom TLD presets
  • A config file for your usual TLDs, preset, and flags
  • An MCP server (tldx mcp) for AI agents

Usage

sh
Usage:
  tldx [keywords] [flags]
  tldx [command]

Available Commands:
  completion       Generate the autocompletion script for the specified shell
  config           Inspect and manage the tldx config file
  help             Help about any command
  mcp              Start an MCP (Model Context Protocol) server over stdio
  preset           Manage custom TLD presets

Flags:
      --dry-run                 Print domains that would be checked without making network calls
      --for-sale                Check taken domains for an RFC 10023 _for-sale TXT record
  -f, --format string           Format of output (text, json, json-stream, json-array, csv, grouped, grouped-tld) (default "text")
  -h, --help                    help for tldx
  -i, --input string            File to read keywords from. Use "-" to read from stdin.
  -l, --limit int               Stop after finding this many available domains (0 = no limit)
  -m, --max-domain-length int   Maximum length of domain name (default 64)
      --no-color                Disable colored output
  -a, --only-available          Show only available domains
      --only-for-sale           Show only taken domains that are for sale (implies --for-sale)
  -p, --prefixes strings        Prefixes to add (e.g. get,my,use)
  -r, --regex                   Enable regex pattern matching for domain keywords
      --show-stats              Show statistics at the end of execution
  -s, --suffixes strings        Suffixes to add (e.g. ify,ly)
      --tld-preset string       Use a tld preset (e.g. popular, tech)
  -t, --tlds strings            TLDs to check (e.g. com,io,ai)
  -v, --verbose                 Show verbose output
      --version                 version for tldx

Exit code 2 is returned when --only-available is set but no available domains are found.

Examples

Domain Availability

sh
$ tldx google
❌ google.com is not available
sh
$ tldx google youtube reddit
  ❌ reddit.com is not available
  ❌ google.com is not available
  ❌ youtube.com is not available

Regex Domain Selection

--regex treats each keyword as a pattern and checks every combination it expands to:

sh
# All 3-letter .com domains
$ tldx '[a-z]{3}' --regex --tlds com --only-available
  ✅ aaa.com is available
  ✅ aab.com is available
  ...
sh
# All 2-letter domains on specific TLDs
$ tldx '[a-z]{2}' --regex --tlds io,ai --only-available
  ✅ qa.io is available
  ✅ zx.ai is available
  ...
sh
# Patterns combine with prefixes
$ tldx '[a-z]{2}' --regex --prefixes my,get --tlds app --only-available
  ✅ myaa.app is available
  ✅ getab.app is available
  ...

Patterns that expand to more than 500,000 combinations are skipped.

Presets

sh
$ tldx google --tld-preset popular
  ❌ google.com is not available
  ❌ google.io is not available
  ...
sh
$ tldx google --tld-preset geo
  ❌ google.au is not available
  ❌ google.de is not available
  ❌ google.us is not available
  ...

You can see all available presets:

sh
$ tldx preset list

TLD Presets  (* = custom):

all                     (use all available TLDs)

cheap                   pw fun icu top xyz blog info shop site click
                        space store online website

popular                 ai me app com dev net org

tech                    io ai gg app dev tech codes tools cloud games
                        software digital network security systems
                        data technology
...

Custom Presets

Save your own TLD presets and reuse them across runs:

sh
# Create a preset
$ tldx preset add myteam com io ai
Saved preset "myteam" (com, io, ai) → ~/.config/tldx/config.toml

# Comma-separated also works
$ tldx preset add myteam com,io,ai

# Use it just like any built-in preset
$ tldx mystartup --tld-preset myteam
  ❌ mystartup.com is not available
  ✅ mystartup.io is available
  ✅ mystartup.ai is available
sh
# List all presets.
$ tldx preset list

TLD Presets  (* = custom):

all                       (use all available TLDs)

myteam *                  ai io com
popular                   ai io app com dev net org
...

Config file: ~/.config/tldx/config.toml
sh
# Remove a custom preset
$ tldx preset remove myteam
Removed preset "myteam"

Defaults and Config File

Set a default preset and it applies to every run:

sh
$ tldx preset default nordic
Default preset set to "nordic" → ~/.config/tldx/config.toml

$ tldx mystartup
  ✅ mystartup.se is available
  ✅ mystartup.nu is available
  ❌ mystartup.dk is not available

# Show the current default, or drop it
$ tldx preset default
Default preset: nordic

$ tldx preset default --clear
Cleared default preset (was "nordic") → ~/.config/tldx/config.toml

Everything else goes in the config file. tldx config init writes a commented template:

toml
[defaults]
# TLDs checked when neither --tlds nor --tld-preset is given
tlds = ["com", "se", "nu"]

# ...or a preset name instead
# tld_preset = "nordic"

prefixes = ["get", "my"]
suffixes = ["ly"]
max_domain_length = 20
format = "json"
limit = 10
only_available = true
show_stats = true
no_color = false
verbose = false

# Read RFC 10023 "_for-sale" records on taken domains.
# only_for_sale implies for_sale.
for_sale = true
only_for_sale = false

# Custom presets, usable via --tld-preset nordic
[presets.nordic]
tlds = ["se", "nu", "dk", "no", "fi"]

Each key under [defaults] matches the flag of the same name, and flags passed on the command line win. Since tlds and tld_preset both answer "which TLDs?", passing either --tlds or --tld-preset ignores both configured values rather than merging with them.

sh
$ tldx config path    # where the file lives
$ tldx config show    # what's currently configured
$ tldx config init    # write a commented template (--force to overwrite)

tldx config init --force replaces the whole file, custom presets included.

The file lives at ~/.config/tldx/config.toml (macOS/Linux) or %APPDATA%\tldx\config.toml (Windows). A presets.toml from an earlier version still works — add a [defaults] section to it. Set TLDX_CONFIG to use a different file.

Permutations

sh
$ tldx google --prefixes get,my --suffixes ly,hub --tlds com,io,ai
  ✅ mygooglely.com is available
  ✅ getgooglely.ai is available
  ❌ mygoogle.ai is not available
  ...

Brace Expansion (macOS, Linux)

Brace expansion works out of the box in bash/zsh:

sh
tldx {get,use}{tldx,domains} {star,fork}ongithub
  ✅ gettldx.com is available
  ✅ usetldx.com is available
  ❌ getdomains.com is not available
  ...

Domains For Sale (RFC 10023)

RFC 10023 defines a _for-sale TXT record that a domain holder can publish to advertise that the name is for sale, optionally with an asking price and a way to get in touch. --for-sale reads it:

sh
$ tldx acme -t com,io --for-sale
  ❌ acme.io is not available
  💰 acme.com is taken but for sale — USD 750 · https://fs.example.com/

--only-for-sale keeps just the purchasable ones. Combine it with --only-available to see both kinds of opportunity at once:

sh
$ tldx acme wile coyote -t com,io --only-for-sale
$ tldx acme wile coyote -t com,io --only-available --only-for-sale

--verbose also prints the free text and broker codes from the record. The lookup costs one extra DNS query per taken domain and never runs on domains that are already available, so it stays off unless you ask for it. A holder publishes it like this:

dns
_for-sale.acme.com. IN TXT "v=FORSALE1;fval=USD750"
                    IN TXT "v=FORSALE1;furi=https://fs.example.com/"

These records are written by the domain holder, so tldx treats them as untrusted: control characters are stripped, and only http, https, mailto and tel links are shown by default. Any other scheme appears under --verbose, flagged as unverified.

Show Only Available Domains

sh
$ tldx google reddit facebook -p get,my -s ly,hub -t com,io,ai --only-available
  ✅ getgooglely.ai is available
  ✅ getreddithub.com is available
  ...

Limit Results

sh
$ tldx stripe -p get,use -t com,io,ai --only-available --limit 3
  ✅ getstripe.io is available
  ✅ usestripe.ai is available
  ✅ stripe.ai is available

Dry Run

sh
$ tldx stripe -p get,use -t com,io --dry-run
Would check 6 domain(s):
  stripe.com
  stripe.io
  getstripe.com
  ...

Input from File or Stdin

sh
$ tldx --input keywords.txt --tlds com,io --only-available
$ echo -e "stripe\natlas\nlinear" | tldx --input - --tlds com,io --only-available

Output Formats

Output is human-readable (text) by default. Change it with --format / -f. Color is disabled automatically when stdout is not a terminal.

JSON Array

sh
$ tldx openai -p use -s ly -t io --format json-array
[
  { "domain": "useopenaily.io", "available": true, "keyword": "openai", "prefix": "use", "suffix": "ly", "tld": "io" },
  { "domain": "openai.io", "available": false, "keyword": "openai", "tld": "io" },
  ...
]

With --show-stats the output is wrapped in an object:

sh
$ tldx openai -p use -s ly -t io --format json-array --show-stats
{
  "results": [ ... ],
  "stats": { "total": 4, "available": 1, "not_available": 2, "errored": 1 }
}

Results include keyword, prefix, suffix, and tld metadata (empty fields are omitted).

JSON Stream

sh
$ tldx openai -p use -s ly -t io --format json-stream
{"domain":"useopenaily.io","available":true,"keyword":"openai","prefix":"use","suffix":"ly","tld":"io"}
{"domain":"openai.io","available":false,"keyword":"openai","tld":"io"}

CSV

sh
$ tldx openai -p use -s ly -t io --format csv
domain,available,keyword,prefix,suffix,tld,details,error
useopenaily.io,true,openai,use,ly,io,
openai.io,false,openai,,,io,

Grouped by Keyword

sh
$ tldx openai google -p get,use -t com,io --format grouped

  google
  getgoogle.com
  getgoogle.io
  google.com
  google.io
  usegoogle.com
  usegoogle.io

  openai
  getopenai.com
  ...

Grouped by TLD

sh
$ tldx openai google -p get,use -t com,io --format grouped-tld

  .com
  getgoogle.com
  getopenai.com
  google.com
  openai.com
  usegoogle.com
  useopenai.com

  .io
  getgoogle.io
  ...

MCP

tldx includes an MCP server for AI agents and IDEs.

sh
tldx mcp

Example config (mcp.json / Claude Desktop / VS Code):

json
{
  "mcpServers": {
    "tldx": {
      "command": "tldx",
      "args": ["mcp"]
    }
  }
}

Two tools, both read-only and returning the same result shape:

ToolUse it when
check_domainsYou already know the exact names to test.
generate_and_checkYou want names built from keywords, prefixes, suffixes, and TLDs.

Your custom presets and [defaults] from the config file apply here just as they do on the command line. generate_and_check advertises every preset name in its tld_preset schema, so no separate lookup call is needed.

Result shape

Each result carries a status of available, taken, or unknown. unknown means the lookup failed, not that the domain is free, and the available field is omitted entirely in that case.

Each response also reports checked, available_count, taken_count, and — when the search stopped early — truncated: true plus a note explaining what to change.

Call budget

One call resolves at most 1000 domains, and generate_and_check is rejected above that before any lookup happens, naming the argument to shrink. Two ways to search a larger space:

  • only_available: true with limit: N stops the sweep once N available domains are found, which makes a wide search cheap. This is usually what you want.
  • dry_run: true returns the exact domain list and count with no network requests, so an agent can price a call before making it, or see which TLDs a preset expands to.

Collection also stops at 45 seconds, under the typical client timeout, returning partial results marked truncated rather than failing outright.

Domains for sale

Both tools accept check_for_sale: true, which adds a for_sale object to any taken domain that advertises itself for sale, and only_for_sale: true to return just those. See Domains For Sale.

Installation

macOS (Homebrew)

sh
brew install tldx

or

sh
brew tap brandonyoungdev/tldx
brew install tldx

Windows (winget)

sh
winget install --id=brandonyoungdev.tldx  -e

Arch Linux (AUR)

Two options are available for Arch Linux users:

  • tldx - Build the package from source.
  • tldx-bin - Build the package from releases.

Linux and Windows (Manual)

Visit the Releases page.

Download the archive for your OS and architecture:

  • macOS / Linux: tldx_<version>_<os>_<arch>.tar.gz
  • Windows: tldx_<version>_windows_<arch>.zip
sh
tar -xzf tldx_<version>_<os>_<arch>.tar.gz
mv tldx /usr/local/bin/

Go (Install from Source)

sh
go install github.com/brandonyoungdev/tldx@latest

Cài đặt

TypingMind
{
  "mcpServers": {
    "tldx": {
      "command": "npx",
      "args": [
        "tldx",
        "mcp"
      ]
    }
  }
}

Dùng MCP tldx với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối tldx, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm tldx làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của tldx.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "tldx": {
      "command": "npx",
      "args": [
        "-y",
        "tldx"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của tldx, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của tldx.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng tldx giúp tôi làm việc này không?
tldx
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng tldx.

Câu hỏi thường gặp

Máy chủ MCP tldx dùng để làm gì?

tldx là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP tldx với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng tldx với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP tldx với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối tldx, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP tldx với TypingMind?

tldx hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP tldx cung cấp những công cụ nào trong TypingMind?

tldx cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP tldx không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu tldx yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇