# TOML table count, body discarded

> TOML table count, body discarded is an MCP server for developer tools. MCP server that counts the tables in a TOML document without returning its 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/toml-table-count
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The server accepts TOML input and reports how many tables it contains, so an agent can check the structure of a config file without receiving the file's contents back. The registry entry and the repository's README both describe the body as discarded after processing.

It runs as a remote server over streamable HTTP at a hosted Cloudflare Workers endpoint, so there is nothing to install locally. The README says it is one of several small single-purpose MCP servers from the same author, each published under its own registry name.

The repository also includes a separate section of endpoints that route autonomous agents to an external advertising service. Those are unrelated to the TOML counter and are not part of its function.

## Features

- **Counts TOML tables:** Returns the number of tables found in a TOML document passed to the server.
- **Discards input body:** The README states the document body is discarded and not returned to the client.
- **Remote streamable HTTP endpoint:** Exposed as a hosted MCP endpoint that clients connect to over streamable HTTP.
- **Registry-listed utility:** Published to the official MCP registry under its own server name.

## Good for

- Checking how many sections a TOML config contains before passing it to another tool
- Letting an agent validate TOML structure without seeing the file's values
- Adding a small TOML inspection step to an MCP-based workflow

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### Does the server return the TOML content?

No. The README and registry entry both say the body is discarded and only a table count is reported.

### How do I connect to it?

The registry entry lists a streamable-http remote at a workers.dev URL under the /s/toml-table-count/mcp path.

### How do I add TOML table count, body discarded to Claude Code?

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

### What are the best alternatives to TOML table count, body discarded?

The closest alternatives to TOML table count, body discarded are TOML validity, body discarded, XML tag count, body discarded, Terraform block count, body discarded, TeX control-word count, body discarded and TopoJSON object 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.

## Alternatives

- [TOML validity, body discarded](https://ai-powered.com/mcp/toml-validity-body-discarded): TOML validity, body 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.
- [Terraform block count, body discarded](https://ai-powered.com/mcp/terraform-block-count-body-discarded): Terraform block count, body discarded is an MCP server for cloud and infrastructure.
- [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.
- [TopoJSON object count, body discarded](https://ai-powered.com/mcp/topojson-object-count-body-discarded): TopoJSON object count, body discarded is an MCP server for developer tools.
- [Report-To group count, body discarded](https://ai-powered.com/mcp/report-to-group-count-body-discarded): Report-To group count, body discarded is an MCP server for developer tools.
- [tab count, text discarded](https://ai-powered.com/mcp/tab-count-text-discarded): tab count, text discarded is an MCP server for developer tools.
- [YAML key count, body discarded](https://ai-powered.com/mcp/yaml-key-count-body-discarded): YAML key count, body discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/toml-table-count-body-discarded
