# Query pair count, URL discarded

> Query pair count, URL discarded is an MCP server for developer tools. MCP utility that counts query-string pairs in a URL and discards 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/query-pair-count
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

Named after its behaviour: the server takes a URL, counts the key-value pairs in its query string, and returns that number without keeping the URL. It is one entry in a set of small, single-purpose MCP servers from the same repository, each published under its own official registry name.

The server runs as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, so clients connect to a URL rather than installing a package. The registry entry lists no local packages.

It suits autonomous agents and developers who need a quick, stateless check on the shape of a query string rather than a full URL parser.

## Features

- **Query pair counting:** Returns how many key-value pairs appear in a URL's query string.
- **Discarded URL handling:** The README says the submitted URL is discarded after the count is made.
- **Remote streamable-http endpoint:** Connects to a hosted MCP endpoint over streamable HTTP with no local install.
- **Single-purpose utility:** Part of a collection of narrow MCP servers, each with one function.

## Good for

- Checking how many parameters a tracking or campaign URL carries before logging it
- Letting an agent sanity-check query strings in scraped or user-supplied links
- Adding a lightweight URL inspection step to a larger automated workflow

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http query-pair-count https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/query-pair-count/mcp
```

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/query-pair-count/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### Is the submitted URL stored?

The name and README say the URL is discarded; the README does not describe any storage.

### How is the server connected?

The registry entry lists a streamable-http remote endpoint and no packages to install.

### How do I add Query pair count, URL discarded to Claude Code?

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

## Where this comes from

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

---
Source: https://ai-powered.com/mcp/query-pair-count-url-discarded
