XML tag count, body discarded
MCP server that counts XML tags in a document and discards the body
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About XML tag count, body discarded
XML tag count, body discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
Rather than returning parsed XML, this server reports how many tags a document contains. The registry entry and README describe the body as discarded, so the server is meant for counting structure, not for storing or transforming the markup. It is reached over a remote streamable-http endpoint, so an MCP client can call it without installing anything locally.
The repository is a collection of small, independently listed MCP utilities, and this one is listed under its own registry name. The README does not document the input parameters, the exact tool name, or any limits on document size, so check the endpoint's tool list before depending on it.
It suits agent workflows or developers who need a quick structural check on XML input, such as confirming a payload has a given number of elements, without keeping the content itself.
Install
Run in a terminal
claude mcp add --transport http xml-tag-count https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-tag-count/mcpAdd to Settings → Connectors → Add custom connector
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-tag-count/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"xml-tag-count": {
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-tag-count/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"xml-tag-count": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-tag-count/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"xml-tag-count": {
"serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-tag-count/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"xml-tag-count": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-tag-count/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- XML tag counting
- Counts the tags present in an XML document supplied to the server.
- Body discarded
- The document body is not retained after the count is produced, according to the listing.
- Remote streamable-http endpoint
- Served over streamable HTTP at a hosted URL, so no local package install is needed.
- Registry-listed utility
- Published under the official MCP registry name io.github.sadri-dridi/xml-tag-count.
Good for
- Checking how many elements an XML payload contains before processing it
- Letting an AI agent verify XML structure without receiving the full document back
- Testing an MCP client against a simple remote tool endpoint
XML tag count, body discarded FAQ
Does the server keep the XML I send it?
The registry entry and README describe the body as discarded, meaning it is not kept after the tag count is returned.
How do I connect to it?
The registry entry lists a remote streamable-http endpoint at a workers.dev URL that an MCP client can connect to directly.
How do I add XML tag count, body discarded to Claude Code?
Run this command in your terminal: claude mcp add --transport http xml-tag-count https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/xml-tag-count/mcp
What are the best alternatives to XML tag count, body discarded?
The closest alternatives to XML tag count, body discarded are XML namespace count, markup discarded, XML well-formed check, body discarded, YAML key count, body discarded, XML declaration shape, markup discarded and YAML anchor count, body 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.