Skip to content
MCP server

Gemdex

Persistent memory layer for AI coding agents: save, recall, update via Gemini plus LanceDB

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.47
Listing updated
5 days ago

About Gemdex

Gemdex is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add gemdex --env GEMINI_API_KEY='<GEMINI_API_KEY>' --env GEMDEX_REMOTE_TOKEN='<GEMDEX_REMOTE_TOKEN>' -- npx -y gemdex-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GEMDEX_REMOTE_TOKEN": "<GEMDEX_REMOTE_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GEMDEX_REMOTE_TOKEN": "<GEMDEX_REMOTE_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "gemdex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GEMDEX_REMOTE_TOKEN": "<GEMDEX_REMOTE_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GEMDEX_REMOTE_TOKEN": "<GEMDEX_REMOTE_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "GEMDEX_REMOTE_TOKEN": "<GEMDEX_REMOTE_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GEMINI_API_KEYGoogle AI Studio key for local mode, or the exact value 'local' for on-device MLX text embeddings. Not needed in remote mode.Required
  • GEMDEX_MODEMemory backend: embedded local LanceDB or a self-hosted Gemdex Server
  • LANCEDB_PATHDirectory for the embedded LanceDB store
  • EMBEDDING_MODELGemini text embedding model
  • GEMDEX_REMOTE_URLGemdex Server root URL (required in remote mode)
  • GEMDEX_REMOTE_TOKENGemdex Server bearer token (required in remote mode)
  • GEMDEX_REMOTE_NAMEHuman-readable name for the remote server
  • GEMDEX_TRUST_RANKINGRe-rank recall results by recorded worked/failed/stale outcomes

Pricing

Open source

Gemdex FAQ

Is Gemdex free?

Yes. Gemdex is open source, so you can use and self-host it for free.

How do I add Gemdex to Claude Code?

Run this command in your terminal: claude mcp add gemdex --env GEMINI_API_KEY='<GEMINI_API_KEY>' --env GEMDEX_REMOTE_TOKEN='<GEMDEX_REMOTE_TOKEN>' -- npx -y gemdex-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers