Your AI memory, owned by you: one private, local vault for ChatGPT, Claude, Gemini, Claude Code, Codex, Cursor and any MCP client
pip install memty==0.2.1 Copy PIP instructions
Memty keeps the facts, decisions and preferences you share with AI in one SQLite file on your own computer. It brings that memory to ChatGPT, Claude, Gemini, Perplexity, Claude Code, Codex, Cursor, VS Code, Windsurf and any MCP client, so you stop repeating yourself every time you open a new chat or switch assistants.
Alpha (0.x). The vault's storage format is stable and covered by tests. Commands and options may still change between versions.
You need Python 3.10 or newer on Windows, macOS or Linux.
pip install memty memty serve --autostart # 1. start the local bridge now and at every login (one time) memty extension --open # 2. install the browser extension folder and open it memty connect # 3. optional: connect Claude Code, Codex, Cursor, VS Code and others Load the extension once:
It pairs itself with Memty, so there's no token to copy.
Windows: is memty "not recognized"? Use py -m memty in place of memty, for example py -m pip install --upgrade memty and then py -m memty extension.
[Memty context] 1. Database: PostgreSQL 16 on Neon 2. Deploy target: Fly.io 3. Client: [private] [/Memty] From the terminal:
memty remember work.project editor "VS Code" memty recall "Which editor do I use?" --namespace work.project memty clip work.project # copy your facts for any AI app How it works Atomic facts. Memory is stored as small namespace.slot = value facts of at most 40 tokens, for example work.project.editor = "VS Code". Updating a slot keeps its history. Namespaces such as work.project and personal keep contexts apart. A chat only gets the namespace you choose. One daemon, every tool. The browser bridge, every MCP client and the CLI all go through one local process (memtyd) for your vault. A fact you save in ChatGPT is available in Claude Code a moment later. The compiler builds a small capsule for each request, newest facts first or the most relevant ones for a question, always under a hard token budget. The privacy gate checks every capsule before anything is shown to an AI: Level Cloud assistants see Example PUBLIC The value Editor: VS Code INTERNAL Nothing (only local or trusted models do) (left out) CONFIDENTIAL A placeholder Client: [private] SECRET Nothing: the request is refused and a local model is suggested request refused Security and privacy The browser bridge runs only on 127.0.0.1, so it's built so that websites can't read your vault:
Test it yourself. The repository has 61 adversarial tests that attack each of these promises. See Security testing. To report a vulnerability, see the security policy.
The vault file itself is not encrypted; it relies on your computer account's protection. Keep it out of synced folders such as OneDrive or Dropbox unless you want it uploaded.
memty connect --dry-run # show the plan without changing anything memty connect # connect every detected client memty connect --client Cursor # only one client (repeatable) Memty never edits another app's settings file itself. Each change goes through the app's own installer, or you get the exact steps:
Restart each client afterwards. The MCP server offers three tools:
MCP clients are treated as cloud providers, so the privacy gate applies. Clients don't load memory on their own: ask the assistant to call memty_sync, or add that instruction to the client's agent settings.
memty scan # save 10-20 facts about a code project from its manifests (0 LLM tokens) memty inbox # facts your agents proposed memty approve 1 # accept one (memty reject 1 discards it) memty report # capsules served, facts reused, tokens saved, secrets protected memty scan (or memty init) reads pyproject.toml, package.json, Cargo.toml, Dockerfile and .env.example at the project root. It makes no model or network calls, takes only key names from env templates, and never opens a real .env.
from memty import open_ledger, LocalRoutingRequired vault = open_ledger() # ~/.memty/ledger.sqlite3 vault.record("work.project", "editor", "VS Code", verification_state="USER_CONFIRMED") vault.record("work.project", "client", "Acme Corp", sensitivity="CONFIDENTIAL") capsule = vault.context("Which editor do I use?", provider="claude", namespace="work.project") print(capsule["text"]) # the client appears only as a placeholder vault.record("work.project", "db_password", "hunter2", sensitivity="SECRET") try: vault.context("database password", provider="claude", namespace="work.project") except LocalRoutingRequired as refused: print(refused.as_dict()) # suggests a local model; never contains the secret Local providers (local, ollama, local_ollama, memty_local) see every value. Cloud providers go through the privacy gate.
memty serve --no-autostart # stop the bridge and remove the login item pip uninstall memty Remove the extension in chrome://extensions. Your vault stays in ~/.memty/ until you delete that folder.
memty ai-memory portable-memory local-first privacy mcp model-context-protocol llm chatgpt claude gemini perplexity browser-extension sqlite
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




