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:main
docker run -e XAI_API_KEY=your_key nexuswedge/xbridge-mcp:mainpip
The package is not published on PyPI. Install from the git tag:
pip install "git+https://github.com/hrco/xbridge-mcp.git@v3.0.0"
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
Hosted X (Twitter) MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityBmaintenanceUse XAI's latest api functionalities with Grok MCP. It supports image understanding and generation, live search, latest models and more.2254MIT
- 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.223 npmMIT
- 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
- AlicenseAqualityDmaintenanceMCP server for integrating xAI's Grok model into OpenAI Codex Desktop/GUI, enabling direct Grok calls via chat completions or responses with OAuth or API key authentication.9MIT