# io.github.howardpen9/grok-mcp (npm · grok-cli-mcp)

Use xAI Grok as a peer reviewer + PR gate from Claude Code, Cursor, Cline and any MCP host.

- Trust score: 67/100 (medium)
- Change this week: +43
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `grok-cli-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/howardpen9-grok-mcp/grok-cli-mcp.md), [page](https://verifymcp.io/servers/howardpen9-grok-mcp/grok-cli-mcp)

## Channel facts

- Registry: `npm`
- Package: `grok-cli-mcp`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (97 of 101), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (97 of 101), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 53 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 69/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 508 tokens (~127/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 94/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 82% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add howardpen9-grok-mcp -- npx -y grok-cli-mcp
```

### Codex

```bash
codex mcp add howardpen9-grok-mcp -- npx -y grok-cli-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "howardpen9-grok-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "grok-cli-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add howardpen9-grok-mcp --command npx --arg -y --arg grok-cli-mcp
```

### Hermes

```yaml
mcp_servers:
  howardpen9-grok-mcp:
    command: "npx"
    args: ["-y", "grok-cli-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "howardpen9-grok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "grok-cli-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 67, +42)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] Capabilities: pass → unverified
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] License: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 25, +5)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass

### 2026-07-31 (score 20, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 27, +3)

- [security regression] Malware scan: pass → unverified
- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: unverified
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: fail
- [functional] First check of Tool coverage: 82

### 2026-07-27 (score 24)

First indexed and scored.

## MCP tools (4)

### `grok_chat` (~96 tokens)

Send a one-shot prompt to xAI Grok and return its reply. Stateless — for multi-turn use grok_consult.

Input parameters:

- `model` (string): Override default Grok model (e.g. 'grok-4').
- `prompt` (string, required): The prompt to send to Grok.
- `timeout` (number): Per-call timeout in seconds. Defaults to 300. Raise for long grok-4 reasoning.

### `grok_review` (~218 tokens)

Have Grok review a git diff. If no diff is provided, runs `git diff <base_ref>...HEAD` (default base: main). Returns a per-dimension review. Use format='json' for CI gating (verdict + scores + blockers).

Input parameters:

- `base_ref` (string): Git ref to diff against when diff is not provided. Defaults to 'main'.
- `cwd` (string): Working directory for git diff. Defaults to process cwd.
- `diff` (string): Unified diff to review. If omitted, runs `git diff <base_ref>`.
- `focus` (string): Optional focus area (e.g. 'security', 'performance', 'API design').
- `format` (string): Output format. 'markdown' (default) returns a human-readable review. 'json' returns a machine-parseable verdict suitable for CI gating.
- `model` (string)
- `timeout` (number): Per-call timeout in seconds. Defaults to 300. Raise for long grok-4 reasoning.

### `grok_consult` (~86 tokens)

Continue a conversation with Grok by replaying the full message history each call. Stateless on the server side — the caller owns the thread.

Input parameters:

- `messages` (array, required): Conversation history. Caller maintains state across turns.
- `model` (string)
- `timeout` (number): Per-call timeout in seconds. Defaults to 300. Raise for long grok-4 reasoning.

### `grok_challenge` (~108 tokens)

Ask Grok to adversarially break a piece of code: edge cases, race conditions, security holes, adversarial inputs. Returns severity-ranked issues with reproductions.

Input parameters:

- `code` (string, required): The code or design to attack.
- `context` (string): Optional context: language, framework, intended behaviour, constraints.
- `model` (string)
- `timeout` (number): Per-call timeout in seconds. Defaults to 300. Raise for long grok-4 reasoning.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/howardpen9-grok-mcp/grok-cli-mcp#diagnostics

## Score history

- 2026-08-03: 67
- 2026-08-02: 67
- 2026-08-01: 25
- 2026-07-31: 20
- 2026-07-30: 27
- 2026-07-28: 24
- 2026-07-27: 24

## Links

- npm package: https://www.npmjs.com/package/grok-cli-mcp
- Socket report: https://socket.dev/npm/package/grok-cli-mcp
- Repository: https://github.com/howardpen9/grok-mcp
- Changelog RSS feed: https://verifymcp.io/servers/howardpen9-grok-mcp/grok-cli-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/howardpen9-grok-mcp/grok-cli-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/howardpen9-grok-mcp/grok-cli-mcp
