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

Your AI memory, as files you own. One vault. Every model.

CI License: MIT MCP

You use Claude, ChatGPT, and Gemini. Each one knows a different slice of you, and none of them share. EleSync is one local-first vault on your own disk that every AI plugs into over the Model Context Protocol โ€” so context you build in one AI is instantly available in all of them. Local-first. MCP-native. Yours.

No pasting context around. No static "memory chips." No switching apps. The AIs you already use connect to a vault you control.

Teach ChatGPT a fact  โ†’  it lands in your vault  โ†’  Claude already knows it.

This is a working seed (MVP), not a toy: the core has a passing 50-test suite and a CLI you can run today.


The one-sentence idea

EleSync is an MCP server sitting on top of a local-first file store.

Because MCP is now supported natively by OpenAI, Google and Anthropic, a single server makes one vault you own readable and writable by all of them โ€” live and bidirectionally.

Why this, when Anuma / Memory Forge exist?

The "unified memory layer" concept is validated (Anuma crossed ~60k users). The gap they leave open is the wedge here:

Anuma Memory Forge EleSync (this)
Open / inspectable โœ— closed app partial โœ“ your files, your code
MCP server โœ— none โœ— โœ“ core feature
Keep using Claude/ChatGPT/Gemini apps โœ— must switch in n/a โœ“ they connect to you
Live read + write back within app โœ— static file โœ“
Infrastructure crypto/wallet browser only โœ“ zero โ€” files + SQLite

"Eco-friendly and easy" = no server, no database to run, no crypto. Markdown + SQLite.

Architecture

  ChatGPT export โ”€โ”
  Claude export  โ”€โ”ค   adapters/normalize.py      โ”Œโ”€ notes/*.md   (source of truth, Obsidian-compatible)
  Gemini export  โ”€โ”ผโ”€โ–บ  โ†’ MemoryItem (schema) โ”€โ”€โ–บ  โ”‚
  manual notes   โ”€โ”˜                               โ””โ”€ index.db    (SQLite + FTS5 full-text search)
                                                         โ”‚
                                                         โ–ผ
                                              mcp_server.py  (the connector)
                                                         โ”‚
                       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                   Claude Desktop                     ChatGPT                            Gemini / any MCP client
                   recall / remember / forget / memory_status
  • elesync/models.py โ€” the normalized MemoryItem schema every source maps into.
  • elesync/store.py โ€” local-first store: markdown files + SQLite FTS index, with content-hash dedup (re-importing is idempotent).
  • elesync/normalize.py โ€” tolerant ingest adapters that sniff each provider's export shape.
  • elesync/mcp_server.py โ€” exposes the vault over MCP (recall, remember, forget, memory_status).
  • elesync/cli.py โ€” import, search, add, stats, reindex, embed, export, serve.
  • elesync/embeddings.py โ€” optional semantic recall: vectors stored alongside the SQLite index, brute-force cosine, hybrid keyword+vector ranking. Degrades to keyword-only.

Install

No prior setup knowledge needed โ€” five steps, ~5 minutes. Works on macOS, Windows, and Linux.

You need: Python 3.10 or newer. To use EleSync as a live connector you also need a desktop AI app that speaks MCP โ€” e.g. Claude Desktop.

Shortcut (once it's on PyPI): pip install elesync (add "elesync[mcp]" for the connector), then jump to step 4. Until the first PyPI release lands, use the from-source steps below.

1 ยท Check you have Python 3.10+

python --version

If that prints 2.x or "command not found", try python3 --version. Still nothing? Install it from python.org/downloads โ€” on Windows, tick "Add Python to PATH" in the installer.

2 ยท Download EleSync

With git:

git clone https://github.com/darknodebros/EleSync.git
cd EleSync

No git? On the repo page, click the green Code button โ†’ Download ZIP, unzip it, then open a terminal inside the unzipped folder.

3 ยท Install it

pip install -e ".[mcp]"

If pip isn't found: Windows โ†’ py -m pip install -e ".[mcp]"; macOS/Linux โ†’ python3 -m pip install -e ".[mcp]".

This adds the ele command. Confirm it worked:

ele --version          # โ†’ EleSync 0.1.0

4 ยท Connect it to Claude โ€” one command

ele onboard

This creates your vault (default: ~/EleSyncVault) and writes the EleSync entry into your Claude Desktop config automatically โ€” it finds the right file on macOS/Windows/Linux and backs up any existing config first. Then fully quit and reopen Claude Desktop.

5 ยท Verify

ele doctor             # checks Python, vault, search, MCP SDK, and the Claude wiring

Then ask Claude: "What do you remember about me?" โ€” that's your live confirmation. ๐ŸŽ‰

Prefer to wire Claude by hand?

ele onboard --print-only prints the exact block to paste into your Claude Desktop config file:

{
  "mcpServers": {
    "elesync": {
      "command": "python",
      "args": ["-m", "elesync.mcp_server"],
      "env": { "ELESYNC_DIR": "/path/to/your/EleSyncVault" }
    }
  }
}

Everyday use

Import what your AIs already exported, then search across all of them at once:

ele import ~/Downloads/chatgpt_memory.json --source chatgpt
ele import ~/Downloads/claude_export.json   --source claude

ele search "project notes"
ele add "Prefers direct, no-fluff answers" --type preference
ele stats

ele export vault-backup.json   # back up / move your whole vault
ele reindex                    # rebuild the search index from notes/*.md

The file paths above are just examples โ€” point them at wherever your export files are. EleSync keeps its vault at ~/EleSyncVault; to use a different folder set ELESYNC_DIR (macOS/Linux: export ELESYNC_DIR=~/my-vault ยท Windows PowerShell: $env:ELESYNC_DIR="C:\path\to\my-vault").

Now Claude can recall your full cross-AI context at the start of any chat and remember new durable facts back into the same vault that ChatGPT and Gemini read from.

Semantic recall (optional)

By default, search is keyword-based (SQLite FTS) โ€” no dependencies, no model. Install the optional extra to also match on meaning, so recall finds the right memory even when the wording differs:

pip install "elesync[semantic]"     # adds a small local ONNX model (no PyTorch, no cloud)
ele embed                            # embed existing memories (first run downloads the model)
ele --semantic search "where do they live"   # โ†’ surfaces "Based in Westbrook"

Vectors are stored as float32 blobs in the same SQLite index โ€” no new datastore โ€” and ranking fuses keyword + vector hits (Reciprocal Rank Fusion), so exact matches stay strong while semantically-close memories surface too. Set ELESYNC_SEMANTIC=1 to make it the default (the MCP server picks this up too). Without the extra, everything works exactly as before.

Troubleshooting

First move for anything weird: run ele doctor โ€” it checks your Python version, the vault, search, the MCP SDK, and the Claude wiring, and tells you exactly what's wrong.

ele: command not found (or 'ele' is not recognized)

The install put the ele launcher in a folder that isn't on your PATH (pip usually prints a "Scripts installed in 'โ€ฆ' which is not on PATH" warning).

  • Quickest workaround โ€” run it as a module instead: python -m elesync.cli --version (works for every command: python -m elesync.cli onboard, etc.).
  • Proper fix โ€” add the folder pip mentioned to your PATH, or use a virtual environment (recommended), which puts ele on PATH automatically while active:
    python -m venv .venv
    # macOS/Linux:           source .venv/bin/activate
    # Windows (PowerShell):  .venv\Scripts\Activate.ps1
    pip install -e ".[mcp]"
    
pip: command not found

Use Python's bundled pip: Windows โ†’ py -m pip โ€ฆ; macOS/Linux โ†’ python3 -m pip โ€ฆ.

Wrong / too-old Python, or several Pythons installed

EleSync needs 3.10+. Check with ele doctor (or python --version). On Windows you can pick a specific version: py -3.12 -m pip install -e ".[mcp]".

Claude doesn't seem to know anything / EleSync isn't showing up
  1. Fully quit Claude Desktop โ€” quit the app (Cmd/Ctrl+Q, or quit from the menu-bar/tray icon), not just close the window โ€” then reopen it. MCP servers are only picked up at launch.
  2. Run ele doctor โ€” confirm the line "Claude Desktop config wired" says PASS (it shows which file). If it says WARN, run ele onboard.
  3. Make sure the MCP SDK is installed: pip install "mcp[cli]".
ModuleNotFoundError: No module named 'mcp' when serving

The MCP SDK isn't installed (it's optional and only needed to serve). Install it: pip install "mcp[cli]" โ€” or reinstall EleSync with the extra: pip install -e ".[mcp]".

Semantic search isn't matching on meaning

Semantic recall is an optional extra. Install it and embed your memories:

pip install "elesync[semantic]"
ele embed                 # first run downloads a small model (one time)
ele --semantic search "โ€ฆ"

Still stuck? Open an issue with the output of ele doctor and we'll help.

Tests

python -m unittest discover -s tests -v   # 50 tests, stdlib only โ€” no MCP SDK required

Where the export files come from (2026 reality)

All three majors shipped memory export in March 2026 (GDPR Article 20 + competition), but the formats are uneven and there's no clean memory API โ€” so the adapters normalize the mess:

  • ChatGPT โ€” JSON of stored facts/preferences
  • Claude โ€” structured memory export from claude.ai
  • Gemini โ€” via Google Takeout (ZIP)
  • Grok โ€” xAI memory/personalization export ({"grok_memories": [...]})
  • DeepSeek โ€” memory export ({"deepseek_memories": [...]})

EU/EEA availability of the in-app import tools is restricted; importing your own export file into your own vault sidesteps that entirely.

Roadmap (the honest next 20%)

  1. Semantic recall โ€” โœ… landed (optional [semantic] extra: local ONNX embeddings, hybrid keyword+vector ranking โ€” see above). Next: semantic dedup (near-duplicate detection), and pgvector/sqlite-vec if a vault ever outgrows brute-force cosine.
  2. Encryption at rest โ€” age/libsodium per-file encryption; keep markdown plaintext optional for the privacy-conscious vs. Obsidian-readable tradeoff.
  3. Sync โ€” it's just files: git, iCloud, Syncthing, or Drive. No server to build. After syncing the notes to another machine, ele reindex rebuilds the search index from the markdown so the vault and its index agree again.
  4. Scoped sharing โ€” per-client memory scopes (let Claude see writing style without exposing legal/health context), the way Anuma gates by category.
  5. Provenance & conflict resolution โ€” when two AIs assert contradictory facts, surface it instead of silently picking one.
  6. More adapters โ€” Grok and DeepSeek have landed; Manus is next (note: Manus is an autonomous agent, not a chat-with-memory product โ€” confirm it exposes an exportable memory before building the adapter). Each new source is a ~40-line file in normalize.py; the launch does not depend on any of them beyond the core three.

License

MIT โ€” see LICENSE for details.

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-0.1.0.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

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

elesync-0.1.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for elesync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 388f1e47f4c21a560134681d23e56295de8887f3cf20ab5787cd501de34b5d68
MD5 bbe20f0c9e4cffd500ddcd699a8b8863
BLAKE2b-256 a966226315f5243a2d825e54eaeea93eac3d287412b40a91a80fdfc7f6049a94

See more details on using hashes here.

Provenance

The following attestation bundles were made for elesync-0.1.0.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-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for elesync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ddb502c2d16e8fad6fdfb5b7fc0b90c383f9c8877598809f5698c1c601c0d73
MD5 099816f8d4724fb73fd55e50426d4a25
BLAKE2b-256 47fb0be8cc2511185e84e40d9f713c65cd2b3d498111d70d7b8d71e759d7d6ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for elesync-0.1.0-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