howardpen9 avatar

Grok Mcp

howardpen9/grok-mcp

Use xAI Grok as a peer code reviewer and second-opinion consultant via API key or Grok CLI.

CCM score
85 of 100
GitHub stars
12
tools
4
transport
STDIO
last updated
Jun 10, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reviews diffs with grok_review for per-dimension scores, and runs grok_challenge for bugs, race conditions, edge cases, and security issues
  • Supports multi-turn threads through grok_consult, where the caller owns the history, plus one-shot questions with grok_chat
  • Runs over stdio with an XAI_API_KEY (pay-per-call, no install) or browser OAuth via the Grok CLI; remote HTTP mode needs a path secret
  • Designed for getting a second model's review of an agent's own code, including CI PR gating with JSON output

Tools

4 tools

Public tool metadata for what this MCP can expose to an agent.

grok_reviewStructured diff review with per-dimension scores.

Structured diff review with per-dimension scores.

No parameter schema in public metadata yet.

grok_challengeThorough analysis for bugs, races, edge cases and security issues.

Thorough analysis for bugs, races, edge cases and security issues.

No parameter schema in public metadata yet.

grok_consultMulti-turn consultation where the caller owns the conversation history.

Multi-turn consultation where the caller owns the conversation history.

No parameter schema in public metadata yet.

grok_chatOne-shot questions.

One-shot questions.

No parameter schema in public metadata yet.

Readme

grok-mcp — MCP server that lets Claude use Grok as a peer reviewer and second-opinion consultant

grok-mcp

npm version MCP Registry

Use Grok as a peer code reviewer and rigorous second-opinion consultant inside Claude Code, Cursor, Cline, OpenClaw, and any other MCP host — talking to xAI's API directly (just an XAI_API_KEY, no install) or via the official Grok CLI.

grok-mcp (npm: grok-cli-mcp) is a Model Context Protocol server for Grok. It gives your primary agent (Claude, Cursor, etc.) four tools so it can delegate to Grok for high-quality second opinions and rigorous validation without leaving the session. As of v0.3.0 it talks to xAI's API directly — no grok binary required — and still supports the CLI for OAuth users:


View the full README on GitHub

Details

Repository
github.com/howardpen9/grok-mcp
Categories
Developer Tools, AI Agents & LLM Apps
Package
grok-cli-mcp
Transport
STDIO
Registry
MCP registry, active

Similar to Grok Mcp

More Developer Tools