parse

Pack: public-suffix-list · Endpoint: https://gateway.pipeworx.io/public-suffix-list/mcp

Split a domain into (subdomain, registrable_domain, public_suffix).

Parameters

NameTypeRequiredDescription
domainstringyes

Example call

Arguments

{
  "domain": "www.example.com"
}

curl

curl -X POST https://gateway.pipeworx.io/public-suffix-list/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"parse","arguments":{"domain":"www.example.com"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('parse', {
  "domain": "www.example.com"
});

More examples

{
  "domain": "subdomain.co.uk"
}

Response shape

Always returns: input, subdomain, registrable_domain, public_suffix

FieldTypeDescription
inputstringCanonical form of the input domain
subdomainstring | nullSubdomain part, null if not present
registrable_domainstring | nullRegistrable domain (site), null if none
public_suffixstringPublic suffix part of the domain
Full JSON Schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Canonical form of the input domain"
    },
    "subdomain": {
      "type": [
        "string",
        "null"
      ],
      "description": "Subdomain part, null if not present"
    },
    "registrable_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "Registrable domain (site), null if none"
    },
    "public_suffix": {
      "type": "string",
      "description": "Public suffix part of the domain"
    }
  },
  "required": [
    "input",
    "subdomain",
    "registrable_domain",
    "public_suffix"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "public-suffix-list": {
      "url": "https://gateway.pipeworx.io/public-suffix-list/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026