# URL path length, URL discarded

> URL path length, URL discarded is an MCP server for developer tools. Remote MCP utility that returns a URL's path length without keeping the URL. 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-path-len
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small, single-purpose MCP utilities published under the sadri-dridi registry namespace. Its job is narrow: it reports the length of a URL's path, and the registry description says the submitted URL is discarded rather than kept.

It runs as a remote endpoint over streamable HTTP, hosted on a Cloudflare Workers address, so there is no package to install. An MCP client connects to the remote URL listed in the registry entry.

The repository README describes the collection as public MCP servers aimed at autonomous clients, where each folder maps to one official registry name. Sibling servers cover things like ID layouts and calendar checks, and a separate group of servers routes agents to an advertising service. Documentation for this specific server is minimal, so the exact tool names and parameters are not published.

## Features

- **URL path length:** Returns the length of the path portion of a URL supplied by the client.
- **URL discarded:** The registry description states the submitted URL is discarded after use.
- **Remote streamable HTTP:** Served from a hosted endpoint over streamable HTTP with no local install.
- **Single-purpose design:** Does one narrow check, as part of a larger set of named utility servers.

## Good for

- Letting an agent check how long a URL path is before using it
- Quick validation step in an automated workflow that handles links
- Trying out a minimal remote MCP server over streamable HTTP

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Use the remote streamable HTTP endpoint from the registry entry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/url-path-len/mcp.

### Is the URL I send stored?

The registry description says the URL is discarded, though no further privacy details are given.

### Is there a package to install?

No. The registry entry lists no packages, only a remote endpoint.

### Where does it come from?

It is part of the Named MCP utilities collection at github.com/sadri-dridi/named-mcp-utilities.

### How do I add URL path length, URL discarded to Claude Code?

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

### What are the best alternatives to URL path length, URL discarded?

The closest alternatives to URL path length, URL discarded are URL path segment count, query discarded, URL path only, URL host only, http/https scheme check, URL discarded and Uuencode length, input 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 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.
- [URL path only](https://ai-powered.com/mcp/url-path-only): URL path only is an MCP server for developer tools.
- [URL host only](https://ai-powered.com/mcp/url-host-only): URL host only 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.
- [Uuencode length, input discarded](https://ai-powered.com/mcp/uuencode-length-input-discarded): Uuencode length, input discarded is an MCP server for developer tools.
- [XXH32 hex length, input discarded](https://ai-powered.com/mcp/xxh32-hex-length-input-discarded): XXH32 hex length, input discarded is an MCP server for developer tools.
- [Word count, text discarded](https://ai-powered.com/mcp/word-count-text-discarded): Word count, text discarded is an MCP server for developer tools.
- [URL encode, input discarded](https://ai-powered.com/mcp/url-encode-input-discarded): URL encode, input discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/url-path-length-url-discarded
