Gemini Bridge

Gemini Bridge

elyin

Connects Claude to Google's Gemini AI through the official Gemini CLI, allowing you to query Gemini models and share file context between the two language models.

85333 views11Local (stdio)

What it does

  • Send queries to Gemini models
  • Share file context with Gemini
  • Execute Gemini CLI commands
  • Analyze files using Gemini

Best for

AI developers comparing model responsesCode analysis using multiple AI perspectivesResearch requiring different AI model approaches
Zero API costs via Gemini CLI60-second timeout protectionNo complex state management

Tools (2)

consult_gemini

Send a query directly to the Gemini CLI. Args: query: Prompt text forwarded verbatim to the CLI. directory: Working directory used for command execution. model: Optional model alias (``flash``, ``pro``) or full Gemini model id. timeout_seconds: Optional per-call timeout override in seconds. Returns: Gemini's response text or an explanatory error string.

consult_gemini_with_files

Send a query to the Gemini CLI with file context. Args: query: Prompt text forwarded to the CLI. directory: Working directory used for resolving relative file paths. files: Relative or absolute file paths to include alongside the prompt. model: Optional model alias (``flash``, ``pro``) or full Gemini model id. timeout_seconds: Optional per-call timeout override in seconds. mode: ``"inline"`` streams truncated snippets; ``"at_command"`` emits ``@path`` directives so Gemini CLI resolves files itself. Returns: Gemini's response or an explanatory error string with any warnings.

Alternatives