Grok MCP
by merterbak
Connects xAI’s Grok API to MCP clients for chat, search, code execution, files, vision, and media generation.
Install Grok MCP
Run the project’s own setup commands, in order.
Setup steps from the project
merterbak/Grok-MCP installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
git clone https://github.com/merterbak/Grok-MCP.gitcd Grok-MCPuv venvuv syncclaude mcp add grok-mcp -e XAI_API_KEY=your_api_key_here -- uv run --directory /path/to/Grok-MCP python main.pyclaude mcp add grok-mcp -- uv run --directory /path/to/Grok-MCP python main.py
Overview
Use cases
- Research current topics across the web with citations
- Search X posts using handles and date filters
- Analyze images and uploaded documents with Grok
- Generate or edit images and videos with Grok Imagine
- Run Python-based problem solving in a sandbox
Key features
- Grok chat with optional history and multi-agent support
- Vision and document-grounded conversations
- Web search and X search with filters
- Sandboxed Python code execution
- Image and video generation with Grok Imagine
- File, response, model, and local history management
Tools22
What Grok MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Grok MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Grok MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/merterbak-grok-mcp)<a href="https://allmcps.com/mcp/merterbak-grok-mcp"><img src="https://allmcps.com/api/badge/merterbak-grok-mcp?style=directory" alt="Grok MCP on AllMCPs" /></a>