Skip to content

Ask Gemini MCPAI-to-AI collaboration via the Gemini CLI

Get a second opinion from Gemini in any MCP-compatible AI assistant

Installation

Run in your terminal:

bash
# Project scope (current project only)
claude mcp add gemini-cli -- npx -y ask-gemini-mcp

# User scope (all projects)
claude mcp add --scope user gemini-cli -- npx -y ask-gemini-mcp

Quick Setup

Get started in minutes. Pick your client and add the MCP server. Requires Node.js v20+ and Gemini CLI authenticated via gemini login.

Verify

Ask your AI assistant: Use Gemini ping to test the connection. Got Pong! back? You're ready. See How to Ask Gemini for usage examples.

Seamless Integration

Works as a standard MCP tool, meaning no strange prompt hacks. Your primary LLM transparently delegates secondary research, code reviews, or brainstorming tasks to Gemini APIs.

Multi-Turn Sessions

Continue conversations with Gemini across multiple calls. Review code, then follow up for fixes — Gemini remembers the full context. See Multi-Turn Sessions for details.

Explore the Docs

Released under the MIT License.