# TEI div count, markup discarded

> TEI div count, markup discarded is an MCP server for developer tools. Remote MCP endpoint that counts TEI div elements 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/tei-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 endpoints published under the sadri-dridi registry namespace. The tei-ok endpoint is named for a TEI (Text Encoding Initiative) check: it reports a count of div elements and does not keep the markup it was given.

It runs as a hosted streamable-http remote on a Cloudflare Workers address rather than as an installable package, so there is nothing to download. An MCP client connects to the remote URL directly.

The parent repository describes the collection as independently listed public MCP servers for autonomous clients, each with its own intake. The README gives no tool names, parameters or response formats for this particular endpoint, and it also links the same host to an Agent Ads placement service.

## Features

- **TEI div counting:** Returns a count of div elements for TEI input, per its registry description.
- **Markup discarded:** The registry description states the submitted markup is not retained after the count.
- **Remote streamable-http:** Connects over streamable HTTP to a hosted endpoint, with no local install.
- **Registry-named endpoint:** Published under the official registry name io.github.sadri-dridi/tei-ok.

## Good for

- Letting an agent quickly check how many div elements a TEI document contains
- Testing connectivity to a remote streamable-http MCP server
- Exploring small single-purpose MCP endpoints from the same publisher

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Point an MCP client that supports streamable-http at the remote URL listed in the registry entry on the nolimit-observatory.workers.dev host.

### Is there a package to install?

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

### Does it keep my markup?

The description says the markup is discarded after the div count.

### Where is the source repository?

It is listed in the sadri-dridi/named-mcp-utilities repository on GitHub, which collects many similar endpoints.

### How do I add TEI div count, markup discarded to Claude Code?

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

### What are the best alternatives to TEI div count, markup discarded?

The closest alternatives to TEI div count, markup discarded are tab count, text discarded, TeX control-word count, body discarded, TE / transfer-encoding token shape, XML namespace count, markup discarded and TE trailers token, value 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

- [tab count, text discarded](https://ai-powered.com/mcp/tab-count-text-discarded): tab count, text discarded is an MCP server for developer tools.
- [TeX control-word count, body discarded](https://ai-powered.com/mcp/tex-control-word-count-body-discarded): TeX control-word count, body discarded is an MCP server for developer tools.
- [TE / transfer-encoding token shape](https://ai-powered.com/mcp/te-transfer-encoding-token-shape): TE / transfer-encoding token shape is an open-source MCP server for developer tools.
- [XML namespace count, markup discarded](https://ai-powered.com/mcp/xml-namespace-count-markup-discarded): XML namespace count, markup discarded is an MCP server for developer tools.
- [TE trailers token, value discarded](https://ai-powered.com/mcp/te-trailers-token-value-discarded): TE trailers token, value discarded is an MCP server for developer tools.
- [HTML script tag count, markup discarded](https://ai-powered.com/mcp/html-script-tag-count-markup-discarded-2): HTML script tag count, markup 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.
- [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.

---
Source: https://ai-powered.com/mcp/tei-div-count-markup-discarded
