delx-memory MCP Server
Local-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware, secret-safe
delx-memory scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 5 tools. Filed under Databases, AI and memory. GitHub shows 2 stars. Package registries report about 111 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "davidmosiah-delx-memory": { "command": "npx", "args": [ "-y", "delx-memory@0.2.3" ], "env": { "DELX_MEMORY_PATH": "", "DELX_MEMORY_TRANSPORT": "", "DELX_MEMORY_HOST": "", "DELX_MEMORY_PORT": "", "DELX_MEMORY_ALLOWED_ORIGIN": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
DELX_MEMORY_PATH | Optional | Optional path to the SQLite store. Defaults to ~/.delx-memory/db.sqlite. |
DELX_MEMORY_TRANSPORT | Optional | Optional transport: stdio (default) or http. |
DELX_MEMORY_HOST | Optional | HTTP host when transport=http. Defaults to 127.0.0.1. |
DELX_MEMORY_PORT | Optional | HTTP port when transport=http. Defaults to 3030. |
DELX_MEMORY_ALLOWED_ORIGIN | Optional | CORS allow-origin when transport=http. Defaults to http://HOST:PORT. |
Tools5Tool docs quality grade D
All capabilitiesMachine install/ops contract for agents.
memory_exporttoolDump JSON / JSONL / Markdown.
memory_handofftoolOne-call resume brief: stats + recent keys (optional values). Prefer this at session start.
memory_listtoolKeys only; filters: prefix, tag, since (delta sync).
memory_searchtoolFTS5 bm25 (+ LIKE fallback). See search quickstart.
About
delx-memory
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.
Why
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.
- 15 tools — discovery + handoff + batch ops + FTS5 search + mutations gated by intent.
- SQLite at
~/.delx-memory/db.sqlite(0700 dir, 0600 file). - Secret-blocking: refuses to store credential-shaped keys or values.
- TTL support (lazy expiry on read).
- Tags + prefix filters + FTS5 full-text search (bm25 ranking, stemming, diacritic folding; LIKE fallback if FTS5 is unavailable).
- Mutations require
explicit_user_intent: trueso over-eager agents can't silently rewrite your context. - Zero telemetry. Zero phone-home. The file is yours.
Multi-agent namespaces
# Agent A
DELX_MEMORY_NAMESPACE=claude npx -y delx-memory
# Agent B (same machine, isolated keys)
DELX_MEMORY_NAMESPACE=cursor npx -y delx-memory
Keys are stored as namespace::key. Omit the env var for a single global store (default).
Footprint / lightweight mode
- Default transport is
lite: tools-only MCP over stdio without loading the MCP SDK (biggest RSS win for always-on agents). - Full SDK surface (prompts + resources):
delx-memory --sdkorDELX_MEMORY_TRANSPORT=sdk. - Optional HTTP:
delx-memory --http(Express + SDK; still loopback by default). DELX_MEMORY_LEAN=1applies to the SDK path only (skip prompts/resources).doctor --jsonreportsrss_kb. Dominant remaining cost is Node + nativebetter-sqlite3(no embeddings).
Community measurements (custom transport vs SDK) pointed at the SDK tree as the main overhead — see issue #7.
Install + run
# Run once (npx will download + boot)
npx -y delx-memory doctor
# Or install globally
npm install -g delx-memory
delx-memory doctor
The doctor command checks Node version, DB writability, and file permissions, then prints next steps.
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
npx -y delx-memory --http
# GET http://127.0.0.1:3030/health
# POST http://127.0.0.1:3030/mcp (sessionless)
Env: DELX_MEMORY_HOST, DELX_MEMORY_PORT, DELX_MEMORY_TRANSPORT=http.
Wire it into your MCP client
Claude Desktop
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.
Cursor
Add to ~/.cursor/mcp.json. See examples/cursor.json.
Hermes
See examples/hermes.md.
OpenClaw
See examples/openclaw.md.
Codex CLI
See examples/codex.toml.
What makes it different (honest)
| 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.
Tools (15)
Session start
| 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. |
Reads
| 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. |
Mutations (require 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.
Privacy contract (read this)
delx-memory is NOT a secrets manager. Use macOS Keychain / gnome-keyring / Windows Credential Manager for those.
What we refuse to store:
- Keys matching:
oauth,token,secret,password,cookie,refresh,api_key,api-key,apikey,bearer,credential,session_id(case-insensitive). - Values matching credential shapes:
- JWT tokens (
eyJ…) Bearer <token>headers- Stripe
sk_live_…/sk_test_… - Slack
xoxb-…/xoxp-…/ etc. - GitHub
github_pat_…/ghp_…/gho_…/ghs_…/ghr_… - OpenAI / Anthropic
sk-…(with realistic length) - AWS access keys
AKIA… Authorization: <scheme> <token>strings
- JWT tokens (
- Nested objects are walked recursively — a nested field named
refresh_token(even with an empty value) is rejected.
What stays local:
- The DB file lives at
~/.delx-memory/db.sqlite. - Directory is created with mode
0700; file with mode0600. (Best effort on Windows / WSL / non-POSIX filesystems.) - Nothing is uploaded. No telemetry. No phone-home.
What we do NOT promise:
- Other users of the same machine (root, your
sudo-using housemate) can read the file. Use full-disk encryption (FileVault, BitLocker, LUKS) if that matters. - TTL is best-effort. Expired rows are deleted lazily on next read; SQLite doesn't
VACUUMautomatically, so freed pages may sit on disk. For sensitive ephemera, treat the DB file like any other unencrypted dotfile. - No durability promise. Back up
~/.delx-memory/db.sqlitelike any other dotfile if you care about losing it.
Example session
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", … }
# … new chat, possibly different tool …
agent> memory_list({ tag: "preferences" })
→ [{ key: "user_preferences", updated_at: … }]
agent> memory_get({ key: "user_preferences" })
→ { found: true, value: { language: "pt-BR", verbosity: "concise" } }
Storage layout
| 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 |
CLI
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
Environment
| 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 |
Development
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.
License
MIT © 2026 David Batista. Code of Conduct.
Skill or MCP
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.
Frequently asked questions
What is delx-memory MCP Server?
Local-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware, secret-safe
How do I install delx-memory MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. delx-memory MCP Server runs locally from the npm package delx-memory with the command npx -y delx-memory@0.2.3.
Is delx-memory MCP Server free and open source?
Yes. delx-memory MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does delx-memory MCP Server support remote (HTTP) connections?
No remote endpoint is listed for delx-memory MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does delx-memory MCP Server provide?
delx-memory MCP Server provides 5 tools, including memory_agent_manifest, memory_export, memory_handoff, and memory_list. See the full tool list for descriptions and parameters.
How is delx-memory MCP Server's trust score calculated?
delx-memory MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
