Gemini Embedding 2 MCP Server

<strong>A multimodal local memory MCP for AI agents powered by Gemini Embedding 2.</strong>

Remote serverstreamable-httpPython

What is the Gemini Embedding 2 MCP server?

A multimodal local memory MCP for AI agents powered by Gemini Embedding 2.. That is what the gemini embedding 2 mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

  • One embedding space across modalities — Search code, PDFs, images, audio, and video from the same memory layer
  • Local-first persistence — Your index stays in ~/.gemini_mcp_db, not in a hosted vector database
  • Agent-friendly retrieval — Search results include exact paths, types, modalities, and page-aware context
  • Zero-config by default — The server uses built-in guardrails and sensible indexing defaults so most users do not need a config file

Getting it running

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

What it needs from you

Configuration is passed through the environment: GEMINI_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by alaeddinemessadi; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

How to install the Gemini Embedding 2 MCP server

{
  "mcpServers": {
    "gemini-embedding-2": {
      "command": "uvx",
      "args": ["gemini-embedding-2-mcp-server"],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
GEMINI_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Gemini Embedding 2 to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Gemini Embedding 2 directly.