Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware, secret-safe
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
DELX_MEMORY_PATH, DELX_MEMORY_TRANSPORT, DELX_MEMORY_HOST, DELX_MEMORY_PORT, DELX_MEMORY_ALLOWED_ORIGINต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"delx-memory": {
"command": "npx",
"args": [
"-y",
"delx-memory"
],
"env": {
"DELX_MEMORY_PATH": "ใส่ค่าของคุณ",
"DELX_MEMORY_TRANSPORT": "ใส่ค่าของคุณ",
"DELX_MEMORY_HOST": "ใส่ค่าของคุณ",
"DELX_MEMORY_PORT": "ใส่ค่าของคุณ",
"DELX_MEMORY_ALLOWED_ORIGIN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add delx-memory --env DELX_MEMORY_PATH='ใส่ค่าของคุณ' --env DELX_MEMORY_TRANSPORT='ใส่ค่าของคุณ' --env DELX_MEMORY_HOST='ใส่ค่าของคุณ' --env DELX_MEMORY_PORT='ใส่ค่าของคุณ' --env DELX_MEMORY_ALLOWED_ORIGIN='ใส่ค่าของคุณ' -- npx -y delx-memoryเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"delx-memory": {
"command": "npx",
"args": [
"-y",
"delx-memory"
],
"env": {
"DELX_MEMORY_PATH": "ใส่ค่าของคุณ",
"DELX_MEMORY_TRANSPORT": "ใส่ค่าของคุณ",
"DELX_MEMORY_HOST": "ใส่ค่าของคุณ",
"DELX_MEMORY_PORT": "ใส่ค่าของคุณ",
"DELX_MEMORY_ALLOWED_ORIGIN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"delx-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"delx-memory"
],
"env": {
"DELX_MEMORY_PATH": "ใส่ค่าของคุณ",
"DELX_MEMORY_TRANSPORT": "ใส่ค่าของคุณ",
"DELX_MEMORY_HOST": "ใส่ค่าของคุณ",
"DELX_MEMORY_PORT": "ใส่ค่าของคุณ",
"DELX_MEMORY_ALLOWED_ORIGIN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
DELX_MEMORY_PATH envDELX_MEMORY_TRANSPORT envDELX_MEMORY_HOST envDELX_MEMORY_PORT envDELX_MEMORY_ALLOWED_ORIGIN envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub davidmosiah ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.3) เข้า registry 4 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Local-first persistent memory MCP server. One shared SQLite store any MCP-speaking agent (Claude Desktop, Cursor, Hermes, OpenClaw, Codex) can read and write — so context survives across sessions AND across tools.
Every chat client has its own ephemeral context. Quit the tab → preferences gone. Switch from Claude Desktop to Cursor → starting from scratch. Pin a side project in Hermes → invisible to the next agent.
delx-memory is a tiny MCP server that exposes a single shared SQLite file as a key/value memory layer. Any client that speaks MCP can read and write the same memory file → real continuity, real cross-tool context.
~/.delx-memory/db.sqlite (0700 dir, 0600 file).explicit_user_intent: true so over-eager agents can't silently rewrite your context.# Agent A
DELX_MEMORY_NAMESPACE=claude npx -y delx-memory
DELX_MEMORY_NAMESPACE=cursor npx -y delx-memory
Keys are stored as namespace::key. Omit the env var for a single global store (default).
delx-memory --sdk or DELX_MEMORY_TRANSPORT=sdk.delx-memory --http (Express + SDK; still loopback by default).DELX_MEMORY_LEAN=1 applies to the SDK path only (skip prompts/resources).doctor --json reports rss_kb. Dominant remaining cost is Node + native better-sqlite3 (no embeddings).Community measurements (custom transport vs SDK) pointed at the SDK tree as the main overhead — see issue #7.
# Run once (npx will download + boot)
npx -y delx-memory doctor
npm install -g delx-memory delx-memory doctor
The doctor command checks Node version, DB writability, and file permissions, then prints next steps.
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
npx -y delx-memory --http
Env: DELX_MEMORY_HOST, DELX_MEMORY_PORT, DELX_MEMORY_TRANSPORT=http.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": { "delx-memory": { "command": "npx", "args": ["-y", "delx-memory"] } } }
Then restart Claude Desktop. See examples/claude-desktop.json.
Add to ~/.cursor/mcp.json. See examples/cursor.json.
See examples/hermes.md.
See examples/openclaw.md.
See examples/codex.toml.
| delx-memory | Typical cloud memory | Graph memory MCP | |
|---|---|---|---|
| Data leaves your machine | No | Yes | Usually no |
| Multi-client same store | Yes (one SQLite) | Account-bound | Process-local |
| Agent mutation safety | `explicit_user_intent` | Varies | Rare |
| Secret storage | Hard-refused | Often allowed | Often allowed |
| Default RSS path | Lite (no MCP SDK) | N/A | Full stack |
| Multi-agent isolation | `DELX_MEMORY_NAMESPACE` | Tenants | Manual |
| Search | FTS5 bm25 | Embeddings (cost/leak) | Graph walk |
Not a vector DB. Not a second brain SaaS. Local continuity for agents that already have a model.
| Tool | Purpose |
|---|---|
memory_handoff | One-call resume brief: stats + recent keys (optional values). Prefer this at session start. |
memory_agent_manifest | Machine install/ops contract for agents. |
memory_connection_status / memory_stats | Readiness + store size. |
memory_capabilities / memory_data_inventory | Self-description for agents. |
| Tool | Purpose |
|---|---|
memory_list | Keys only; filters: prefix, tag, `since` (delta sync). |
memory_get / memory_get_many | Exact key or batch (max 50). |
memory_search | FTS5 bm25 (+ LIKE fallback). See search quickstart. |
explicit_user_intent: true)| Tool | Purpose |
|---|---|
memory_set / memory_set_batch | Upsert one key or up to 50 in one transaction. |
memory_forget / memory_forget_by_tag | Delete one key or by tag. |
memory_export | Dump JSON / JSONL / Markdown. |
Every mutation refuses to run unless the caller passes explicit_user_intent: true. The intent: an agent that decides on its own to update memory must show its work. The user can see the flag in the tool call and reject it if they didn't ask.
delx-memory is NOT a secrets manager. Use macOS Keychain / gnome-keyring / Windows Credential Manager for those.
What we refuse to store:
oauth, token, secret, password, cookie, refresh, api_key, api-key, apikey, bearer, credential, session_id (case-insensitive).eyJ…)Bearer headerssk_live_… / sk_test_…xoxb-… / xoxp-… / etc.github_pat_… / ghp_… / gho_… / ghs_… / ghr_…sk-… (with realistic length)AKIA…Authorization: stringsrefresh_token (even with an empty value) is rejected.What stays local:
~/.delx-memory/db.sqlite.0700; file with mode 0600. (Best effort on Windows / WSL / non-POSIX filesystems.)What we do NOT promise:
sudo-using housemate) can read the file. Use full-disk encryption (FileVault, BitLocker, LUKS) if that matters.VACUUM automatically, so freed pages may sit on disk. For sensitive ephemera, treat the DB file like any other unencrypted dotfile.~/.delx-memory/db.sqlite like any other dotfile if you care about losing it.agent> memory_stats({})
→ { total_keys: 0, db_path: "/Users/me/.delx-memory/db.sqlite", … }
user> Remember that I prefer concise responses in pt-BR.
agent> memory_set({ key: "user_preferences", value: { language: "pt-BR", verbosity: "concise" }, tags: ["profile", "preferences"], explicit_user_intent: true }) → { action: "created", key: "user_preferences", … }
agent> memory_list({ tag: "preferences" }) → [{ key: "user_preferences", updated_at: … }]
agent> memory_get({ key: "user_preferences" }) → { found: true, value: { language: "pt-BR", verbosity: "concise" } }
| Default path | ~/.delx-memory/db.sqlite |
| Override | DELX_MEMORY_PATH env var |
| Directory mode | 0700 |
| File mode | 0600 |
| Schema | memory(key PRIMARY KEY, value, created_at, updated_at, ttl_expires_at, tags, metadata) |
| Indexes | partial index on ttl_expires_at, plus tags, updated_at |
| Per-value cap | 64 KB (JSON-serialized) |
| Per-key cap | 512 chars |
delx-memory Start MCP stdio server
delx-memory --http Start local HTTP MCP server (127.0.0.1:3030) delx-memory setup Print MCP client config snippets delx-memory setup --json Print as JSON delx-memory doctor Health check + next steps delx-memory doctor --json Health check as JSON delx-memory version Print version
| Var | Default | Purpose |
|---|---|---|
DELX_MEMORY_PATH | ~/.delx-memory/db.sqlite | DB file location |
DELX_MEMORY_TRANSPORT | stdio | stdio or http |
DELX_MEMORY_HOST | 127.0.0.1 | HTTP host |
DELX_MEMORY_PORT | 3030 | HTTP port |
DELX_MEMORY_ALLOWED_ORIGIN | http://HOST:PORT | CORS origin |
git clone https://github.com/davidmosiah/delx-memory
cd delx-memory npm install npm test # typecheck + build + smoke + secret-detector + ttl + tag-delete + metadata
See AGENTS.md for repo conventions, SECURITY.md for the security model and reporting policy, and CONTRIBUTING.md for PR rules.
MIT © 2026 David Batista. Code of Conduct.
Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:
npx -y delx-memory call memory_connection_status --json '{}'
Copy skill/SKILL.md into your agent skills dir.