grai
grai page

MCP server

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.

Install

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.

Client configuration

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.

Tools

ToolWhat it doesNetwork
grai_score_draftScores a draft, returns the score, the sentence-length CV and the failed rulesnone
grai_issue_agency_sealAudits a client draft and returns a public verification linkgrai.page
grai_verify_sealVerifies a signed seal record against the public keyringgrai.page

Scoring runs offline. No API key, no account, no draft text leaving your machine.

Verify the install

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.

Where to find it

PyPI package · GitHub repository · llms-install.md

Registry name: io.github.adrianpeticila/grai-mcp

Last updated: 2026-11-10. MIT licence.