# grai Cadence Gate MCP server

> Score AI drafts for sentence rhythm and structural slop, and verify signed audit seals, with a deterministic offline gate.

- Listing: https://mcp.tc/i/grai-cadence-gate
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: no API key needed
- Category: [Utilities](https://mcp.tc/c/utilities)
- Vendor: adrianpeticila
- Homepage: <https://grai.page>
- Repository: <https://github.com/adrianpeticila/grai>
- Package: pypi `grai-mcp`

## About

grai Cadence Gate scores AI-generated drafts with a deterministic set of writing rules. It measures sentence-length variation, flags run-on sentences, contrastive negation, epiphany openers, corporate slop words, em dashes and structural monotony, and returns a 0-100 score. It can also issue and verify signed seals for audited drafts.

It runs locally over stdio as the PyPI package grai-mcp, started with uvx or pip. Scoring is offline and needs no API key. Issuing and verifying seals needs network access, and issuing a seal needs a grai license key. Requires Python 3.10+.

## What it can do

- Score a draft from 0 to 100 on sentence cadence
- Report sentence-length coefficient of variation and failed rules
- Flag run-ons, comma splices, slop words and em dashes
- Issue signed agency seals with a public verification link
- Verify the signature of an existing seal record
- Run scoring fully offline

## Example prompts

- "Score this draft with grai\_score\_draft: \[paste text\]"
- "Check my blog post for AI slop and tell me which rules failed."
- "Verify this grai seal record and show the key id."
- "Issue an agency seal for this approved copy for client ACME."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio grai-cadence-gate -- uvx grai-mcp
```

2. Start Claude Code and type `/mcp`. **grai-cadence-gate** should show as connected.

Add `--scope user` to make it available in every project.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "grai-cadence-gate": {
      "command": "uvx",
      "args": [
        "grai-mcp"
      ]
    }
  }
}
```

2. Save the file and restart Claude Desktop.

Needs uv (Python) on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=grai-cadence-gate&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJncmFpLW1jcCJdfQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "grai-cadence-gate": {
      "command": "uvx",
      "args": [
        "grai-mcp"
      ]
    }
  }
}
```

Needs uv (Python) on your computer.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=grai-cadence-gate&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22grai-mcp%22%5D%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"grai-cadence-gate","type":"stdio","command":"uvx","args":["grai-mcp"]}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "grai-cadence-gate": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "grai-mcp"
      ]
    }
  }
}
```

Needs uv (Python) on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "grai-cadence-gate": {
      "command": "uvx",
      "args": [
        "grai-mcp"
      ]
    }
  }
}
```

2. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add grai-cadence-gate -- uvx grai-mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.grai-cadence-gate]
command = "uvx"
args = ["grai-mcp"]
```

Needs uv (Python) on your computer.

### Gemini CLI

```bash
gemini mcp add grai-cadence-gate uvx grai-mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "grai-cadence-gate": {
      "command": "uvx",
      "args": [
        "grai-mcp"
      ]
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs uv (Python) on your computer.

## Recent changes

- 2026-11-14 20:23 UTC: Tracking started: version 0.1.3. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/grai-cadence-gate#history (Atom feed: https://mcp.tc/i/grai-cadence-gate/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 0.1.3
- Last checked: 2026-11-14
- Listed: 2026-11-14
- Updated: 2026-11-14

---
Source: https://mcp.tc/i/grai-cadence-gate (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
