Public
Remote MCP eval: score text against Simplified Technical English
evalmcpstetechnical-writing
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

ste-eval

Remote MCP server that scores text adherence to Simplified Technical English (STE, ASD-STE100-inspired). Deterministic regex heuristics — same text, same score, every time. No auth, no API keys, no LLM.

Built for the eval loop: an agent drafts → score_text → fixes the listed violations → re-scores until the grade hits target.

Live: https://ste-eval.val.run — homepage with a try-it box, scored examples, and the rulebook.

Tools

ToolWhat it does
score_text0–100 score + grade + violation list with concrete fixes. mode: "descriptive" (25-word sentences, default) or "procedural" (20). Markdown OK — code blocks, tables, URLs are ignored.
list_rulesEvery rule with weights, bad/good examples, and the scoring formula.

Rules checked

RuleWeightSTE principle
SENTENCE_LENGTH4≤25 words descriptive / ≤20 procedural
PASSIVE_VOICE3Say who does the action
CONTINUOUS_TENSE3Simple tenses only ("the pump runs")
LONG_PARAGRAPH3≤6 sentences per paragraph (lists exempt)
FUTURE_TENSE2Present tense; "must" for requirements
NON_STE_WORD2~90-entry lexicon (utilize→use, prior to→before…)
GERUND1Clauses over -ing constructions
NOUN_CLUSTER1≤3 nouns in a row

Score = 100 − 12 × (weighted violations ÷ sentences), clamped 0–100. Grades: A ≥90 · B ≥80 · C ≥70 · D ≥60 · F <60.

Routes

RouteWhat
POST /mcp (or /)JSON-RPC MCP endpoint (stateless streamable HTTP)
POST /scoreREST mirror: {"text": "...", "mode": "descriptive"} → plain-text report
GET /browsers → homepage · agents/curl → instructions.md · SSE clients → keepalive stream
GET /examplessample texts scored live by the real scorer (before/after pairs)
GET /rulesthe rulebook as plain text
GET /llms.txtagent instructions

Connect

No key needed — the server is stateless and free.

  • Claude.ai custom connector: https://ste-eval.val.run/mcp
  • Claude Code: claude mcp add ste-eval --transport http https://ste-eval.val.run/mcp
  • Pebble Index app: type Streamable; Name must be letters/digits/hyphens only (ste-eval works)
  • curl:
    curl -X POST https://ste-eval.val.run/score \ -d '{"text":"The valve is opened by the controller in order to facilitate flow."}'

Files

  • main.ts — Hono routes (MCP, REST, pages, SSE keepalive, emoji favicon)
  • mcp.ts — protocol plumbing (copied from dcm31/index-webhook-test, the strict-client-hardened variant: SSE framing + prompts/resources stubs)
  • tools.ts — tool schemas + dispatcher
  • scorer.ts — the scoring engine + RULE_GUIDE
  • lexicon.ts — non-STE word/phrase → approved alternative map
  • lib/samples.ts — texts for /examples (scored at render time, so scores never drift)
  • views/layout.tsx · views/home.tsx · views/examples.tsx — Hono JSX pages, modeled on valdottown/sharechat (quiet document layout, light/dark, IBM Plex) with dcm31/call-my-human's browser/agent split
  • skills/ste/SKILL.md — agent-loadable STE writing skill (served at /skill; skillbook frontmatter format)
  • instructions.md — agent-facing setup, served at GET / (non-browser) and /llms.txt
  • scripts/test.ts — smoke test (bad sample → F, clean sample → A)
  • scripts/score-chat.ts — scores the chat responses that built this val, plus their STE rewrites

Caveats

Regex heuristics, not a POS tagger, and not the licensed ASD-STE100 dictionary. Expect occasional false positives (e.g. "we are excited" reads as passive — which, for STE purposes, is a feature). The score is for iteration pressure, not certification.

Built with the dcm31/skillbook → skills/remote-mcp pattern.