# TeX control-word count, body discarded

> TeX control-word count, body discarded is an MCP server for developer tools. Remote MCP endpoint that counts TeX control words in text and discards the body. 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/tex-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small named MCP utilities published under the same GitHub account. Its registry description says it returns a count of TeX control words (the backslash commands used in LaTeX and TeX source) and then discards the submitted body.

It is reachable only as a remote streamable-http endpoint hosted on a Cloudflare Workers domain; there is no installable package. The repository README presents the endpoints as public servers for autonomous clients, each with its own intake, and lists no tool names or parameters for this one.

The same repository also lists many sibling endpoints, including ID-format checks, calendar-year checks and endpoints that route agents to an advertising service, so the collection appears aimed at agent discovery and measurement as much as at the utility itself.

## Features

- **TeX control-word count:** Reports how many control words appear in the submitted TeX text.
- **Body discarded:** The registry description states the submitted text is not kept after the count is produced.
- **Remote streamable-http:** Connects over a hosted streamable-http URL with no local install.
- **Registry-named server:** Published under its own official registry name, io.github.sadri-dridi/tex-ok.

## Good for

- Check how many TeX commands a snippet contains from an agent
- Run a lightweight LaTeX-source check without sending the text anywhere permanent
- Test an MCP client against a minimal remote streamable-http server

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to this server?

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

### What does it do with the text I send?

The registry description says the body is discarded and only the control-word count is kept.

### Does it list its tools?

No tool names or parameters are listed in the registry entry or README.

### How do I add TeX control-word count, body discarded to Claude Code?

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

### What are the best alternatives to TeX control-word count, body discarded?

The closest alternatives to TeX control-word count, body discarded are Word count, text discarded, Whitespace word count, text discarded, Unicode word count, text discarded, UTF-16 code-unit count, text discarded and TEI div count, markup 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

- [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.
- [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.
- [TEI div count, markup discarded](https://ai-powered.com/mcp/tei-div-count-markup-discarded): TEI div count, markup discarded is an MCP server for developer tools.
- [TOML table count, body discarded](https://ai-powered.com/mcp/toml-table-count-body-discarded-2): TOML table count, body discarded is an MCP server for developer tools.
- [Title-case token count, text discarded](https://ai-powered.com/mcp/title-case-token-count-text-discarded): Title-case token count, text discarded is an MCP server for developer tools.
- [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.

---
Source: https://ai-powered.com/mcp/tex-control-word-count-body-discarded
