grai-gate is a Model Context Protocol server. It scores a draft for cadence and structural slop, and it verifies signed client seals. Works in Claude Desktop, Cursor, Cline, Windsurf and any other MCP client.
The package is on PyPI as grai-mcp. Nothing else to install if you have uv.
uvx --from grai-mcp grai-gate-mcp
Without uv: pip install grai-mcp and run grai-gate-mcp.
Paste this block into your client config, or into the MCP panel of the editor.
{
"mcpServers": {
"grai-gate": {
"command": "uvx",
"args": ["--from", "grai-mcp", "grai-gate-mcp"]
}
}
}
Config locations: Claude Desktop claude_desktop_config.json, Cursor .cursor/mcp.json, Cline MCP Servers panel, Windsurf mcp_config.json.
| Tool | What it does | Network |
|---|---|---|
grai_score_draft | Scores a draft, returns the score, the sentence-length CV and the failed rules | none |
grai_issue_agency_seal | Audits a client draft and returns a public verification link | grai.page |
grai_verify_seal | Verifies a signed seal record against the public keyring | grai.page |
Scoring runs offline. No API key, no account, no draft text leaving your machine.
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | uvx --from grai-mcp grai-gate-mcp
A working server answers with serverInfo name grai-gate.
PyPI package · GitHub repository · llms-install.md
Registry name: io.github.adrianpeticila/grai-mcp
Last updated: 2026-11-10. MIT licence.