
Grok Mcp
Wraps xAI's official Grok CLI to give Claude and other MCP hosts four tools for adversarial code review: grok_review scores diffs across correctness, security, and architecture dimensions; grok_challenge hunts for bugs, races, and edge cases; grok_consult handles multi-turn technical discussions; and grok_chat answers one-off questions. Authentication works via browser OAuth or XAI_API_KEY for CI. The standout use case is letting your primary coding agent ask a different model to attack its own work before you ship. Includes a grok-review-ci binary and GitHub Action for blocking PRs on critical findings. Timeout defaults to five minutes since Grok's reasoning models take longer than chat completions.
- GitHub stars
- 11
- tools
- 4
- transport
- STDIO
- last updated
- Jun 10, 2026
Tools
4 toolsPublic 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.
Sponsors
Readme
grok-mcp — MCP server that lets Claude use Grok as a peer reviewer and second-opinion consultant
grok-mcp
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:
Details
- Repository
- github.com/howardpen9/grok-mcp
- Package
grok-cli-mcp- Transport
- STDIO
- Registry
- MCP registry, active