# URL host only

> URL host only is an MCP server for developer tools. Remote MCP endpoint that returns only the host portion of a URL, for autonomous clients. It runs as a hosted remote server, so there is nothing to install locally.

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

## About

This is one entry in a collection of small, single-purpose public MCP endpoints published under the sadri-dridi namespace. The registry description is just "URL host only", which suggests it handles the host part of a URL and nothing more.

It is reachable only as a remote streamable-http server hosted on a Cloudflare Workers address; there is no package to install. The repository README lists many sibling endpoints that follow the same pattern, many of them noting that the input value is discarded after the check. It does not document this endpoint's tools, inputs or outputs, so the exact behaviour is not confirmed.

It is aimed at autonomous clients that want a minimal, narrowly scoped utility over MCP.

## Features

- **Remote streamable-http:** Served as a hosted streamable-http MCP endpoint, with no local package to install.
- **Single narrow purpose:** Registered as a URL-host-only utility, in keeping with the narrowly scoped siblings in the same repository.
- **Registry-listed name:** Published in the official MCP registry as io.github.sadri-dridi/url-host.
- **Part of a utility set:** Sits alongside dozens of similar small endpoints for identifiers, calendars and formats.

## Good for

- Letting an autonomous agent test a minimal remote MCP connection
- Extracting or checking the host part of a URL from an MCP client
- Exploring the family of small named MCP utilities in the same repository

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Use the streamable-http remote URL from the registry entry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/url-host/mcp.

### Is there a package to install?

No. The registry lists no packages, only the hosted remote endpoint.

### What tools does it expose?

The available content does not list any tools; only the short description "URL host only" is given.

### Where is the source?

The repository is github.com/sadri-dridi/named-mcp-utilities, which indexes many similar named endpoints.

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

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

### What are the best alternatives to URL host only?

The closest alternatives to URL host only are URL path only, URL path length, URL discarded, URL origin only, URL encode, input discarded and URL path segment count, query discarded.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [URL path only](https://ai-powered.com/mcp/url-path-only): URL path only is an MCP server for developer tools.
- [URL path length, URL discarded](https://ai-powered.com/mcp/url-path-length-url-discarded): URL path length, URL discarded is an MCP server for developer tools.
- [URL origin only](https://ai-powered.com/mcp/url-origin-only): URL origin only is an MCP server for agent tooling.
- [URL encode, input discarded](https://ai-powered.com/mcp/url-encode-input-discarded): URL encode, input discarded is an MCP server for developer tools.
- [URL path segment count, query discarded](https://ai-powered.com/mcp/url-path-segment-count-query-discarded): URL path segment count, query discarded is an open-source MCP server for developer tools.
- [XID timestamp prefix, value discarded](https://ai-powered.com/mcp/xid-timestamp-prefix-value-discarded): XID timestamp prefix, value discarded is an MCP server for developer tools.
- [http/https scheme check, URL discarded](https://ai-powered.com/mcp/http-https-scheme-check-url-discarded): http/https scheme check, URL discarded is an MCP server for developer tools.
- [Max UUID constant](https://ai-powered.com/mcp/max-uuid-constant): Max UUID constant is an MCP server for developer tools.

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