grai Cadence Gate — Claude Code MCP server: features and install
grai Cadence Gate — an MCP server for Claude Code evaluates text rhythm and flags AI syntactic patterns. It returns a binary PASS or FAIL decision alongside a signed audit card.
no license ★ 6 updated 2026-11-16
claude mcp add grai-mcp -- uvx grai-mcpWhat grai Cadence Gate does
The server tests drafts against eight structural syntax rules and a strict sentence length variance floor. It calculates burstiness using standard deviation over mean sentence length, rejecting texts where the coefficient drops below 0.32. The engine detects forced antithesis, hollow rhetorical hooks, arrow bullet chains, formulaic triads, and summary colons while stripping zero-width Unicode watermarks.
Passing text comes with an ECDSA P-256 signed audit card recording the score and defects. Lexical checks apply strictly to English, while other languages receive cadence scoring with an advisory note. Running the server requires uvx in the environment.
What it helps with
- detect flat rhythm and repetitive sentence length in AI drafts
- filter out structural clichés like forced antithesis and hook formulas
- strip hidden zero-width Unicode characters from text
- generate an ECDSA P-256 signed audit card for verified drafts
Example prompts for the agent
- Audit this draft with grai-cadence-gate
- Check sentence length burstiness and flag synthetic formulas in this post
How to install grai Cadence Gate
Platform CLI
claude mcp add grai-mcp -- uvx grai-mcpuvx runs the command named after the package; if the README names another one, use uvx --from grai-mcp <command>
Platform CLI
codex mcp add grai-cadence-gate -- uvx grai-mcpuvx runs the command named after the package; if the README names another one, use uvx --from grai-mcp <command>
Config file
{
"mcpServers": {
"grai-cadence-gate": {
"command": "uvx",
"args": [
"grai-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from grai-mcp <command>
Config file
{
"servers": {
"grai-cadence-gate": {
"type": "stdio",
"command": "uvx",
"args": [
"grai-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from grai-mcp <command>
Platform CLI
gemini mcp add grai-cadence-gate uvx grai-mcpuvx runs the command named after the package; if the README names another one, use uvx --from grai-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about grai Cadence Gate
How to install grai Cadence Gate in Claude Code?
Run claude mcp add grai-cadence-gate -- uvx grai-mcp in your terminal.
What does grai Cadence Gate do?
It applies deterministic cadence and syntax tests to writing, outputting a PASS or FAIL verdict with a verification seal.
What are the requirements for grai Cadence Gate?
You need uvx available in your system path. Lexical defect filters evaluate English drafts only.