grok-mcp

InstallView on GitHub

grok-mcp is an MCP server by howardpen9. MCP server that wraps the xAI Grok CLI. Lets Claude Code, Cursor, Cline, and any MCP host use Grok as a peer code reviewer, adversary, and second-opinion consultant. It has 11 GitHub stars and ranks #1,569 of 3,055 in Developer Tools by stars.

Category
Developer Tools
MCP evidence
Listed in the official MCP Registry · Its own npm package
Author
howardpen9
GitHub stars
11
This week
+0 stars this week · +0 forks since 18 Nov 2026
Weekly downloads
119 (+2 vs last week)
Language
TypeScript
License
MIT (open source)
Last update
2026-07-28 (4 months ago)
Forks
4
Created
2026-05-26 (6 months ago)
MCP Registry
io.github.howardpen9/grok-mcp
Links
SourceWebsitenpm

How to install grok-mcp

grok-mcp is published on npm as grok-cli-mcp. The command below is the one its README gives, as read on 10 Nov 2026.

  1. Get ready. It reads these environment variables: XAI_API_KEY, GROK_MCP_TIMEOUT; put your own values in place of the placeholders. You need Node.js for npx.
  2. Add it to Claude Code from a terminal:
    claude mcp add grok-mcp -e XAI_API_KEY=<YOUR_XAI_API_KEY> -e GROK_MCP_TIMEOUT=<YOUR_GROK_MCP_TIMEOUT> -- npx -y grok-cli-mcp
  3. Or add it to Cursor or Claude Desktop in .cursor/mcp.json or claude_desktop_config.json:
    {
      "mcpServers": {
        "grok-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "grok-cli-mcp"
          ],
          "env": {
            "XAI_API_KEY": "<YOUR_XAI_API_KEY>",
            "GROK_MCP_TIMEOUT": "<YOUR_GROK_MCP_TIMEOUT>"
          }
        }
      }
    }
  4. Restart the client and check it. Run claude mcp list, or open the client's MCP settings, and confirm grok-mcp and its tools are listed. The install guide covers VS Code and Codex.

More MCP servers for Grok

grok-mcp ranks #89 by GitHub stars among the 193 listings in MCP servers for Grok. That page compares the top entries by stars, license and last update.

Report a problem with this listing · Advertise on MCP Harbor

Frequently asked questions

What is grok-mcp?

grok-mcp is an MCP server by howardpen9 in the Developer Tools category. MCP server that wraps the xAI Grok CLI. Lets Claude Code, Cursor, Cline, and any MCP host use Grok as a peer code reviewer, adversary, and second-opinion consultant. It has 11 GitHub stars and ranks #1,569 of 3,055 in Developer Tools by stars.

Is grok-mcp free and open source?

The code in the grok-mcp repository is published under the MIT license, an open-source license that lets you read, modify and reuse the code. The license covers the code only. An app, account or API that grok-mcp connects to can have its own price and terms, so check those before you rely on it in a commercial product.

What are the alternatives to grok-mcp?

Other Developer Tools projects on MCP Harbor include rea, context7, codebase-memory-mcp. Each alternative links to its own page with stars, license and recent activity. The Developer Tools category ranks all 3,055 by stars, and you can re-sort it by growth this week.

Alternatives to grok-mcp

reaTrending★ 477,881
morluto · TypeScript · MCP evidence: MCP Registry, npm package+10,551 stars this week (+2.3%)
Reverse engineer anything with agents, from app behavior down to native binaries.
context7★ 65,436
upstash · TypeScript · MCP evidence: MCP Registry+386 stars this week (+0.6%)
Context7 Platform -- Up-to-date docs for AI agents
DeusData · C · MCP evidence: MCP Registry, npm package+342 stars this week (+0.7%)
Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
GitNexus★ 48,787
abhigyanpatwari · TypeScript · MCP evidence: npm package+160 stars this week (+0.3%)
GitNexus: The Zero-Server Code Intelligence Engine
github · Go · MCP evidence: MCP Registry, README install line+181 stars this week (+0.5%)
GitHub's official MCP Server
tirth8205 · Python+107 stars this week (+0.3%)
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

All 3,055 Developer Tools MCP servers →

Data last updated . Stars and downloads are refreshed every day from GitHub and npm.

Contact MCP Harbor

We reply by email. You can also write to hello@mcpharbor.app.

Report a problem with this listing

grok-mcphowardpen9 · /tools/howardpen9-grok-mcp/

We reply by email.