原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Gemdex

作者:nikships版本 1.0.47i★ –i在你的电脑上运行
注册名称io.github.nikships/gemdex

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:GEMINI_API_KEY, GEMDEX_REMOTE_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GEMINI_API_KEY, GEMDEX_MODE, LANCEDB_PATH, EMBEDDING_MODEL, GEMDEX_REMOTE_URL, GEMDEX_REMOTE_TOKEN, GEMDEX_REMOTE_NAME, GEMDEX_TRUST_RANKING

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value",
        "GEMDEX_MODE": "your-value",
        "LANCEDB_PATH": "your-value",
        "EMBEDDING_MODEL": "your-value",
        "GEMDEX_REMOTE_URL": "your-value",
        "GEMDEX_REMOTE_TOKEN": "your-value",
        "GEMDEX_REMOTE_NAME": "your-value",
        "GEMDEX_TRUST_RANKING": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add gemdex --env GEMINI_API_KEY=your-value --env GEMDEX_MODE=your-value --env LANCEDB_PATH=your-value --env EMBEDDING_MODEL=your-value --env GEMDEX_REMOTE_URL=your-value --env GEMDEX_REMOTE_TOKEN=your-value --env GEMDEX_REMOTE_NAME=your-value --env GEMDEX_TRUST_RANKING=your-value -- npx -y gemdex-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value",
        "GEMDEX_MODE": "your-value",
        "LANCEDB_PATH": "your-value",
        "EMBEDDING_MODEL": "your-value",
        "GEMDEX_REMOTE_URL": "your-value",
        "GEMDEX_REMOTE_TOKEN": "your-value",
        "GEMDEX_REMOTE_NAME": "your-value",
        "GEMDEX_TRUST_RANKING": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "gemdex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value",
        "GEMDEX_MODE": "your-value",
        "LANCEDB_PATH": "your-value",
        "EMBEDDING_MODEL": "your-value",
        "GEMDEX_REMOTE_URL": "your-value",
        "GEMDEX_REMOTE_TOKEN": "your-value",
        "GEMDEX_REMOTE_NAME": "your-value",
        "GEMDEX_TRUST_RANKING": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GEMINI_API_KEY 机密 必填 env
    Google AI Studio key for local mode, or the exact value 'local' for on-device MLX text embeddings. Not needed in remote mode.
  • GEMDEX_MODE env
    Memory backend: embedded local LanceDB or a self-hosted Gemdex Server
  • LANCEDB_PATH env
    Directory for the embedded LanceDB store
  • EMBEDDING_MODEL env
    Gemini text embedding model
  • GEMDEX_REMOTE_URL env
    Gemdex Server root URL (required in remote mode)
  • GEMDEX_REMOTE_TOKEN 机密 env
    Gemdex Server bearer token (required in remote mode)
  • GEMDEX_REMOTE_NAME env
    Human-readable name for the remote server
  • GEMDEX_TRUST_RANKING env
    Re-rank recall results by recorded worked/failed/stale outcomes

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 nikships 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4904 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4904 个服务器的 50% 更新
  • 基础检查结果等于或优于此分类中其他 4904 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Gemdex 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:GEMINI_API_KEY, GEMDEX_REMOTE_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.47)于上个月进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Persistent memory for AI coding agents

Save a useful memory once and recall it across repos and sessions. Gemdex indexes small chunks for precise hybrid semantic + BM25 matching, then resolves matches to whole parent memories. MCP agents scan a cheap title index and open only the memories they need.

Two ways to run it

LocalSelf-hosted
Agent connectionnpx gemdex-mcp, stdioStreamable HTTP /mcp
EmbeddingsOn-device EmbeddingGemma 2 via MLXServer-owned Gemini, including multimodal
StorageLanceDB and blobs under ~/.gemdexPostgres/pgvector and file/S3 blobs
PlatformApple Silicon, macOS 14+, native arm64 Node ≥24Docker host
Human managementNative macOS app via localhost sidecarWeb manager
PoolOne per machineShared across machines
MCP toolsSeven, including deleteSix, without delete

These are separate pools. The npx package and desktop sidecar are local-only; connect directly to HTTP MCP for a self-hosted pool.

Local quickstart

npx gemdex-mcp install

claude mcp add gemdex -- npx -y gemdex-mcp@latest

The explicit install downloads managed Python/MLX and pinned mlx-community/embeddinggemma-2-8bit weights, about 1.45 GB to download and 1.9 GB on disk. No Python, uv, Homebrew, HF CLI, or compiler setup is needed. Embeddings run offline after installation. There is no API key, sentinel value, or provider switch. Rosetta Node is unsupported. See MLX model and runtime requirements.

All seven tools remain discoverable before installation and return setup guidance. Retry a tool after installation, or reconnect your MCP client.

For another MCP client:

{

"mcpServers": { "gemdex": { "command": "npx", "args": ["-y", "gemdex-mcp@latest"] } } }

Save and recall

Ask your agent to save something durable:

Save how we set up the review workflow to memory.

Then, in another session or repo using that pool:

Check memory for our review workflow and use it here.

Tell your agent when to use memory in its instructions:

## Memory

Use Gemdex recall to find relevant memories before starting work. Save reusable findings and update existing memories when correcting them. Report worked/failed/stale outcomes after acting on a fetched memory. Use read_attachment for transcript bytes. Delete only when a memory should be permanently removed and the connected surface provides delete_memory.

MCP tools

ToolBehavior
save_memorySave content and/or attachments (images, audio, video, text files); return id and title
recallText query and/or example media files, top 10 titles + ids, never full bodies
get_memoryFull parent body, age, attachments and track record
update_memoryFull content replacement or literal edits, optional title/attachments
report_outcomeRecord worked, failed, or stale, with optional note
read_attachmentAttachment as UTF-8 text, a viewable image, or base64
delete_memoryStdio only, permanent delete and client-stat cleanup

get_memory, not title-index recall, increments recall counts. Stats live in a separate ledger (~/.gemdex/stats.json by default). GEMDEX_TRUST_RANKING=true enables outcome-weighted title ranking; otherwise ranking is relevance-only.

Local saves include an advisory when existing memories are similar, using already-computed vectors and centroid similarity (default threshold 0.93). The advisory does not block the save. Configure it with GEMDEX_SIMILAR_ON_SAVE and GEMDEX_SIMILAR_THRESHOLD.

Attachments

Local memories can carry images (PNG, JPEG, WebP, GIF), audio (WAV, MP3, M4A, FLAC, AAC, AIFF; up to 5 minutes) and video (MP4, MOV, M4V, WebM). EmbeddingGemma 2 embeds each file on-device into the same space as text, so the memory is found by what the image shows or the recording says. Recall also takes example files: "is there anything in memory about this screenshot?" works with or without a text query. Captions are optional; they add keyword matching and help most for audio. Text files (.txt, .json, .jsonl/.ndjson) are stored as non-embedded blobs. Per memory: 8 images, 4 audio files, 2 videos and 4 text files, 100 MiB each. PDFs are not supported locally. Use a local path or inline base64 data + mimeType; every attachment is readable through read_attachment.

The self-hosted server supports Gemini multimodal embedding and media recall through /v1. HTTP MCP attachment inputs are inline base64 only, never client filesystem paths. See the /v1 contract.

Chat history and memory hygiene

Local digestion and hygiene use your existing Claude Code login. Install Claude Code and run claude auth login, then:

npx gemdex-mcp status

npx gemdex-mcp ingest-history --source claude --dry-run npx gemdex-mcp ingest-history --source claude

Sources include Claude Code, Factory CLI, Codex, Antigravity, or a folder path. Only never-before-ingested sessions are processed. Each produces a digest memory and a cleaned transcript attachment. backfill-transcripts attaches files referenced by older digest footers, with --dry-run and --force options; missing files are skipped with a message.

Inference runs as isolated claude -p --model haiku structured-JSON calls: no tools, settings, skills, MCP servers, hooks, CLAUDE.md, or session persistence, and a temporary working directory. Concurrency is four, with at most three total attempts and a five-minute timeout per call.

Cost estimates are Haiku API list-price equivalents ($1 input / $5 output per million tokens). With a Claude subscription, usage counts against plan limits, not a per-token bill. Local embeddings stay on-device, but ingestion transcripts and hygiene candidates go through Claude Code inference.

Hygiene first clusters local vectors, then judges candidates with Claude Code. Deleting findings requires human approval. Self-hosted uploads instead use the server's Gemini digestion. See chat-history paths.

The desktop app

The native macOS app manages the local pool: browse, search (by text or by file), and edit memories, attach and preview images, audio and video, ingest chat history, and review hygiene findings. It talks to gemdex serve, which binds only 127.0.0.1 and uses a per-launch token. Its contract exposes explicit MLX install/migration jobs and Claude Code readiness. Memory routes return 503 {needsInstall:true} until installation; ingestion/hygiene start requires Claude Code readiness. See the sidecar contract.

The web manager is the primary human surface for self-hosted deployments. The desktop app is not a client for that pool.

Self-host the whole stack (one command)

curl -fsSL https://raw.githubusercontent.com/nikships/gemdex/main/scripts/install.sh | bash

The installer starts Postgres, gemdex-server, HTTP MCP and the web manager, generates secrets, waits for migrations, verifies a real save and recall, and prints Streamable HTTP client configuration. It asks for a Google AI Studio key, or reads GEMINI_API_KEY. This key belongs to the server, not the agent client.

The default is loopback-only. --lan exposes MCP and web to your trusted LAN with static MCP auth and login-free web access. For public access, use HTTPS, Google OAuth, and the deployment guide. Never publish Postgres or /v1.

{

"mcpServers": { "gemdex": { "type": "http", "url": "https://gemdex.example.com/mcp" } } }

This example targets a Google OAuth deployment; the client handles login.

GuidePurpose
Self-host deployCompose, Google OAuth, HTTPS edge and exposure checks
OperationsStorage, backup/restore, upgrades and troubleshooting
Go furtherDNS, managed platforms, sizing and costs
SecurityEnforced boundaries and pre-launch checklist
Chat historyLocal ingestion, web upload and OAuth record import

Packages and library use

PackageResponsibility
coreMemoryStore, embedding providers, shared HTTP router and inference
mcpLocal stdio tools, CLI and desktop sidecar
serverBYOI /v1, Postgres/pgvector, Gemini and file/S3 blobs
mcp-httpSix-tool Streamable HTTP agent surface
webBrowser manager and session-upload BFF
appNative local manager

To use the engine directly, see the core library example. Local environment settings are in the MCP README; self-hosted settings are in the server README.

Privacy & safety

Memory text and attachment bytes are plaintext unless you add your own storage controls. Gemdex provides no secret redaction or hosted custody service. Local embeddings run on-device; local ingestion and hygiene send selected content through Claude Code using your account. The self-hosted server sends embedding payloads and uploaded-session digestion to Gemini using its key. See custody and self-host security.

Build from source

From a clone with Node ≥24 and pnpm ≥10:

pnpm install

pnpm build

The local MCP entry point is packages/mcp/dist/index.js. See CONTRIBUTING.md for checks and development guidance.

License

MIT. See LICENSE.

MCP Registry

mcp-name: io.github.nikships/gemdex

问 PopNx