MCP Catalogs
Home

gemini-webapi-mcp

by AndyShaman·27·Score 44

MCP server for Google Gemini that provides image generation, editing, chat, and file analysis via browser cookies.

ai-llmmediabrowser-automation
13
Forks
1
Open issues
2 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server enables interaction with Google Gemini services without requiring API keys, instead using Chrome browser cookies for authentication. It supports advanced features like automatic 2x upscaling of generated images, lossless watermark removal using reverse alpha blending, and file analysis capabilities. The server exposes multiple tools including image generation, file upload, URL analysis, and multi-turn chat functionality.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Generate and edit images through natural language prompts
you:Analyze documents, videos and web pages
you:Have conversations with Gemini Flash and Pro models
you:Create high-resolution artwork without watermarks
you:Does this require API keys?
you:How do I authenticate with multiple Google accounts?

When to choose this

Choose this when you want to access Google Gemini's capabilities without dealing with API keys or authentication hassles, especially for image generation with automatic upscaling and watermark removal.

When NOT to choose this

Don't choose this if you need a stable API for production applications, as it relies on reverse-engineering Google's web interface which could break without notice.

Tools this server exposes

6 tools extracted from the README
  • gemini_generate_image

    Generate new images or edit existing ones with Gemini

  • gemini_upload_file

    Analyze files like videos, images, PDFs, and documents

  • gemini_analyze_url

    Analyze content from URLs like YouTube videos or web pages

  • gemini_chat

    Have a text conversation with Gemini, single or multi-turn

  • gemini_start_chat

    Start a new multi-turn chat session with Gemini

  • gemini_reset

    Reinitialize the client when authentication errors occur

Comparable tools

gemini-api-mcpgoogle-generativeai-mcp

Installation

Installation

**From GitHub (no clone needed):**

uv run --with "gemini-webapi-mcp @ git+https://github.com/AndyShaman/gemini-webapi-mcp.git" gemini-webapi-mcp

**Local install:**

git clone https://github.com/AndyShaman/gemini-webapi-mcp.git
cd gemini-webapi-mcp
uv sync
uv run gemini-webapi-mcp

**Claude Desktop Configuration:**

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "gemini": {
      "command": "uv",
      "args": ["run", "--with", "gemini-webapi-mcp @ git+https://github.com/AndyShaman/gemini-webapi-mcp.git", "gemini-webapi-mcp"]
    }
  }
}

FAQ

Does this require API keys?
No, this MCP server uses browser cookies for authentication instead of API keys.
How do I authenticate with multiple Google accounts?
Set the GEMINI_ACCOUNT_INDEX environment variable to specify which account to use (0 for first, 1 for second, etc.)

Compare gemini-webapi-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.