ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Gemdex

โดย nikshipsรุ่น 1.0.47i★ –iรันบนเครื่อง
ชื่อใน registryio.github.nikships/gemdex

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: 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": "ใส่ค่าของคุณ",
        "GEMDEX_MODE": "ใส่ค่าของคุณ",
        "LANCEDB_PATH": "ใส่ค่าของคุณ",
        "EMBEDDING_MODEL": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_URL": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_TOKEN": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_NAME": "ใส่ค่าของคุณ",
        "GEMDEX_TRUST_RANKING": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add gemdex --env GEMINI_API_KEY='ใส่ค่าของคุณ' --env GEMDEX_MODE='ใส่ค่าของคุณ' --env LANCEDB_PATH='ใส่ค่าของคุณ' --env EMBEDDING_MODEL='ใส่ค่าของคุณ' --env GEMDEX_REMOTE_URL='ใส่ค่าของคุณ' --env GEMDEX_REMOTE_TOKEN='ใส่ค่าของคุณ' --env GEMDEX_REMOTE_NAME='ใส่ค่าของคุณ' --env GEMDEX_TRUST_RANKING='ใส่ค่าของคุณ' -- npx -y gemdex-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "gemdex": {
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "ใส่ค่าของคุณ",
        "GEMDEX_MODE": "ใส่ค่าของคุณ",
        "LANCEDB_PATH": "ใส่ค่าของคุณ",
        "EMBEDDING_MODEL": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_URL": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_TOKEN": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_NAME": "ใส่ค่าของคุณ",
        "GEMDEX_TRUST_RANKING": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "gemdex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gemdex-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "ใส่ค่าของคุณ",
        "GEMDEX_MODE": "ใส่ค่าของคุณ",
        "LANCEDB_PATH": "ใส่ค่าของคุณ",
        "EMBEDDING_MODEL": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_URL": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_TOKEN": "ใส่ค่าของคุณ",
        "GEMDEX_REMOTE_NAME": "ใส่ค่าของคุณ",
        "GEMDEX_TRUST_RANKING": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • 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

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub nikships ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7258 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 47% ของอีก 7258 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7258 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Gemdex ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: GEMINI_API_KEY, GEMDEX_REMOTE_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.47) เข้า registry เดือนที่แล้ว

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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