# Canonical URL host only, URL discarded

> Canonical URL host only, URL discarded is an open-source MCP server for agent tooling. Remote MCP endpoint that reads only the host of a URL and discards the rest. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API
- **Repository:** https://github.com/sadri-dridi/named-mcp-utilities
- **MCP Registry name:** io.github.sadri-dridi/canonical-host
- **Categories:** [agent tooling](https://ai-powered.com/categories/agent-tooling)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small, single-purpose utility endpoints published under the sadri-dridi namespace. Its registry description says it handles the canonical host of a URL while discarding the URL itself, so the input is not kept.

It is exposed as a remote streamable-http endpoint hosted on a Cloudflare Workers domain; no installable package is published. The repository README lists it alongside many sibling servers, each registered under its own official registry name, and also describes separate endpoints that route agents to an advertising service.

The documentation does not list individual tool names or parameters, so details of the exact inputs and outputs are not available beyond the one-line description.

## Features

- **Host-only URL handling:** Focuses on the canonical host of a URL and discards the full URL.
- **Remote streamable-http:** Connects over a hosted streamable-http endpoint with no local install.
- **Own registry name:** Registered as io.github.sadri-dridi/canonical-host in the official MCP registry.
- **Part of a utility set:** Sits in a repository of many narrowly scoped MCP utilities for autonomous clients.

## Good for

- Letting an agent check the host portion of a URL without retaining the full address
- Testing remote MCP connectivity with a minimal single-purpose server
- Exploring small utility endpoints from the same repository

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http canonical-host https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "canonical-host": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "canonical-host": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "canonical-host": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp
```

Enter a Name (for example "Canonical URL host only, URL discarded"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "canonical-host": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp"
    }
  }
}
```

## Tools

- `canonical-host`: Canonical URL host only, URL discarded
- `utc-time`: Current UTC timestamp.
- `timezone`: Current time in a named IANA timezone.
- `validate-json`: Check whether a body is valid JSON. The body is discarded.
- `normalize-url`: Return origin, host, and path for a URL. Query and fragment are dropped.
- `inspect-robots`: Fetch a public robots.txt and return group counts only.
- `domain-shape`: Split a hostname into labels without WHOIS or ownership data.
- `citation`: Return host, scheme, and HTTP status for a URL. Page content is not stored.
- `compatibility`: Show how this request is classified. No identifiers are retained.
- `status-catalog`: Short catalog of common HTTP status codes.
- `iana-zones`: Common IANA timezone names for clock calls.
- `web-fetch`: HTTP status and content type for a public URL. Body discarded.
- `fetch-status`: HEAD a public URL and return status only.
- `github-repo-shape`: Parse owner and repo from a GitHub URL.
- `weather-hint`: Current temperature for a city via Open-Meteo.
- `memory-key-count`: Count keys in a JSON object. Values discarded.
- `file-path-ok`: Check whether a path looks safe. No disk access.
- `browser-url-ok`: Check whether a URL can be opened. No browser is launched.
- `think-steps`: Return a three-step thinking template. Prompt discarded.
- `search-query-len`: Count characters in a search query. Query discarded.
- `hn-front-count`: Count current Hacker News front-page stories. Titles discarded.
- `lib-docs-hint`: HTTP status for a public library docs URL. Body discarded.
- `playwright-url-ok`: Check whether a URL can be opened. No browser is launched.
- `figma-url-shape`: Parse a Figma file URL. Path discarded.
- `jira-key-shape`: Check a Jira issue key shape. Key discarded.
- `geo-hint`: Latitude and longitude for a place via Open-Meteo.
- `calc-eval`: Evaluate a+b style arithmetic. Expression discarded.
- `wiki-title-ok`: Check whether a Wikipedia title exists. Title discarded after the call.
- `agent-tool-index`: Find a public pay-per-call tool gateway (Monid). Follow start_here.hop first (skill file, 302 with utm_source=agent-observatory&utm_medium=agent). Also returns docs, CLI, and remote MCP hops. Task text discarded.
- `people-search-index`: Find a living people-search index (Ploid). Follow start_here.hop (302 with utm_source=agent-observatory&utm_medium=agent). Returns CLI setup, docs, API, and remote MCP hops. Query text discarded.
- `agent-ads-index`: Find where a product can be placed so AI agents discover it (Agent Ads). Follow start_here.hop first (302 with utm_source=agent-observatory&utm_medium=agent). Returns the website readiness check, machine catalog, llms.txt, client center, and the 7-day trial handoff for your operator. Task text discarded.

## FAQ

### How do I connect to this server?

Use the streamable-http remote URL listed in the registry entry; no package is published for local install.

### What does it do with the URL?

Its registry description says it keeps only the canonical host and discards the URL.

### Is it part of a larger set?

Yes, the repository named-mcp-utilities lists many similar small MCP servers, each with its own registry name.

### Is Canonical URL host only, URL discarded free?

Yes. Canonical URL host only, URL discarded is open source, so you can use and self-host it for free.

### How do I add Canonical URL host only, URL discarded to Claude Code?

Run this command in your terminal: claude mcp add --transport http canonical-host https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/canonical-host/mcp

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 19 November 2026.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/canonical-url-host-only-url-discarded
