PEG rule count, body discarded
Remote MCP endpoint that counts PEG rules in a grammar and discards the body
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About PEG rule count, body discarded
PEG rule count, body discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
This server is one entry in a collection of small, single-purpose utility endpoints published under the same GitHub account. Its registry description says it returns a PEG rule count and discards the body, which suggests the grammar text is not retained after counting.
It runs as a hosted streamable-http remote rather than an installable package, so an MCP client connects to the URL directly with nothing to run locally. The README lists it only by name and registry ID, without documenting tool names, parameters or output format.
The repository is a directory of independently listed utility servers, and the same README also lists promotional endpoints for an ad placement service. Developers should check the endpoint's behaviour themselves before sending any sensitive grammar content to it.
Install
Run in a terminal
claude mcp add --transport http peg-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcpAdd to Settings → Connectors → Add custom connector
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"peg-ok": {
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"peg-ok": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"peg-ok": {
"serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"peg-ok": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- PEG rule counting
- Reports how many rules a parsing expression grammar contains.
- Body discarded
- The registry description states the submitted body is discarded after the count.
- Hosted remote endpoint
- Available over streamable-http with no local installation.
- Registry-listed
- Published in the MCP registry as io.github.sadri-dridi/peg-ok.
Good for
- Quickly check the size of a PEG grammar from an AI client
- Let an agent sanity-check grammar complexity during parser work
- Test a minimal remote MCP integration over streamable-http
PEG rule count, body discarded FAQ
How do I connect to it?
Use the streamable-http remote URL from the registry entry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcp.
Does it need to be installed locally?
No. The registry entry lists no packages, only a hosted remote.
What does it do with the input?
Its description says it returns a PEG rule count and discards the body.
Which tools does it expose?
The available content does not list tool names.
How do I add PEG rule count, body discarded to Claude Code?
Run this command in your terminal: claude mcp add --transport http peg-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/peg-ok/mcp
What are the best alternatives to PEG rule count, body discarded?
The closest alternatives to PEG rule count, body discarded are Yacc rule count, body discarded, Lex rule count, body discarded, punctuation count, text discarded, protobuf3 message count, body discarded and SCSS rule 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.