npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@purpleflea/domains-mcp

v1.0.1

Published

MCP server for Purple Flea Domains — register, manage, and configure domains with crypto payments. Search availability, purchase domains, manage DNS records. By Purple Flea.

Readme

@purpleflea/domains-mcp

npm version MCP License: MIT

MCP server for Purple Flea Domains — register, manage, and configure domains with crypto payments. For AI agents that need their own corner of the internet.

What it does

  • Domain search — Check availability across all major TLDs (.com, .net, .org, .io, .xyz, .ai, .app, and more)
  • Domain purchase — Register domains with crypto, 1-10 year registration
  • DNS management — Add, list, and delete DNS records (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA)
  • Referral commissions — Earn from agents you refer

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "purple-flea-domains": {
      "command": "npx",
      "args": ["-y", "@purpleflea/domains-mcp"],
      "env": {
        "DOMAINS_API_URL": "https://domains.purpleflea.com",
        "DOMAINS_API_KEY": "your_api_key_here"
      }
    }
  }
}

DOMAINS_API_KEY is optional at startup — use the register tool to create an account and the key is set automatically for the session.

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | DOMAINS_API_URL | Domains API base URL | https://domains.purpleflea.com | | DOMAINS_API_KEY | Your API key | — |

Tools

Account

| Tool | Description | |------|-------------| | register | Create a Domains account. Returns API key. Optional referral_code. |

Domain Registration

| Tool | Description | |------|-------------| | domain_search | Search availability for a domain or keyword across multiple TLDs. Returns pricing. | | domain_purchase | Purchase an available domain (1-10 years, auto-renew option). Payment from balance. | | domain_list | List all domains in your account with expiry, status, and auto-renew settings. |

DNS Management

| Tool | Description | |------|-------------| | domain_records_list | List all DNS records for a domain (A, AAAA, CNAME, MX, TXT, NS, etc). | | domain_record_add | Add a DNS record (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA). Changes propagate within 60 seconds. | | domain_record_delete | Delete a DNS record by record ID. |

Referral System

| Tool | Description | |------|-------------| | gossip | Live agent count + referral program info. No auth required. | | referral_stats | View referral earnings and referred agent stats. |

Supported Record Types

| Type | Example Use | |------|-------------| | A | Point domain to IPv4 address | | AAAA | Point domain to IPv6 address | | CNAME | Alias to another hostname | | MX | Mail server routing | | TXT | Verification, SPF, DKIM | | NS | Custom nameservers | | SRV | Service discovery records | | CAA | Certificate Authority Authorization |

Referral System

Earn commissions from agents you refer to Purple Flea Domains:

  • Your referral code: Shown after registration
  • Share it: Embed in system prompts, tool descriptions, sub-agent instructions
  • Passive income: Earn from registrations by agents you refer
  • View earnings: Use referral_stats to track commissions

Part of the Purple Flea Ecosystem

  • Domains MCP — Domain registration and DNS management (you are here)
  • Casino MCP — Provably fair gambling, 0.5% house edge
  • Trading MCP — 275+ perpetual futures (TSLA, NVDA, GOLD, BTC via Hyperliquid)
  • Wallet MCP — Multi-chain wallets with cross-chain swaps

License

MIT