Videos
Big update -> just created a solution for using Grok3, ChatGPT and Gemini with Claude code check it out here -> https://www.reddit.com/r/ClaudeAI/comments/1l8h9s9/claude_code_with_multi_ai_gemini_grok3_chatgpt_i/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
Update: Since most of you found the gist quite complicated and I can understand here is the link to my repo with everything automated.. https://github.com/RaiAnsar/claude_code-gemini-mcp
Also you can test by using /mcp command and see it available if it was setup successfully... And you can simply ask Claude code to correlate with Gemini MCP and it will do that automatically ( you will be able to see full response by using CTRL + R) ... One more thing I had this small problem where the portal I have built would lose connection but when Claude Shared the issue with it, it was able to point claude in the right direction and even after that Gemini Helped claude all the way... For almost 2 hours of constant session Gemini cost me 0.7 USD since Claude is providing it very optimized commands unlike humans.
Just had my mind blown by the potential of AI collaboration. Been wrestling with this persistent Supabase connection issue for weeks where my React dashboard would show zeros after idle periods. Tried everything - session refresh wrappers, React Query configs, you name it.
A sneakpeak at Claude and Gemini fixing the problem...Today I got the Gemini MCP integration working with Claude Code and holy shit, the debugging session was like having two senior devs pair programming. Here's what happened:
- Claude identified that only one page was working (AdminClients) because it had explicit React Query options
- Gemini suggested we add targeted logging to track the exact issue
- Together they traced it down to getUserFromSession making raw Supabase calls without session refresh wrappers
- Then found that getAllCampaigns had inconsistent session handling between user roles
The back-and-forth was insane. Claude would implement a fix, Gemini would suggest improvements, they'd analyze logs together. It felt like watching two experts collaborate in real-time.
What took me weeks to debug got solved in about an hour with their combined analysis. The login redirect issue, the idle timeout problem, even campaign data transformation bugs - all fixed systematically.
Made a gist with the MCP setup if anyone wants to try this:
https://gist.github.com/RaiAnsar/b542cf25cbd4a1c36e9408849c5a5bcd
Seriously, this is the future of debugging. Having multiple AI models with different strengths working together is a game changer.
Note this post was also written by Claude code for me ;-)
Update: 10th June - released a major new feature. The MCP server now supports full AI-to-AI conversations. Think Claude Code for Claude code. True conversational MCP with message continuation support.
Claude and Gemini can question each other, validate approaches, and refine solutions in real-time across multiple exchanges. Think of it as a true collaborative dev pair, where each model plays to its strengths. Demo video below.
It can now maintain a 'conversation thread' with claude, doesn't have to be one after another. It can be a claude sharing something, gemini responding, claude performing a task and then checking back with gemini with more feedback with additional context only. All the while bypassing the 25K limit since it's only sharing incremental updates.
---
Original post: Just released an MCP server that lets Claude Code and Gemini 2.5 Pro work and collaborate together. The results are far better than using either model alone - Claude Code initiates the thought process and comes up with a plan, while Gemini adds 1M-token context and deep reasoning on top of Claude’s. The server includes tools for extended thinking, file reading, full-repo code reviews, debugging, and more.
In the screenshot attached (an earlier version of this MCP), you can see Claude Code going all "wow" on Gemini. The end result was a 26% improvement in JSON parsing speed in the chosen library - Gemini added its perspective and deep reasoning / analysis on top of Claude’s, leading to a more optimized implementation in the end.
https://github.com/BeehiveInnovations/zen-mcp-server
Claude + Gemini working togetherPrompt used:
Study the code properly, think deeply about what this does and then see if there's any room for improvement in terms of performance optimizations, brainstorm with gemini on this to get feedback and then confirm any change by first adding a unit test with
measureand measuring current code and then implementing the optimization and measuring again to ensure it improved, then share results. Check with gemini in between as you make tweaks.