grok-mcp
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.
- 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 fornpx. - 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 - Or add it to Cursor or Claude Desktop in
.cursor/mcp.jsonorclaude_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>" } } } } - 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
All 3,055 Developer Tools MCP servers →
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.