MCP server that wraps the Grok CLI for seamless integration with Claude and other MCP clients
Until 2026-09-25 this record combined several servers published from one repository. The others now have records of their own: iflow-mcp_basissetventures_grok-cli-mcp. Checks from before that date include them.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"basis-set-ventures-grok-cli-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# grok-cli-mcp [](https://badge.fury.io/py/grok-cli-mcp) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) > MCP server that wraps the Grok CLI, providing seamless access to Grok AI models through the Model Context Protocol. ## What is this? `grok-cli-mcp` is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server that acts as a bridge between MCP clients (like Claude Code, Cline, Cursor) and the [Grok CLI](https://docs.x.ai/docs). Instead of implementing direct API calls, it leverages the official Grok CLI tool, providing: - **Three specialized tools**: `grok_query` (general queries), `grok_chat` (multi-turn conversations), `grok_code` (code generation) - **Simple configuration**: Just install the Grok CLI and set your API key - **Future-proof**: Automatically benefits from CLI improvements (OAuth, pricing plans, etc.) - **Minimal maintenance**: No need to track Grok API changes ## Why a CLI Wrapper? ### Benefits ✅ **Leverage existing tooling**: Uses the official Grok CLI, ensuring compatibility and stability ✅ **Future OAuth support**: When Grok CLI adds OAuth authentication, this wrapper will support it automatically without code changes ✅ **Fixed pricing plans**: Can benefit from fixed monthly pricing (like Codex/ChatGPT/Gemini) when Grok introduces CLI-specific plans, rather than paying per API token ✅ **Organization-friendly**: Many organizations prefer audited CLI tools over direct API integrations for security and compliance ✅ **Simpler codebase**: ~400 lines vs 1500+ for a full API client implementation ✅ **Fewer dependencies**: No HTTP client libraries, request/response handling, or complex networking code ✅ **Automatic updates**: CLI bug fixes and new features propagate without code changes ### Tradeoffs …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.