
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
Own this MCP server? Claim it
What it does
- Reviews diffs with
grok_reviewfor per-dimension scores, and runsgrok_challengefor 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 withgrok_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 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.
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
- Categories
- Developer Tools, AI Agents & LLM Apps
- Package
grok-cli-mcp- Transport
- STDIO
- Registry
- MCP registry, active
Similar to Grok Mcp
More Developer Tools
code-reviewSkillcoderabbitai/skills17K installsAI-powered code review via CodeRabbit CLI that scopes, runs, and interprets reviews of local changes.
code-criticPluginin-the-loop-labs/pair-review75 starsAI-powered code review analysis — Run three-level AI analysis directly in your coding agent. Works standalone, no server required.
Codex Mcp ToolMCP serverx51xxx24 starsBridges AI assistants to Codex CLI for file analysis, code review, and sandboxed edits.
SelvageMCP serverselvage-lab36 starsAutomated code review context with AST-based smart extraction, no separate API key required.
RigourMCP serverrigour-labs29 starsA reviewer and quality gate for coding agents, drawing on the team's rules, past reviews, and lessons.