Gemdex logo

Gemdex

Persistent MCP memory for coding agents, with semantic recall, versioned updates, outcome tracking, and attachment support.

Install Gemdex

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "YOUR_VALUE_HERE",
        "GEMDEX_TRUST_RANKING": "YOUR_VALUE_HERE",
        "GEMDEX_SIMILAR_ON_SAVE": "YOUR_VALUE_HERE",
        "GEMDEX_SIMILAR_THRESHOLD": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 7 tools correctly ().

Overview

Gemdex MCP server gives AI coding agents persistent memory across repositories and sessions. It stores memories locally with LanceDB and on-device embeddings, or in a self-hosted stack using Postgres/pgvector, blobs, and server-managed Gemini embeddings. Agents can save, search, inspect, revise, evaluate, and read attached memory content through MCP tools. Use it when coding workflows need reusable decisions, troubleshooting notes, transcripts, or other durable context.

Use cases

  • Save reusable setup decisions across coding sessions
  • Recall debugging findings before starting work
  • Track whether remembered instructions worked
  • Store cleaned chat transcripts with attachments

Key features

  • Persistent memory across repositories and sessions
  • Hybrid semantic and BM25-style recall
  • Memory updates with replacement or literal edits
  • Outcome tracking for remembered guidance
  • Text attachment storage and retrieval
  • Local stdio and self-hosted Streamable HTTP modes

Tools7

What Gemdex lets your agent do. Expand a tool for its parameters.

Verified live~3.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 63d

What it can do

From the 7 tools this server returned when we ran it.

Can delete or modify data · 2Handles credentials · 2Read-only tools · 5
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age153 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · gemdex-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
npm downloads415Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed7Callable tools this server registers over MCP.

How Gemdex works

What Gemdex MCP server does

Gemdex MCP server provides a persistent memory layer for AI coding agents. An agent can save a finding once and retrieve it in a later session or from another repository using the same memory pool. Search returns matching titles and IDs rather than exposing every memory body, allowing the agent to inspect only relevant results.

The system can preserve full memory content, attachments, timestamps, and outcome history. Agents can record whether a retrieved memory worked, failed, or became stale. This makes the store useful for recurring implementation decisions, setup instructions, debugging discoveries, and workflow documentation.

Two deployment modes are available. The local mode runs through stdio on Apple Silicon Macs with macOS 14 or later. The self-hosted mode exposes Streamable HTTP MCP at /mcp and uses Postgres/pgvector with file or S3-compatible blobs. These modes use separate memory pools.

How it works

Local installation downloads managed Python/MLX components and the EmbeddingGemma 2 model. Embeddings run on the device after setup, without an API key. LanceDB stores the local index and blobs under ~/.gemdex. Local search combines semantic matching with BM25-style text matching, then resolves matching chunks to their parent memories.

The self-hosted deployment keeps embeddings and storage on the server. It supports Gemini multimodal embedding and media recall through its /v1 interface, while MCP clients connect to /mcp. The supplied installer starts the database, server, HTTP MCP endpoint, and web manager, then checks save and recall operations.

Recall is intentionally lightweight: it returns up to 10 titles and IDs, never complete bodies. get_memory retrieves the selected memory and increments recall statistics. A trust-ranking option can use recorded outcomes when ranking titles; relevance-only ranking is the default. Local saves can also issue a similarity warning when an existing memory appears close to the new one, but the warning does not prevent saving.

Setup and configuration

For local use, run npx gemdex-mcp install, then register the stdio command with an MCP client. The installation downloads roughly 1.3 GB of model and runtime assets. It requires native arm64 Node.js 24 or newer on macOS; Rosetta Node is unsupported.

For self-hosting, the repository provides a shell installer that starts the complete stack. The deployment can read GEMINI_API_KEY or prompt for a Google AI Studio key. The default exposure is loopback-only. LAN or public deployments require the documented authentication, HTTPS, and OAuth setup; Postgres and /v1 should not be exposed publicly.

Gemdex MCP server also includes commands for ingesting chat history from Claude Code, Factory CLI, Codex, Antigravity, or a selected folder. Local digestion and hygiene use Claude Code inference, so Claude Code must be installed and authenticated for those workflows.

Tools and capabilities

  • save_memory stores text and supported attachments, returning an ID and title.
  • recall searches memory and returns titles with IDs.
  • get_memory returns the full parent memory, age, attachments, and track record.
  • update_memory replaces content or applies literal edits, with optional title and attachment changes.
  • report_outcome records a worked, failed, or stale result with an optional note.
  • read_attachment returns attachment bytes as UTF-8 or base64.
  • delete_memory permanently removes a memory and related client statistics; it is available only over stdio.

Local attachments are limited to text-oriented files, with up to four files of 20 MiB each. Supported formats include TXT, JSON, JSONL, and NDJSON. Local media embedding and media queries for images, audio, video, and PDFs are not supported. HTTP attachment inputs must use inline base64 rather than client filesystem paths.

The desktop app is maintenance-only for the local pool and is not a client for self-hosted deployments. Self-hosted installations use the web manager for human administration.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Gemdex

Gemdex is an MCP server that connects AI coding agents to persistent memory stored locally with LanceDB or self-hosted with Postgres/pgvector. Its main tools save, recall, inspect, update, evaluate, read attachments, and delete memories, helping agents reuse context across repositories and sessions.

Run `npx gemdex-mcp install` for the local Apple Silicon macOS deployment, then register `npx -y gemdex-mcp@latest` with the MCP client. The installer downloads the managed MLX runtime and EmbeddingGemma 2 model; no local Python or API key is required.

Yes, Gemdex works with Claude Code through its stdio MCP configuration. The README also uses Claude Code for local chat-history digestion and hygiene, which requires Claude Code to be installed and authenticated separately.

Yes, Gemdex can store and read text attachments. Local mode supports TXT, JSON, JSONL, and NDJSON files, with up to four files per memory and a 20 MiB limit per file; HTTP MCP inputs must be inline base64.

Yes, the self-hosted deployment exposes Streamable HTTP at `/mcp` and uses Postgres/pgvector with file or S3-compatible blobs. It uses server-managed Gemini embeddings and supports multimodal embedding and media recall through `/v1`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGemdex AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gemdex?style=directory)](https://allmcps.com/mcp/gemdex)
HTML Embed
<a href="https://allmcps.com/mcp/gemdex"><img src="https://allmcps.com/api/badge/gemdex?style=directory" alt="Gemdex on AllMCPs" /></a>