Vinkius
Public Suffix Extractor

Public Suffix Extractor MCP for AI. Get reliable domain parsing for any URL.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Public Suffix Extractor MCP on Cursor AI Code EditorPublic Suffix Extractor MCP on Claude Desktop AppPublic Suffix Extractor MCP on OpenAI Agents SDKPublic Suffix Extractor MCP on Visual Studio CodePublic Suffix Extractor MCP on GitHub Copilot AI AgentPublic Suffix Extractor MCP on Google Gemini AIPublic Suffix Extractor MCP on Lovable AI DevelopmentPublic Suffix Extractor MCP on Mistral AI AgentsPublic Suffix Extractor MCP on Amazon AWS Bedrock

Connect to your AI in seconds.

Public Suffix Extractor uses the official Mozilla Public Suffix List to parse any URL accurately. It reliably separates hostnames into their true root domain, TLD, and subdomain.

Stop guessing if a domain is `.uk` or `.co.uk`. This tool handles complex structures like `.com.br`, AWS cloud suffixes, and thousands of other global domains with 100% accuracy.

What your AI can do

Extract domain

Takes any hostname and returns the structured Domain, TLD, and Subdomain using the official Mozilla Public Suffix List logic.

Deconstruct Hostnames

The tool breaks down any full hostname into its constituent parts: the true domain root, the TLD, and the subdomain.

Identify Complex TLDs

It accurately determines multi-part country code domains (like .com.br or .co.uk), solving common parsing errors in data pipelines.

Process Cloud Suffixes

The tool correctly handles cloud provider suffixes, identifying them as specific PSL entries rather than assuming they are part of the main domain root.

Included with Plan

Waiting for input…

AI Agent

Public Suffix Extractor MCP Server: 1 Tool for Domain Parsing

Use this single tool to reliably break down any hostname into its core components—the true root domain, the TLD, and the subdomain—using industry-standard rules.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using Public Suffix Extractor on Vinkius

Extract Domain

Takes any hostname and returns the structured Domain, TLD, and Subdomain using the official Mozilla Public Suffix List logic.

Security and governance baked right in.

Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.

Claude AI

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The Public Suffix Extractor integration is available immediately — no restart needed.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with Public Suffix Extractor, then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 5,100+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
Public Suffix Extractor MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by psl. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This connection provides 1 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.

Parsing URLs used to be guesswork.

Today, when you scrape data or process logs, figuring out a domain's true root is a nightmare. You see `app.vinkius.co.uk` and you have no idea if the TLD is `.uk`, `.co`, or the whole thing. If your code assumes it's just the last segment, your entire data pipeline breaks when it hits a regional site like one ending in `.com.br`.

With this MCP server, that guesswork disappears. You send the full URL to `extract_domain`. The result is clean: the tool spits out the Domain (`vinkius.co.uk`), the TLD (`co.uk`), and the Subdomain (`app`). Your agent gets structured data you can actually trust.

Public Suffix Extractor MCP Server: Get accurate domain parts.

Manual URL processing forces developers to write brittle code full of `if` statements checking for `.co.uk`, then another set for `.com.au`. Every time a new country adds a TLD, your service breaks and needs an urgent patch.

Now you just call the tool. It handles thousands of suffixes based on official Mozilla standards. The domain parsing logic is externalized, stable, and ready to go.

What your AI can actually do with this

Listen, if your AI agent is dealing with web analytics or any kind of data normalization that involves URLs, you know how messy it gets. You can't just split a hostname by dots and expect to get clean data. That simple trick fails every time you run into country code TLDs (ccTLDs) like .co.uk, because those aren't single segments; they’re two pieces that need treating as one unit.

That's where extract_domain comes in. This tool uses the official Mozilla Public Suffix List logic, which is what major browsers use. It takes any full hostname you throw at it and figures out exactly how it's structured. You don't have to guess if a domain belongs under .uk, or if it’s something more complex like .com.br.

This thing handles that with one hundred percent accuracy.

The function breaks down the entire process into three distinct, reliable parts: deconstructing hostnames, identifying complicated TLD structures, and correctly processing cloud suffixes.

When you run extract_domain on a hostname, it doesn't just give you a mess of strings. It reliably separates the components using PSL logic. First, it breaks down any full hostname into its constituent parts: the true domain root, the TLD, and the subdomain. You get those three pieces separated cleanly.

Think about multi-part country domains. The tool handles them flawlessly. If you feed it a URL that uses .com.br or .co.uk, you don't run into parsing errors in your data pipeline. It accurately determines these complex, multi-segment TLDs, which is huge when you’re dealing with global datasets.

It also handles the cloud provider suffixes correctly. If a hostname uses an AWS suffix or some other cloud platform tag, this tool identifies that specific suffix as a proper PSL entry, instead of assuming it's part of your main domain root—and that difference is everything for clean data.

Using extract_domain lets your agent handle every structure you can imagine, from the simplest domains to complicated regional or cloud setups, no matter how deep the naming convention goes. It always returns the correct segmentation.

If you pass it a full hostname, you'll get three specific outputs:

  • The Domain: This is the true registrable root domain (for example, if the input was app.vinkius.co.uk, this output gives you vinkius.co.uk).
  • The TLD: These are the actual Top-Level Domain segments. It pinpoints the entire suffix structure accurately.
  • The Subdomain: This captures any host information that came before the main domain root (like getting app from app.vinkius.co.uk).

This mechanism ensures your agent doesn't fail when it hits tricky corner cases in real-world data. You just throw a URL at it, and you get structured, clean components back every single time. It’s the definitive way to parse domains because it uses industry-standard rules, not guesswork.

Built · Hosted · Managed by Vinkius Public Suffix Extractor - Parse Domains & TLDs
Server ID 019e38dc-89bc-7093-8b68-f890691a9fce
Vinkius Inspector
Compliance Grade F
Score 3.6/100
Vinkius Inspector Badge — Score 3.6/100

Questions you might have

How does Public Suffix Extractor handle .com.br? +

It correctly identifies example.com.br as the full domain root. It separates the TLD accurately, recognizing that .com.br is a single registered suffix, not just .br.

Is Public Suffix Extractor better than regex for domains? +

Yes. Regex struggles with the sheer complexity and variability of global TLDs. This server uses the actual Mozilla Public Suffix List logic, which is a much more robust standard.

What if my domain has an AWS cloud suffix? +

The tool handles this. It will correctly identify components like mybucket.s3.amazonaws.com and classify the TLD portion according to PSL standards, preventing misclassification.

Does Public Suffix Extractor only work on full URLs? +

No. You don't need a full URL. You can pass just the hostname (e.g., app.vinkius.co.uk), and it will still return the structured domain components.

How does the `extract_domain` function handle bare hostnames instead of full URLs? +

It processes bare hostnames just fine. You don't need a protocol or path to use it.
The tool focuses only on the hostname provided, correctly identifying the root domain and TLD without needing the surrounding URL structure.

Are there rate limits when calling `extract_domain`? +

Vinkius manages typical usage rates. If you exceed the defined limit for a given time period, your AI client will receive an appropriate HTTP 429 error.
You'll need to implement back-off logic in your workflow to respect these limits.

Does `extract_domain` use the most current Public Suffix List data? +

Yes, it uses the latest version of Mozilla’s PSL.
We integrate updates regularly, ensuring that domain parsing remains accurate even when new TLDs or cloud suffixes emerge.

Can I process a large list of domains with `extract_domain`? +

The API accepts lists of strings for efficient batch processing. This saves you from making multiple sequential calls.
Just provide an array of hostnames, and the tool will return structured results for each entry.

Why can't I just split the domain by dots? +

Because TLDs like .co.uk, .com.br, and .org.au have multiple parts. Splitting by dots would incorrectly identify the root domain. The PSL has 9,000+ entries.

Does it handle cloud provider domains? +

Yes. Domains like *.amazonaws.com, *.azurewebsites.net, and *.cloudfront.net are in the PSL and handled correctly.

Can I pass a full URL with protocol and path? +

Yes. The engine automatically strips the protocol (http/https), path, and query parameters before parsing.

Built & Managed by Vinkius 30s setup 1 tools

We've already built the connector for Public Suffix Extractor. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 1 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.