Grok.
Inside Claude Code.
The cleanest way to use Grok in your workflow. Web search, X search, image generation, video generation, and more — right from your terminal. BYOK. Free tier.
$ claude ⚡ xBridge MCP connected (grok-4.20) 19 tools registered — ready. ▸ grok-x-search "what are devs saying about MCP servers?" ▸ grok-chain-research "latest Next.js 16 changes" ▸ grok-image-generate "dark mode terminal dashboard" ▸ grok-video-generate "15s product demo" All from your terminal. No tab switching.
Everything Grok can do. In Claude Code.
19+ tools covering chat, search, images, video, sessions, chains, and docs — all available as native Claude Code tools.
Web & X Search
Live web results and real-time X/Twitter data. Filter by domains, handles, date ranges. Image and video understanding.
Image & Video Gen
Generate images from text, edit existing ones, or create MP4 videos. Multiple models, aspect ratios, batch generation.
Sessions & Chains
Persistent conversation memory across restarts. Multi-step research chains — search, summarize, debug in one call.
Zero Telemetry
Your xAI API key stays on your machine. No proxy, no logging, no analytics. BYOK. Source is MIT — inspect it yourself.
2-Minute Setup
pip install or Docker. Claude Code can configure itself — just paste the MCP config. Works instantly on Linux, macOS, Windows.
grok-4.20 Models
2M token context window. Reasoning, multi-agent orchestration, function calling, structured output. The latest from xAI.
How It Works
MCP (Model Context Protocol) is a standard that lets AI assistants use external tools. xBridge plugs Grok's API into Claude Code — like USB for AI.
You ask Claude. Claude decides it needs web data. It calls Grok through xBridge. Answer comes back. You never leave your terminal.
Powered by grok-4.20
grok-4.20-0309-reasoning
2M context. Advanced reasoning, function calling, structured output. Best for complex analysis.
grok-4.20-0309-non-reasoning
2M context. Function calling, structured output. Fast responses for straightforward tasks.
grok-4.20-multi-agent-0309
2M context. Multi-agent orchestration with reasoning. Coordinate multiple AI agents in one call.
Also supports grok-4, grok-4-1-fast, grok-3, grok-2 for speed/cost flexibility. Get your xAI API key →
Built to be fair. Priced to be a no-brainer.
You bring your own xAI key. We provide the bridge — clean plumbing, no markup on AI usage. Self-host for free, or pay a small fee for unlimited calls and convenience.
Free
- 50 calls/day
- All 19+ tools
- Docker or pip install
- No credit card
- Community support
Already have a key? Resend it
Pro
First 50 founders — lifetime price lock. Then €4/mo.
- Unlimited calls
- All 19+ tools
- Docker + pip install
- Priority support
- Early access to new tools
Only 50 seats at this price. Loading...
Regular Pro — €4/mo
Lifetime price lock for founders. Cancel anytime.
$XBRDG Loyalty Program
Hold the community token for perks. Pure memecoin. No promises. Just fun.
| Balance | Perk |
|---|---|
| 1,000+ $XBRDG | 20% off Pro (stacks with FOUNDER50: €1.60/mo) |
| 5,000+ $XBRDG | 100 calls/day on free tier |
| 10,000+ $XBRDG | Early access to new tools |
FAQ
Is this made by xAI?
No. xBridge MCP is an independent open-source project. Not affiliated with or endorsed by xAI.
Is it safe? Where does my API key go?
Your xAI API key stays on your machine — xBridge never proxies or logs it. The source is MIT licensed — inspect it yourself.
Can Claude set it up for me?
Yes. Claude Code understands MCP configuration. Give it the JSON config from the guide and it will add the server to your config file automatically.
What if I don't have an xAI API key?
Get one free at x.ai/api. xAI gives new users free credits to start.
Do I need $XBRDG to use xBridge?
No. $XBRDG is an optional community token that gives loyalty perks. xBridge works perfectly without it.
Grok. In your terminal.
2 minutes to set up. 19+ tools. Free tier. No credit card.
Get Started Free