Skip to main content

Local-first, MCP-native unified memory vault โ€” your AI memory as files you own, shared across every model.

Project description

๐Ÿ˜ EleSync

A local memory vault that every AI can read and write to over MCP. One folder of markdown files on your machine. Claude, ChatGPT, Gemini, and any other MCP-aware client share it live โ€” no service, no API key, no cloud.

pip install elesync
ele onboard

Install ยท Why local-first ยท Compared to other memory tools ยท Architecture ยท Privacy


The 60-second pitch

Every AI you talk to has its own siloed memory. Claude doesn't know what you told ChatGPT. ChatGPT doesn't know your Gemini context. You repeat yourself constantly.

EleSync turns that around: the vault is yours, on your disk, and every model is a client of it. It speaks the Model Context Protocol. Claude Desktop, Cursor, Cline, and Continue connect over stdio with zero setup. ChatGPT's Developer Mode connector needs a remote transport (Streamable HTTP) instead of stdio -- EleSync supports that too, tunneled or deployed. Tested live: ChatGPT reading and writing to the same vault Claude uses, over a tunnel, today.

The vault itself is just a directory of markdown files with YAML frontmatter, an SQLite FTS5 index, and (optionally) ONNX embeddings for semantic recall. No server. No daemon. No account. You can cat your memories. You can git push them. You can encrypt the whole vault and carry it on a USB stick.


How it works

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Claude    โ”‚    โ”‚   ChatGPT   โ”‚    โ”‚ MCP client  โ”‚
โ”‚   Desktop   โ”‚    โ”‚  (MCP)      โ”‚    โ”‚ (Cursorโ€ฆ)   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜
       โ”‚                  โ”‚                  โ”‚
       โ”‚  MCP over stdio  โ”‚  MCP over stdio  โ”‚  MCP over stdio
       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                  โ–ผ                  โ–ผ
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚    ele serve                 โ”‚
          โ”‚  (MCP server, ~600 LOC)      โ”‚
          โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                         โ–ผ
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
          โ”‚   ~/EleSyncVault/            โ”‚
          โ”‚   โ”œโ”€โ”€ notes/ *.md   (truth)  โ”‚
          โ”‚   โ”œโ”€โ”€ index.sqlite  (FTS5)   โ”‚
          โ”‚   โ””โ”€โ”€ vectors/ *.npy (opt.)  โ”‚
          โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

The markdown files are the source of truth. The SQLite index is a derived cache rebuilt from them on demand (ele sync). If the index is ever corrupt, delete it โ€” ele rebuilds from the markdown.


Try it in under two minutes

pip install elesync
ele onboard           # interactive: pick a vault path, wire up Claude Desktop
ele remember "I'm a Rust developer; prefer concise code reviews without preamble"
ele recall "what languages do I use"
# > I'm a Rust developer; prefer concise code reviews without preamble  (claude ยท fact ยท 2026-06-25)

Restart Claude Desktop. Ask Claude: "What do you remember about me?" โ€” it'll see what you just stored.

For the non-CLI flow (web UI, drag-and-drop import, no terminal):

ele web

โ€ฆopens a local dashboard at 127.0.0.1:7477.


How it compares (mid-2026 landscape)

The "AI memory" space has split into two camps. Developer infrastructure for building agents (mem0, Letta, Zep, Graphiti, LangMem) is one thing. A memory vault you own, that the AIs you already use plug into, is a different thing. EleSync is the second.

EleSync OpenMemory MCP mem0 Letta Zep / Graphiti
Storage Plain markdown + SQLite mem0 backend Their DB Their DB Postgres + KG
What it stores Your memories Your memories Memories for your agents Tiered memory for agents Temporal KG
Who it's for You You Agent builders Agent builders Agent builders
Setup pip install mem0 install SDK integration SDK integration Docker compose
Encryption at rest XSalsa20-Poly1305 + argon2id โ€“ โ€“ โ€“ โ€“
Portable USB vault โœ“ โ€“ โ€“ โ€“ โ€“
Files inspectable in $EDITOR โœ“ โœ— โœ— โœ— โœ—
Temporal validity windows โ€“ โ€“ โ€“ โ€“ โœ“
Knowledge graph extraction โ€“ โ€“ โ€“ โ€“ โœ“
Cross-AI provenance + conflict detection โœ“ โ€“ โ€“ โ€“ โ€“
Hosted option โ€“ (local-only) โœ“ โœ“ โœ“ โœ“

Where EleSync is genuinely behind: no temporal model (Zep/Graphiti win at "what was true when"), no automatic entity/relationship extraction, no semantic decay. These are deliberate scope choices โ€” files-on-disk is the constraint, and a knowledge graph in markdown stops looking like markdown fast.

Where it's genuinely ahead: you can grep your memory. You can git diff what changed last week. You can revoke your USB drive and your memory walks out the door with you, encrypted, readable on any machine with a Python install.


Install

Requires Python 3.10+.

pip install elesync                  # core: CLI + MCP server
pip install "elesync[semantic]"      # + ONNX embeddings (BAAI/bge-small-en, ~30MB download on first use)
pip install "elesync[encryption]"    # + at-rest encryption via libsodium
pip install "elesync[watch]"         # + auto-import from ~/Downloads
pip install "elesync[dev]"           # everything above

Or grab a standalone executable from Releases โ€” no Python required.

After install:

ele onboard          # interactive setup: vault path + MCP wiring for Claude Desktop
ele doctor           # verify everything is connected
ele doctor --fix     # repair fixable issues (e.g. stale/missing MCP wiring), then re-check

ele onboard writes the MCP server entry into claude_desktop_config.json (or the equivalent for other clients). It backs up the existing config first. Re-running is idempotent.


Use it with any MCP client

EleSync exposes itself as a standard MCP server, over either of the two transports the MCP spec defines: stdio (local clients) or Streamable HTTP (remote clients).

Local clients (stdio) -- Claude Desktop, Cursor, Cline, Continue

Auto-wire for Claude Desktop:

ele onboard           # writes ~/.config/Claude/claude_desktop_config.json

Manual config for everything else:

{
  "mcpServers": {
    "elesync": {
      "command": "elesync",
      "args": [],
      "env": { "ELESYNC_VAULT": "/Users/you/EleSyncVault" }
    }
  }
}

Remote clients (Streamable HTTP) -- ChatGPT Developer Mode, and anything else off-machine

ChatGPT's MCP connector (Developer Mode, shipped Sept 2025) requires a remote transport -- it can't launch a local stdio process the way Claude Desktop does. EleSync's server can switch transports with a flag:

ele serve --transport http --port 8000 --allowed-host your-tunnel-host.example

--allowed-host is required for any non-localhost hostname -- the server keeps DNS-rebinding protection on by default (CVE-2025-66416 in the underlying MCP SDK) and only widens the allow-list to hosts you explicitly name, rather than disabling the check.

To reach it from outside your machine, put it behind a tunnel (quickest: ngrok) or a reverse proxy with TLS:

# terminal 1
ele serve --transport http --port 8000 --allowed-host xxxx.ngrok-free.dev

# terminal 2
ngrok http 8000

Then in ChatGPT: Settings -> Connectors -> Advanced -> Developer Mode -> Add custom connector, server URL https://xxxx.ngrok-free.dev/mcp. Verified working: recall and remember both round-trip correctly, including finding memories written earlier by Claude -- the actual point of EleSync.

For a permanent remote deployment (not just testing), put a real domain + TLS cert in front instead of a free ngrok tunnel, and add MCP-level auth (EleSync doesn't include its own auth layer -- treat the HTTP endpoint as unauthenticated and don't expose it without a reverse proxy that adds one).

Tools exposed via MCP

Tool What it does
recall Search the vault (BM25 + optional semantic)
remember Write a new memory
forget Delete a memory by ID
memory_status Counts, sources, last-modified
list_scopes Scope compartments this client can see, and how many memories each holds
find_conflicts Cluster contradictions across sources
audit_log Who read, wrote, or forgot what, and when (requires ELESYNC_AUDIT=1)

Importing existing memory from other AIs

The export landscape changed in 2026 โ€” most providers retreated from file-based memory exports to "ask the assistant for your memories" workflows. EleSync handles both shapes.

Source What works today Adapter
ChatGPT conversation export (Settings โ†’ Data Controls โ†’ Export Data) The ZIP contains conversations.json โ€” full chat history. ele import parses it. โœ“ verified
ChatGPT memory (the small set of explicit facts) No file export exists in 2026. Use the in-app copy-paste prompt and save the output as text. partial โ€” see SETUP.md
Claude memory Same copy-paste pattern as ChatGPT memory; no file export. partial
Gemini Via Google Takeout (export of conversation history, not memory). โœ“ verified
Grok / DeepSeek / Perplexity / Copilot Adapter built; export availability varies by region (Grok memory is EU-blocked). experimental
ele import ~/Downloads/conversations.json --source chatgpt
ele import ~/Downloads/takeout-gemini.zip  --source gemini
ele watch ~/Downloads        # auto-detects and imports as exports arrive

The conversations.json from a full ChatGPT export can be multiple gigabytes. EleSync streams it; you don't need to unzip the full archive.


Architecture

About 10,200 lines of Python, 448 tests. No third-party services. The dependencies you need:

Layer Dependency Why
Core CLI + MCP stdlib only Zero required deps
Semantic recall fastembed (ONNX) BAAI/bge-small-en, runs on CPU
Encryption pynacl libsodium bindings, XSalsa20-Poly1305
Auto-import watch watchdog File system events

ele serve boots an MCP server over stdio. ele web boots a local HTTP server (127.0.0.1 only) that exposes a JSON REST API and an embedded HTML/CSS/JS dashboard. The web UI has zero external dependencies โ€” no CDN, no analytics, no fonts loaded from third parties.

Provenance is first-class. Every memory carries source (claude, chatgpt, gemini, manual, โ€ฆ) and created_at. When two sources contradict each other, find_conflicts surfaces the cluster so you can decide which one is true.

Scoped sharing lets you give one MCP client a different view of the vault than another. Useful for keeping work memories away from a coding assistant, or hiding personal context from a client you don't fully trust.

# tag memories into compartments
ele scope --grant work,coding "preferred language: Rust"

# wire a second connection with restricted view
ele onboard --client cursor --grant coding-only

Encryption + USB portable vault

EleSync can encrypt the entire vault at rest. The encryption is real cryptography (libsodium's secretbox: XSalsa20-Poly1305 with Poly1305 MAC, keys derived via argon2id), not a base64 wrapper.

ele encrypt              # one-time: convert an existing vault to encrypted form
                         # passphrase is hashed with argon2id, never stored
ele serve                # prompts for passphrase, unlocks in memory only

The same vault format runs on a USB drive with a launcher script. Plug into any machine with Python, run RUN_ME.py, unlock with the passphrase, and Claude / ChatGPT on that machine talk to it:

ele usb install /Volumes/MY_DRIVE     # creates encrypted vault + launcher + README
ele usb attach   /Volumes/MY_DRIVE    # wires Claude Desktop on this machine
ele usb detach   /Volumes/MY_DRIVE    # cleanly unwires before unplug
ele usb status   /Volumes/MY_DRIVE    # what's on the drive?

Web UI

ele web launches a local dashboard for non-CLI users:

EleSync web UI dashboard

Browse, search, edit, import drag-and-drop, switch between vaults (including USB), add/delete memories. The UI is one HTML file with embedded JS โ€” no build step, no framework, no external dependencies.

Dark mode toggle (persists in localStorage). Keyboard shortcuts: / to search, N for new memory, ? for help, Esc to close panels, Ctrl+K for command palette. CSV export in addition to JSON. Mobile-responsive down to 375px with touch-friendly targets.

Self-hosted mode: ele web --host 0.0.0.0 binds to all interfaces for multi-device family/team use. A security warning is shown if you expose to the network without authentication.

By default there's no login โ€” it binds to 127.0.0.1 only, so it's as private as anything else running on your machine. If you want a login anyway (shared machine, or you're the cautious type), add a user and it turns on automatically:

ele web adduser alice              # prompts for a password, hashed with bcrypt
ele web adduser bob --role viewer  # read-only account โ€” can browse/search, can't add/edit/delete
ele web listusers
ele web removeuser bob             # remove the last user and login turns back off

Passwords are bcrypt-hashed, session tokens are stored as SHA-256 hashes (never plaintext) in <vault>/.web_auth/, and viewer accounts are enforced server-side, not just hidden in the UI โ€” a viewer session gets a real 403 on any write attempt, not just a greyed-out button. This is a local-first tool, not a hardened multi-tenant server: for anything exposed past 127.0.0.1, put a real reverse proxy with TLS in front of it.


Sync across devices

Because the vault is just files, you sync it however you sync files:

  • git โ€” git init your vault, push to GitHub/GitLab/Forgejo
  • Syncthing โ€” peer-to-peer, no cloud
  • iCloud / Dropbox / Drive โ€” works fine, just point your vault at the synced folder
  • Encrypted USB โ€” see above
# device A
cd ~/EleSyncVault && git add . && git commit -m "memories" && git push

# device B, after pulling
ele sync            # rebuilds the SQLite index from markdown

The SQLite index is gitignored by default. Only the markdown is the source of truth.


Privacy

  • Zero telemetry. EleSync never connects to the internet unless you tell it to (ele import of a URL, semantic model download on first use).
  • Zero accounts. There is no signup. There is no server.
  • Zero ads, zero tracking, zero data collection. Not "we don't do that yet". There is no business model that depends on your data.
  • The vault is yours. Delete it and EleSync forgets everything.

The semantic-recall extra downloads the BAAI/bge-small-en model from HuggingFace on first use (~30MB). After that, it runs entirely locally on CPU. You can skip the download by not installing [semantic].


Status

EleSync is at 1.10.3 (448 tests, ~10,200 LOC). The 1.x line will not break compatibility โ€” vault format, MCP tool names, and CLI commands are stable until a 2.0.

Roadmap

What's planned or in design โ€” contributions welcome on any of these:

  • Knowledge graph (design phase) โ€” lightweight entity/relation tagging where the calling AI supplies structured tags at remember() time. No local NLP model, no API calls. Design discussion โ†’
  • Temporal validity โ€” "this fact was true from X to Y." Closes the gap with Zep/Graphiti without over-engineering the file format.
  • Performance at scale โ€” profiling and optimization for vaults with 10K+ memories.

See CONTRIBUTING.md for how to get started. First-time contributors: look for issues tagged good first issue.


License

MIT. See LICENSE.


Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elesync-1.10.3.tar.gz (189.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elesync-1.10.3-py3-none-any.whl (134.2 kB view details)

Uploaded Python 3

File details

Details for the file elesync-1.10.3.tar.gz.

File metadata

  • Download URL: elesync-1.10.3.tar.gz
  • Upload date:
  • Size: 189.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for elesync-1.10.3.tar.gz
Algorithm Hash digest
SHA256 fb7e8441c1959cf7f8d2962645bd70c69709f4bdee8b56f1ed8108b002334366
MD5 c73c769d43d61386dcdc8caac6bbf4f5
BLAKE2b-256 63d264a62cf2aa1f9bc03d9dd8173db98062218f4c4272151d9aee5eb3cd31a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for elesync-1.10.3.tar.gz:

Publisher: release.yml on darknodebros/EleSync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file elesync-1.10.3-py3-none-any.whl.

File metadata

  • Download URL: elesync-1.10.3-py3-none-any.whl
  • Upload date:
  • Size: 134.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for elesync-1.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c1043ba40418120a8253e6b79efe4a2407d18f6b97096f45f803e295163fb27
MD5 2a7b72405852b743374702be98a995b0
BLAKE2b-256 bf000232aa34ff82b67cd728ad491f281c316ba94fe9bd7ab54af0082531df1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for elesync-1.10.3-py3-none-any.whl:

Publisher: release.yml on darknodebros/EleSync

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page