# URL-ish token count, text discarded

> URL-ish token count, text discarded is an MCP server for developer tools. MCP server that counts URL-like tokens in text and returns only the count. 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/urlish-n
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Callers send a block of text to this remote MCP server and get back how many URL-like tokens it contains. The registry entry describes the text as discarded after counting, so the server returns a number rather than the content itself. It is reached over streamable HTTP at a hosted endpoint, and the registry lists no local packages to install.

The server is one entry in a repository of small, single-purpose MCP utilities, each with its own registry name and endpoint. The README lists this one by its registry name alongside many unrelated checks. It suits autonomous clients and developers who need a cheap link-density signal over text they would rather not keep.

## Features

- **URL-like token counting:** Returns how many tokens in the submitted text look like URLs.
- **Text discarded after counting:** The registry description says the submitted text is discarded rather than kept.
- **Remote streamable HTTP endpoint:** Served from a hosted URL over the streamable HTTP transport, so no local install is needed.
- **Single-purpose output:** Returns a count rather than extracted links or the original text.

## Good for

- Measuring link density in messages or logs without retaining the text
- Screening user-submitted text for a high number of links before further processing
- Giving an autonomous agent a quick URL-count signal inside a larger workflow
- Keeping sensitive text out of downstream storage while still reporting link counts

## Install

### Claude Code (Terminal)

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

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/urlish-n/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### Does the server keep the text I send?

The registry description says the text is discarded, and the server name carries the same note. The README describes it the same way.

### How do I connect to it?

The registry lists a remote streamable-http endpoint under the workers.dev domain. No local package is listed.

### How do I add URL-ish token count, text discarded to Claude Code?

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

### What are the best alternatives to URL-ish token count, text discarded?

The closest alternatives to URL-ish token count, text discarded are Unicode word count, text discarded, UTF-16 code-unit count, text discarded, Word count, text discarded, Whitespace word count, text discarded and URL path length, URL 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

- [Unicode word count, text discarded](https://ai-powered.com/mcp/unicode-word-count-text-discarded): Unicode word count, text discarded is an MCP server for developer tools.
- [UTF-16 code-unit count, text discarded](https://ai-powered.com/mcp/utf-16-code-unit-count-text-discarded): UTF-16 code-unit count, text 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.
- [Whitespace word count, text discarded](https://ai-powered.com/mcp/whitespace-word-count-text-discarded): Whitespace word count, text discarded 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-ish token charset, value discarded](https://ai-powered.com/mcp/url-ish-token-charset-value-discarded): URL-ish token charset, value discarded is an open-source MCP server for developer tools.
- [UTF-8 byte length, text discarded](https://ai-powered.com/mcp/utf-8-byte-length-text-discarded): UTF-8 byte length, text discarded is an open-source 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.

---
Source: https://ai-powered.com/mcp/url-ish-token-count-text-discarded
