# XML namespace count, markup discarded

> XML namespace count, markup discarded is an MCP server for developer tools. Remote MCP endpoint that counts XML namespaces in input and discards the markup. 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/xml-ns-ok
- **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 MCP servers published under the sadri-dridi registry namespace. Its registry name is io.github.sadri-dridi/xml-ns-ok, and its stated job is to report an XML namespace count while throwing away the markup it was given.

It is reachable only as a remote streamable-http endpoint hosted on a Cloudflare Workers domain; no installable package is published. The README describes the wider repository as independently listed public MCP servers for autonomous clients, each with its own intake. No tool names, parameters or response formats are documented for this particular server.

It suits developers who want to see how a minimal, privacy-minded utility endpoint behaves when called by an agent, rather than a full XML processing toolkit.

## Features

- **Namespace counting:** Returns a count of XML namespaces found in submitted XML.
- **Markup discarded:** The description states the submitted markup is not retained after the count.
- **Remote streamable HTTP:** Connects over a hosted streamable-http endpoint, so nothing needs to be installed locally.
- **Registry-listed:** Published in the official MCP registry as io.github.sadri-dridi/xml-ns-ok.

## Good for

- Letting an agent check how many XML namespaces a document declares
- Testing an MCP client against a tiny remote utility server
- Quick validation step in an agent workflow handling XML payloads

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http xml-ns-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-ns-ok/mcp
```

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

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-ns-ok/mcp
```

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

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

### Does it keep the XML I send?

The description says the markup is discarded after the namespace count is produced.

### Who publishes it?

It is published under the sadri-dridi GitHub namespace as part of the named-mcp-utilities repository.

### How do I add XML namespace count, markup discarded to Claude Code?

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

### What are the best alternatives to XML namespace count, markup discarded?

The closest alternatives to XML namespace count, markup discarded are XML tag count, body discarded, XML declaration shape, markup discarded, Whitespace word count, text discarded, Unicode word count, text discarded and Word count, text 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

- [XML tag count, body discarded](https://ai-powered.com/mcp/xml-tag-count-body-discarded): XML tag count, body discarded is an MCP server for developer tools.
- [XML declaration shape, markup discarded](https://ai-powered.com/mcp/xml-declaration-shape-markup-discarded): XML declaration shape, markup 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.
- [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.
- [Word count, text discarded](https://ai-powered.com/mcp/word-count-text-discarded): Word count, text discarded is an MCP server for developer tools.
- [XML well-formed check, body discarded](https://ai-powered.com/mcp/xml-well-formed-check-body-discarded): XML well-formed check, body discarded is an MCP server for developer tools.
- [whitespace run count, text discarded](https://ai-powered.com/mcp/whitespace-run-count-text-discarded): whitespace run count, text discarded is an MCP server for developer tools.
- [Xxencode charset, input discarded](https://ai-powered.com/mcp/xxencode-charset-input-discarded): Xxencode charset, input discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/xml-namespace-count-markup-discarded
