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.
| Tool | What it does |
|---|---|
score_text | 0–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_rules | Every rule with weights, bad/good examples, and the scoring formula. |
| Rule | Weight | STE principle |
|---|---|---|
| SENTENCE_LENGTH | 4 | ≤25 words descriptive / ≤20 procedural |
| PASSIVE_VOICE | 3 | Say who does the action |
| CONTINUOUS_TENSE | 3 | Simple tenses only ("the pump runs") |
| LONG_PARAGRAPH | 3 | ≤6 sentences per paragraph (lists exempt) |
| FUTURE_TENSE | 2 | Present tense; "must" for requirements |
| NON_STE_WORD | 2 | ~90-entry lexicon (utilize→use, prior to→before…) |
| GERUND | 1 | Clauses over -ing constructions |
| NOUN_CLUSTER | 1 | ≤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.
| Route | What |
|---|---|
POST /mcp (or /) | JSON-RPC MCP endpoint (stateless streamable HTTP) |
POST /score | REST mirror: {"text": "...", "mode": "descriptive"} → plain-text report |
GET / | browsers → homepage · agents/curl → instructions.md · SSE clients → keepalive stream |
GET /examples | sample texts scored live by the real scorer (before/after pairs) |
GET /rules | the rulebook as plain text |
GET /llms.txt | agent instructions |
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-evalworks) - curl:
curl -X POST https://ste-eval.val.run/score \ -d '{"text":"The valve is opened by the controller in order to facilitate flow."}'
main.ts— Hono routes (MCP, REST, pages, SSE keepalive, emoji favicon)mcp.ts— protocol plumbing (copied fromdcm31/index-webhook-test, the strict-client-hardened variant: SSE framing + prompts/resources stubs)tools.ts— tool schemas + dispatcherscorer.ts— the scoring engine +RULE_GUIDElexicon.ts— non-STE word/phrase → approved alternative maplib/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 onvaldottown/sharechat(quiet document layout, light/dark, IBM Plex) withdcm31/call-my-human's browser/agent splitskills/ste/SKILL.md— agent-loadable STE writing skill (served at/skill; skillbook frontmatter format)instructions.md— agent-facing setup, served atGET /(non-browser) and/llms.txtscripts/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
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.