Persistent memory layer for AI coding agents: save, recall, update via Gemini plus LanceDB
registry version 1.0.47
npm
npx -y gemdex-mcpnpm
npx -y gemdex-mcp@1.0.47
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}{
"mcpServers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp@1.0.47"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env GEMINI_API_KEY=<YOUR_GEMINI_API_KEY> --env GEMDEX_REMOTE_TOKEN=<YOUR_GEMDEX_REMOTE_TOKEN> gemdex -- npx -y gemdex-mcp
claude mcp add --env GEMINI_API_KEY=<YOUR_GEMINI_API_KEY> --env GEMDEX_REMOTE_TOKEN=<YOUR_GEMDEX_REMOTE_TOKEN> gemdex -- npx -y gemdex-mcp@1.0.47
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}{
"mcpServers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp@1.0.47"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}{
"servers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp@1.0.47"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}{
"mcpServers": {
"gemdex": {
"command": "npx",
"args": [
"-y",
"gemdex-mcp@1.0.47"
],
"env": {
"GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>",
"GEMDEX_REMOTE_TOKEN": "<YOUR_GEMDEX_REMOTE_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
GEMINI_API_KEY required secret — 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 — Memory backend: embedded local LanceDB or a self-hosted Gemdex ServerLANCEDB_PATH — Directory for the embedded LanceDB storeEMBEDDING_MODEL — Gemini text embedding modelGEMDEX_REMOTE_URL — Gemdex Server root URL (required in remote mode)GEMDEX_REMOTE_TOKEN secret — Gemdex Server bearer token (required in remote mode)GEMDEX_REMOTE_NAME — Human-readable name for the remote serverGEMDEX_TRUST_RANKING — Re-rank recall results by recorded worked/failed/stale outcomes⭐ 5 stars · 最近更新于 31 天前 · MIT license
/ 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 match…
Summary from the project README — github.com/nikships/gemdex
Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.
/ 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 match
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/nikships/gemdex. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/gemdex/)
HTML
<a href="https://mcpnav.net/server/gemdex/"><img src="https://mcpnav.net/badge/gemdex.svg" alt="Listed on MCPNav" height="20"></a>