xbridge-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@xbridge-mcpsearch the web for latest tech news"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
xBridge MCP
Grok inside Claude Code. Free. Open source. BYOK.
xBridge MCP is a lightweight, self-hosted MCP server that exposes the full power of xAI Grok (including grok-4.20 models) directly inside Claude Code and other MCP clients.
Why xBridge?
Full access to Grok-4.20 family (1M context, reasoning, multi-agent); default model
grok-4.319 tools: chat, web/X search, sessions, chains, image gen/edit, video gen, docs, model listing
Free and open source — self-host with your xAI API key (BYOK), no xBridge call limits
You control your own API key (BYOK)
No telemetry, no middleman
Self-host is free forever. A managed Pro tier (prebuilt Docker image + support) is also available — see xbridgemcp.com for pricing.
Related MCP server: grok-mcp
Installation
Docker (Recommended)
docker pull nexuswedge/xbridge-mcp:latest
docker run -e XAI_API_KEY=your_key nexuswedge/xbridge-mcp:latestpip
pip install xbridge-mcp
XAI_API_KEY=your_key xbridge-mcpConfiguration (Claude Code)
Add to your Claude Code config:
{
"mcpServers": {
"xbridge": {
"command": "xbridge-mcp",
"env": {
"XAI_API_KEY": "your_xai_key_here"
}
}
}
}Available Tools (19)
Group | Tools |
Chat |
|
Search |
|
Sessions |
|
Chains |
|
Images |
|
Video |
|
Docs |
|
Models |
|
Links
Product site: https://xbridgemcp.com
Docker Hub: https://hub.docker.com/r/nexuswedge/xbridge-mcp
Release: https://github.com/hrco/xbridge-mcp/releases/tag/v3.0.0
Not affiliated with or endorsed by xAI.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Grok Imagine AI video generation
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for Firecrawl — web search, scraping, and biomedical/arXiv paper search.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityAmaintenanceUse XAI's latest api functionalities with Grok MCP. It supports image understanding and generation, live search, latest models and more.2253MIT
- AlicenseAqualityDmaintenanceMCP server that wraps the xAI Grok API, allowing Claude and other AI agents to delegate thinking, planning, and real-time search tasks to Grok. It provides a single tool with options for different use cases including web search, Twitter/X search, and multi-agent reasoning.217 npmMIT
- AlicenseAqualityCmaintenanceMCP server for generating and editing images using xAI's Grok image model, supporting text prompts, batch generation, local files, and optional proxy configurations.239 npm29MIT
- AlicenseAqualityCmaintenanceMCP server for live X/Twitter and web search, driven by your locally logged-in Grok CLI and leveraging your X Premium or SuperGrok subscription quota.31MIT