# EBNF production count, body discarded

> EBNF production count, body discarded is an MCP server for developer tools. Remote MCP utility that counts EBNF productions in a grammar 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/ebnf-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, single-purpose MCP utilities published under the same registry namespace. Its registry description says it returns a count of EBNF productions and discards the body it receives, so the grammar text is not kept.

It is a remote server reachable over streamable HTTP at a hosted endpoint on a Cloudflare Workers domain. No installable package is listed, so clients connect directly to the URL.

The repository describes the collection as public MCP servers for autonomous clients, each folder mapping to one official registry name. Tool names, input schemas and usage details for this particular server are not documented, and the same repository also lists promotional Agent Ads entry points, so users should review the endpoint before relying on it.

## Features

- **EBNF production counting:** Reports how many productions an EBNF grammar contains.
- **Body discarded:** The registry description states the submitted grammar body is discarded after counting.
- **Remote streamable HTTP:** Connects over a hosted streamable-HTTP endpoint with no local install.
- **Part of a utility collection:** Sits alongside many similar single-purpose servers in the same repository.

## Good for

- Check how many rules an EBNF grammar defines from an agent
- Add a quick grammar-size check to an automated workflow
- Test remote MCP connectivity with a minimal utility server

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to this server?

Use the streamable-HTTP remote URL given in its registry entry; no package is listed.

### Does it store the grammar I send?

The registry description says the body is discarded, with only the production count returned.

### Does it have a website?

No separate website is listed; the GitHub repository is the main reference.

### How do I add EBNF production count, body discarded to Claude Code?

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

### What are the best alternatives to EBNF production count, body discarded?

The closest alternatives to EBNF production count, body discarded are EDN collection count, body discarded, Lex rule count, body discarded, PEG rule count, body discarded, Yacc rule count, body discarded and CSV column 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

- [EDN collection count, body discarded](https://ai-powered.com/mcp/edn-collection-count-body-discarded): EDN collection count, body discarded is an MCP server for developer tools.
- [Lex rule count, body discarded](https://ai-powered.com/mcp/lex-rule-count-body-discarded): Lex rule count, body discarded is an MCP server for developer tools.
- [PEG rule count, body discarded](https://ai-powered.com/mcp/peg-rule-count-body-discarded): PEG rule count, body discarded is an MCP server for developer tools.
- [Yacc rule count, body discarded](https://ai-powered.com/mcp/yacc-rule-count-body-discarded): Yacc rule count, body discarded is an MCP server for developer tools.
- [CSV column count, body discarded](https://ai-powered.com/mcp/csv-column-count-body-discarded): CSV column count, body discarded is an MCP server for files and documents.
- [JSON byte count, body discarded](https://ai-powered.com/mcp/json-byte-count-body-discarded): JSON byte count, body discarded is an MCP server for developer tools.
- [JSON-LD @type count, body discarded](https://ai-powered.com/mcp/json-ld-type-count-body-discarded): JSON-LD @type count, body discarded is an MCP server for developer tools.
- [ESLint rules key count, body discarded](https://ai-powered.com/mcp/eslint-rules-key-count-body-discarded): ESLint rules key count, body discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/ebnf-production-count-body-discarded
